mediummultiple choiceObjective-mapped

Exhibit

Storage access requirement: the public endpoint must stay enabled; access must be limited to one Azure subnet; no private IP should be created in the virtual network; administrators do not want a private DNS zone.

Based on the exhibit, which feature should be enabled on the subnet so the storage account remains reachable through its public endpoint but only from that subnet?

Question 1mediummultiple choice
Full question →

Based on the exhibit, which feature should be enabled on the subnet so the storage account remains reachable through its public endpoint but only from that subnet?

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

Private endpoint

A private endpoint creates a private IP and changes the connectivity model, which the exhibit forbids.

B

Best answer

Service endpoint

A service endpoint lets the subnet reach the service over Azure backbone without creating a private IP.

C

Distractor review

Azure Bastion

Bastion is for VM management access, not for controlling storage account network access.

D

Distractor review

VPN Gateway

A VPN Gateway provides network tunneling, but it does not enforce subnet-only access to the storage service.

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: Service endpoint — A service endpoint is the right fit when you want to keep the Azure service using its public endpoint while allowing access only from specific VNets or subnets. Unlike a private endpoint, it does not create a private IP address in the virtual network and does not require private DNS. That matches the exhibit exactly: public endpoint retained, one subnet allowed, and no private endpoint design. Why others are wrong: A private endpoint would create a private IP and requires private DNS to work cleanly, both of which are explicitly excluded. Bastion is unrelated to storage service access. A VPN Gateway may connect networks, but it does not provide the storage-specific subnet restriction described here.

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.