mediummultiple choiceObjective-mapped

A company has a virtual machine in a subnet that must access an Azure Storage account. The storage account should remain reachable through its public endpoint, but access must be limited to that subnet, and the traffic should stay on the Azure backbone rather than the internet. Which feature should the administrator configure on the subnet?

Question 1mediummultiple choice
Full question →

A company has a virtual machine in a subnet that must access an Azure Storage account. The storage account should remain reachable through its public endpoint, but access must be limited to that subnet, and the traffic should stay on the Azure backbone rather than the internet. Which feature should the administrator configure on the 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

A private endpoint for the storage account.

A private endpoint would give the storage account a private IP and usually changes the access pattern away from the public endpoint.

B

Best answer

A service endpoint for Microsoft.Storage.

A service endpoint extends the subnet's identity to the storage service and keeps traffic on the Azure backbone while still using the storage account's public endpoint. This fits when the organization wants network restriction by subnet without introducing a private IP for the service. The storage firewall can then allow only the selected subnet.

C

Distractor review

A site-to-site VPN connection to the storage account.

VPN connects networks, not individual PaaS service access paths, and is unnecessary here.

D

Distractor review

An application security group assigned to the storage account.

Application security groups are for NICs in NSG rules, not for securing Azure Storage.

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 for Microsoft.Storage. — A service endpoint is the right choice when you want the storage account to remain on its public endpoint but only accept traffic from a specific subnet over the Azure backbone. It is a common fit for subnet-based access control without introducing a private IP or DNS changes required by a private endpoint. The storage firewall can then allow only that subnet. Why others are wrong: A private endpoint changes the service to a private IP-based access model, which is not what the requirement asks for. A site-to-site VPN is a network connectivity solution, not a storage access control mechanism. Application security groups are not applicable to Azure Storage because they only work within NSG rule definitions for VM network interfaces.

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.