easymultiple choiceObjective-mapped

A storage account must stay reachable through its public endpoint, but only Azure workloads in AppSubnet should be allowed to access it. No private IP is required. What should you configure?

Question 1easymultiple choice
Full question →

A storage account must stay reachable through its public endpoint, but only Azure workloads in AppSubnet should be allowed to access it. No private IP is required. What should you 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 in AppSubnet.

A private endpoint changes access to a private IP, which is not required because the public endpoint must remain in use.

B

Best answer

A service endpoint on AppSubnet and a storage firewall VNet rule.

Service endpoints let the subnet access the storage account securely through its public endpoint, and the firewall can restrict access to that subnet.

C

Distractor review

A VPN gateway between AppSubnet and the storage account.

A VPN gateway is for network-to-network connectivity, not for restricting a storage account to one Azure subnet.

D

Distractor review

A public IP address on the storage account.

Storage accounts do not use a customer-assigned public IP for subnet scoping or access restriction.

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 AppSubnet and a storage firewall VNet rule. — A service endpoint is the right option when a service must remain on its public endpoint but only a specific Azure subnet should reach it. Pairing the endpoint with the storage firewall's virtual network rule lets AppSubnet access the account while other networks remain blocked. This satisfies the security requirement without creating a private IP or private endpoint. Why others are wrong: A private endpoint would meet different requirements because it removes the public endpoint from normal use. VPN gateways are not the mechanism for limiting a storage account to one subnet. A public IP on the storage account is not a configurable access-control feature for this scenario.

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.