hardmultiple choiceObjective-mapped

A web app in a subnet must access a storage account through the storage account's public FQDN. Access must be limited to that single subnet, and the team does not want to deploy a private endpoint or manage private DNS records. Which configuration should you use?

Question 1hardmultiple choice
Full question →

A web app in a subnet must access a storage account through the storage account's public FQDN. Access must be limited to that single subnet, and the team does not want to deploy a private endpoint or manage private DNS records. Which configuration should you use?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Distractor review

Deploy a private endpoint and private DNS zone.

That would require private IPs and DNS management, which the requirement explicitly wants to avoid.

B

Best answer

Enable a service endpoint on the subnet and allow that subnet in the storage account network rules.

This keeps the public FQDN, restricts access to the subnet, and avoids private endpoint and DNS overhead.

C

Distractor review

Add a route table that sends storage traffic to an NVA.

Routing traffic through an appliance does not restrict the storage service to one subnet.

D

Distractor review

Place the storage account behind a public load balancer.

A storage account is not secured this way, and a load balancer does not provide subnet-scoped access control.

Common exam trap

Common exam trap: usable hosts are not the same as total addresses

Subnetting questions often tempt you into counting all addresses. In normal IPv4 subnets, the network and broadcast addresses are not usable host addresses.

Technical deep dive

How to think about this question

Subnetting questions test whether you can identify the network, broadcast address, usable range, mask and correct subnet. Slow down enough to calculate the block size correctly.

KKey Concepts to Remember

  • CIDR notation defines the prefix length.
  • Block size helps identify subnet boundaries.
  • Network and broadcast addresses are not usable hosts in normal IPv4 subnets.
  • The required host count determines the smallest suitable subnet.

TExam Day Tips

  • Write the block size before choosing the subnet.
  • Check whether the question asks for hosts, subnets or a specific address range.
  • Do not confuse /24, /25, /26 and /27 host counts.

Related practice questions

Related AZ-104 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this AZ-104 question test?

CIDR notation defines the prefix length.

What is the correct answer to this question?

The correct answer is: Enable a service endpoint on the subnet and allow that subnet in the storage account network rules. — A service endpoint is the best fit when you want to keep using the storage account's public FQDN but limit access to a specific subnet. It extends the subnet's identity to the Azure Storage service without creating a private IP or requiring private DNS management. After enabling the endpoint, you restrict the storage account's network rules so only the selected subnet can access it. Why others are wrong: A private endpoint would meet the access goal, but it introduces a private IP and DNS configuration that the scenario forbids. A route table does not enforce storage access control. A public load balancer is not a storage security mechanism. Service endpoints are the intended feature when public FQDN access must remain while narrowing access to a subnet.

What should I do if I get this AZ-104 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.