mediummultiple choiceObjective-mapped

A storage account must be reachable only from resources in a specific Azure subnet, and connections must not use the public endpoint. Which option should the administrator configure?

Question 1mediummultiple choice
Full question →

A storage account must be reachable only from resources in a specific Azure subnet, and connections must not use the public endpoint. Which option should the administrator configure?

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

A service endpoint on the subnet, because it keeps traffic on the Azure backbone.

Service endpoints still use the storage account's public endpoint and do not create a private IP address for the service.

B

Best answer

A private endpoint for the storage account in the subnet.

A private endpoint assigns the storage service a private IP address inside the selected virtual network subnet. Traffic then stays on private addressing instead of using the public endpoint, which is exactly what the requirement asks for. This also allows the administrator to restrict access to approved network locations while improving the security posture of the storage account.

C

Distractor review

A NAT gateway attached to the subnet.

A NAT gateway changes outbound internet addressing, but it does not provide private access to the storage account.

D

Distractor review

A storage firewall rule that allows all Azure services.

Allowing all Azure services is broader than the requirement and still uses the public endpoint model.

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: A private endpoint for the storage account in the subnet. — A private endpoint is the correct solution because it gives the storage account a private IP within the chosen subnet. That means clients in the VNet connect privately, and the public endpoint can be disabled or bypassed entirely for that access path. When the requirement is to limit access to a specific Azure subnet and avoid public networking, private endpoints are the cleanest and most secure design. Why others are wrong: A service endpoint improves access control but still routes to the storage service's public endpoint, so it does not meet the no-public-endpoint requirement. A NAT gateway only affects outbound translation and has nothing to do with private service connectivity. Allowing all Azure services is overly broad and does not restrict access to one 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.