hardmultiple choiceObjective-mapped

An administrator wants a storage account to be accessible only from one subnet. The storage account should still use its public FQDN, the team does not want a private IP address in the VNet, and they do not want to manage private DNS zones. Which solution should be used?

Question 1hardmultiple choice
Full question →

An administrator wants a storage account to be accessible only from one subnet. The storage account should still use its public FQDN, the team does not want a private IP address in the VNet, and they do not want to manage private DNS zones. Which solution should be used?

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

Create a private endpoint and disable public network access.

A private endpoint gives the storage service a private IP in the VNet and usually requires private DNS planning. That conflicts with the stated requirement to avoid a private IP and avoid managing private DNS zones.

B

Best answer

Enable a service endpoint on the subnet and restrict the storage firewall to that subnet.

A service endpoint allows the subnet to access the storage account over the Azure backbone while the storage account still uses its public FQDN and does not require a private IP in the VNet. Because the administrator also wants to avoid private DNS zone management, this is the best fit. The storage firewall can then be restricted to the specific subnet.

C

Distractor review

Peer the subnet to a dedicated storage VNet and route traffic through peering.

VNet peering connects virtual networks to each other. It does not restrict storage account access by itself and does not create the storage-specific access control behavior described here.

D

Distractor review

Assign a route table with a host route to the storage account.

Route tables are used for IP forwarding decisions, not for controlling Azure Storage authorization or service access. They cannot replace storage firewall rules or service endpoints.

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 restrict the storage firewall to that subnet. — A service endpoint is the right choice when the goal is to allow a specific subnet to reach a storage account without creating a private endpoint or managing private DNS. The storage account remains reachable through its public FQDN, but access is restricted to the selected subnet through firewall rules. This matches the requirement precisely and avoids the extra DNS and private-IP work that comes with private endpoints. Why others are wrong: A private endpoint conflicts with the requirement to avoid a private IP and private DNS management. Peering is not a storage access-control mechanism. A route table cannot grant or restrict Storage service access. The requirement is specifically about subnet-restricted access to the public service endpoint, which is the classic use case for a service endpoint.

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.