mediummultiple choiceObjective-mapped

A web app in VNet1 must access a storage account by using a private IP address, and the storage account has public network access disabled. The app resolves the storage FQDN from inside the VNet. What should you deploy?

Question 1mediummultiple choice
Full question →

A web app in VNet1 must access a storage account by using a private IP address, and the storage account has public network access disabled. The app resolves the storage FQDN from inside the VNet. What should you deploy?

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 SAS token created for the application service principal.

A SAS token affects authorization, not network path or DNS behavior. It cannot make the storage endpoint private.

B

Distractor review

A service endpoint on the subnet so the storage account gets a private IP.

Service endpoints do not create a private IP for the storage account. Traffic still uses the service's public endpoint.

C

Best answer

A private endpoint for the storage account and the required private DNS zone linkage.

A private endpoint gives the storage account a private IP address inside the virtual network, which is exactly what the scenario requires. Because the app must resolve the storage FQDN from within the VNet, private DNS is also needed so name resolution points to the private address instead of the public endpoint. This is the standard design for fully private access to Azure Storage.

D

Distractor review

A storage account firewall rule that allows the VNet and a public DNS record update.

Firewall rules can restrict public access, but they do not provide private IP connectivity or change DNS resolution to a private address.

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 and the required private DNS zone linkage. — A private endpoint is required when the application must reach Azure Storage over a private IP inside the VNet. Because the service name also needs to resolve to that private address, the private DNS zone must be linked appropriately. This combination satisfies both the connectivity and name-resolution requirements while public network access remains disabled on the storage account. Why others are wrong: Service endpoints do not assign a private IP to the service. Firewall rules alone cannot convert a public endpoint into a private one. SAS tokens are only for authorizing data access; they do not affect routing or DNS. The critical difference here is private network path versus public endpoint filtering.

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.