mediummultiple choiceObjective-mapped

Two VNets are peered successfully, and a VM in the spoke can reach a private endpoint in the hub by IP address. However, the VM cannot resolve the storage account name to the private endpoint FQDN. The private DNS zone is linked only to the hub VNet. What should the administrator do?

Question 1mediummultiple choice
Full question →

Two VNets are peered successfully, and a VM in the spoke can reach a private endpoint in the hub by IP address. However, the VM cannot resolve the storage account name to the private endpoint FQDN. The private DNS zone is linked only to the hub VNet. What should the administrator do?

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

Add a route table to the spoke subnet pointing to the private endpoint IP.

Routing is not the problem because the VM already reaches the service by IP. Name resolution requires DNS configuration.

B

Best answer

Link the private DNS zone to the spoke VNet as well.

Private DNS zones must be linked to every VNet that needs to resolve the private endpoint name through Azure-provided DNS behavior. Since the spoke VNet is not linked to the zone, its VM does not receive the private endpoint record and cannot resolve the storage account FQDN correctly. Linking the zone to the spoke VNet allows name resolution to return the private IP.

C

Distractor review

Enable gateway transit on the peering connection.

Gateway transit is for sharing a VPN or ExpressRoute gateway, not for distributing private DNS zone records.

D

Distractor review

Create an NSG rule to allow DNS traffic to the storage account.

NSGs do not control DNS record creation, and the storage account is not the source of the DNS response.

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: Link the private DNS zone to the spoke VNet as well. — Because the VM can already reach the endpoint by IP, connectivity is fine and the issue is specifically DNS resolution. Private DNS zones are linked at the VNet level. If the zone is linked only to the hub, the spoke VNet will not automatically learn the private endpoint record. Linking the private DNS zone to the spoke VNet gives the VM the correct private IP when it queries the storage account name. Why others are wrong: A route table would not change DNS behavior when IP connectivity already works. Gateway transit is unrelated to private DNS records. NSGs cannot fix missing DNS zone linkage. The symptom points to name resolution, so the DNS zone link, not networking policy, is the required change.

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.