easymultiple choiceObjective-mapped

A storage account should accept requests only from a specific virtual network subnet in Azure. The team does not want traffic to reach the public endpoint from the internet. What should the administrator configure?

Question 1easymultiple choice
Full question →

A storage account should accept requests only from a specific virtual network subnet in Azure. The team does not want traffic to reach the public endpoint from the internet. What 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

Enable anonymous blob access

Anonymous access affects authorization, not network path control, so it would not restrict internet traffic.

B

Best answer

Add a storage network rule for the subnet or use a private endpoint

Network rules can restrict access to allowed virtual network locations, and a private endpoint can place the service behind a private IP. Either approach supports controlled connectivity instead of internet exposure.

C

Distractor review

Move the container to the Archive tier

Tiering changes storage cost and availability behavior, but it does not limit which networks can connect.

D

Distractor review

Assign the Contributor role to the subnet

Azure RBAC does not assign roles to a subnet for storage network filtering, so this would not control access path.

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: Add a storage network rule for the subnet or use a private endpoint — To keep storage traffic off the public internet, you should use storage network rules and, when appropriate, a private endpoint. Network rules let you restrict access to specific virtual networks or subnets, while a private endpoint gives the storage account a private IP in the VNet. That combination provides controlled connectivity and prevents general internet access to the service. Why others are wrong: Anonymous access does not enforce network restrictions and would only weaken security. Archive is unrelated to network access and changes only how blob data is stored and retrieved. RBAC controls permissions, not which subnet can reach the service, so assigning Contributor to a subnet is not a valid Azure control.

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.