easymultiple choiceObjective-mapped

A storage account must be reachable only from resources in one Azure subnet, and public network access should not be used. Which configuration best meets this requirement?

Question 1easymultiple choice
Full question →

A storage account must be reachable only from resources in one Azure subnet, and public network access should not be used. Which configuration best meets this requirement?

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

Enable blob versioning on the storage account

Versioning helps with recovery, but it does not restrict network access to one subnet.

B

Best answer

Create a private endpoint for the storage account in the subnet

A private endpoint gives the storage account a private IP address in the subnet, so traffic stays on private network paths.

C

Distractor review

Assign a ReadOnly lock to the storage account

A lock protects against changes or deletion, but it does not control where the storage account can be reached from.

D

Distractor review

Enable a shared access signature

A SAS controls authorization, but it does not create private network connectivity or block public access.

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 subnet — A private endpoint is the best fit when a storage account should be accessible only from a specific subnet and should not rely on the public endpoint. The private endpoint places the service on a private IP address in the virtual network, which keeps the connection internal. This is the standard design for private access to Azure PaaS services from Azure resources. Why others are wrong: Versioning does not affect network reachability. A ReadOnly lock prevents configuration changes, but it does not restrict traffic paths. A SAS can limit what a caller can do, but it still uses network access to the storage service and does not by itself provide private-only connectivity.

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.