mediummultiple choiceObjective-mapped

A storage account has a private endpoint in VNet A. A VM in peered VNet B can reach the storage account by private IP, but when the VM resolves the storage account name it still gets the public IP address. What should be configured so the name resolves to the private IP from VNet B?

Question 1mediummultiple choice
Full question →

A storage account has a private endpoint in VNet A. A VM in peered VNet B can reach the storage account by private IP, but when the VM resolves the storage account name it still gets the public IP address. What should be configured so the name resolves to the private IP from VNet B?

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 new storage account in VNet B.

Storage accounts are not deployed into VNets, and creating another account does not fix private DNS resolution for the existing endpoint.

B

Best answer

Link the private DNS zone for the storage service to VNet B.

The private endpoint depends on DNS so clients resolve the service name to the private IP. Linking the private DNS zone to VNet B enables that name resolution from the peered network.

C

Distractor review

Add an inbound NSG rule allowing DNS traffic from VNet B.

NSGs do not determine DNS record values. They may allow UDP 53 traffic, but they cannot change what address is returned.

D

Distractor review

Replace the private endpoint with a service endpoint.

A service endpoint would not give the storage account a private IP in the VNet and would not solve private name resolution for the existing design.

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: Link the private DNS zone for the storage service to VNet B. — When a private endpoint is used, client name resolution must point to the private IP rather than the public endpoint. In a peered VNet, that requires the private DNS zone to be linked so VMs in VNet B can resolve the storage account name correctly. Without the zone link, the VM may still resolve the public record even though network connectivity to the private IP exists. Why others are wrong: Creating another storage account does not resolve the DNS issue for the current account. NSG rules may allow DNS traffic, but they do not control DNS answers. Replacing the private endpoint with a service endpoint changes the connectivity model and removes the private-IP design the scenario already has.

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.