mediummultiple choiceObjective-mapped

A storage account must be accessible only from one virtual network, and the storage service must have a private IP address inside that network. Public network access should be disabled. Which solution should the administrator use?

Question 1mediummultiple choice
Full question →

A storage account must be accessible only from one virtual network, and the storage service must have a private IP address inside that network. Public network access should be disabled. Which solution should the administrator use?

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

Add a storage firewall rule that allows the subnet's public IP range

Firewall rules control public access paths and do not place a private IP inside the virtual network.

B

Distractor review

Configure a service endpoint for the subnet and keep public access enabled

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

C

Best answer

Create a private endpoint for the storage account in the virtual network

A private endpoint gives the storage account a private IP address in the VNet and supports disabling public access.

D

Distractor review

Peer the virtual network to the storage account's region

VNet peering connects networks, but it does not provide a private IP for 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: Create a private endpoint for the storage account in the virtual network — A private endpoint is the correct solution because it places a private IP address for the storage service into the chosen virtual network. That lets the administrator disable public network access while still allowing traffic to the service over the Azure backbone through the private address. Firewall rules and service endpoints are useful in other scenarios, but they do not meet the requirement for a private IP in the VNet. This is the standard design for tightly restricted storage access. Why others are wrong: Firewall rules still depend on the public endpoint and therefore do not satisfy the private-IP requirement. Service endpoints improve routing security, but the storage account remains publicly addressable. VNet peering is unrelated to giving the storage service an IP address inside the 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.