mediummultiple choiceObjective-mapped

A storage account has public network access disabled. A VM in a virtual network must access blob data privately, and the application must resolve the storage endpoint name to a private IP address. What should the administrator deploy?

Question 1mediummultiple choice
Full question →

A storage account has public network access disabled. A VM in a virtual network must access blob data privately, and the application must resolve the storage endpoint name to a private IP address. What should the administrator 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 service endpoint for Microsoft.Storage and a custom hosts file entry on the VM

Service endpoints do not create a private IP address, and manually editing hosts files does not provide the correct Azure-integrated name resolution model.

B

Best answer

A private endpoint for the storage account plus a private DNS zone linked to the virtual network

A private endpoint places the storage service on a private IP address inside the VNet, which satisfies the private access requirement. A private DNS zone is then needed so the storage account name resolves to that private IP address from within the virtual network. Together, they provide secure, private connectivity with proper name resolution.

C

Distractor review

Allow trusted Microsoft services and keep using the public endpoint

Trusted services is not the right control for a VM-to-storage private access requirement, and it does not create a private IP or private DNS mapping.

D

Distractor review

A route table that sends traffic for the storage account's public IP to the VPN gateway

Routing public IP traffic through a gateway does not convert the storage service into a private endpoint, and it does not provide the required DNS behavior.

Common exam trap

Common exam trap: answer the scenario, not the keyword

Many certification questions include familiar terms but test a specific constraint. Read the exact wording before choosing an answer that is generally true but wrong for this case.

Technical deep dive

How to think about this question

This question should be treated as a scenario, not a definition check. Identify the problem, the constraint and the best action. Then compare each option against those facts.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.
  • Use explanations to understand the rule behind the answer.

TExam Day Tips

  • Underline the problem statement mentally.
  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

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?

Read the scenario before looking for a memorised answer.

What is the correct answer to this question?

The correct answer is: A private endpoint for the storage account plus a private DNS zone linked to the virtual network — Private endpoints are the correct solution when a service must be accessed over a private IP inside a VNet. Because applications typically use the storage account's FQDN, a private DNS zone must also be linked so that the name resolves to the private endpoint address. This gives private, name-resolved access without exposing the storage account to the public network. Why others are wrong: A is not private connectivity and depends on unsupported manual DNS workarounds. C leaves the service public and does not address private IP resolution. D changes routing but does not provide a private endpoint or the correct DNS integration.

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.