mediummultiple choiceObjective-mapped

A team wants one subnet to access an existing Storage account over its public endpoint. They do not want a private IP for the account or any DNS changes, but they want to block access from all other subnets. What should the administrator configure?

Question 1mediummultiple choice
Full question →

A team wants one subnet to access an existing Storage account over its public endpoint. They do not want a private IP for the account or any DNS changes, but they want to block access from all other subnets. 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

Create a private endpoint and disable public network access on the storage account.

A private endpoint changes the network model and typically requires private DNS integration.

B

Best answer

Enable a service endpoint on the subnet and add a virtual network rule on the storage account.

Service endpoints preserve the public endpoint while restricting access to the selected subnet.

C

Distractor review

Assign the Storage Blob Data Reader role to the subnet.

RBAC controls authorization, not subnet-based network access to the storage account.

D

Distractor review

Associate a route table with a default route to the storage account private IP.

Storage accounts do not use a customer-defined private IP on the public endpoint 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: Enable a service endpoint on the subnet and add a virtual network rule on the storage account. — This requirement matches a service endpoint design. The storage account can continue using its public endpoint, but the administrator can allow only the selected subnet by enabling the Microsoft.Storage service endpoint on that subnet and adding the corresponding virtual network rule on the storage account. No private IP or DNS change is required, which aligns with the business constraint. Why others are wrong: A private endpoint would change the access pattern and usually requires private DNS. RBAC roles do not restrict network paths, so they cannot block other subnets. A route table cannot direct traffic to a storage account as if it had a customer-defined private IP for the public endpoint.

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.