easymultiple choiceObjective-mapped

A team wants an Azure Storage account to be reachable only from a single Azure virtual network and to use a private IP address inside that network. Which option should the administrator configure?

Question 1easymultiple choice
Full question →

A team wants an Azure Storage account to be reachable only from a single Azure virtual network and to use a private IP address inside that network. Which option 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 service endpoint on the subnet.

Service endpoints extend subnet identity to the service, but they do not create a private IP in the VNet.

B

Best answer

A private endpoint for the storage account.

A private endpoint gives the storage account a private IP address in the VNet, which is the best fit for private-only access.

C

Distractor review

A public IP address with an NSG inbound allow rule.

This still exposes the service publicly and does not limit access to private network paths only.

D

Distractor review

A VPN gateway connection to the storage account.

VPN gateways connect networks, not individual PaaS services, and do not assign a private IP to 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 private endpoint for the storage account. — A private endpoint is the correct choice when a PaaS service must be accessed through a private IP inside a virtual network. For Azure Storage, this means traffic stays on private network paths and the service can be restricted to that VNet or connected networks. A service endpoint improves access control but does not provide a private IP address. Why others are wrong: Option A still uses the service's public endpoint, even though access is restricted. Option C keeps the service public, which does not meet the requirement. Option D is not the mechanism for privately exposing a storage account inside a VNet.

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.