hardmultiple choiceObjective-mapped

A storage account must be reachable only from workloads in one Azure subnet. The team wants to keep using the storage account's public FQDN, avoid creating a private IP address in the virtual network, and avoid managing private DNS zones. What should the administrator configure?

Question 1hardmultiple choice
Full question →

A storage account must be reachable only from workloads in one Azure subnet. The team wants to keep using the storage account's public FQDN, avoid creating a private IP address in the virtual network, and avoid managing private DNS zones. What 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 private endpoint for the storage account

A private endpoint creates a private IP and usually requires private DNS configuration.

B

Best answer

A service endpoint on the subnet and a storage firewall rule for that subnet

A service endpoint keeps the public endpoint in place while extending the subnet's identity to the storage service. Combined with a storage firewall rule that allows only that subnet, it restricts access without assigning a private IP or requiring private DNS management. This exactly matches the stated design goals.

C

Distractor review

An NSG rule that allows TCP 443 to the storage account

An NSG cannot grant access to a PaaS storage account by itself, because storage authorization is handled separately.

D

Distractor review

An application security group tied to the storage account

Application security groups are for grouping virtual machines, not for controlling storage account network access.

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 service endpoint on the subnet and a storage firewall rule for that subnet — Service endpoints are the right fit when you want to keep the storage account public endpoint, avoid a private IP, and restrict access to a specific subnet. The subnet is identified to the storage service, and the storage firewall can allow only that subnet. This preserves simpler DNS behavior than a private endpoint while still giving strong network restriction. Why others are wrong: A private endpoint would create a private IP and push you into private DNS design, which the question explicitly rules out. An NSG cannot authorize access to the storage service on its own. Application security groups are not used for PaaS storage access control. Service endpoints plus storage firewall rules are the only option that matches every constraint.

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.