AZ-104 Implement and Manage Virtual Networking Practice Question
A storage account has a blob private endpoint in VNet-A. A VM in peered VNet-B can reach the storage account by private IP, but name resolution for the storage account still returns the public IP address. The private DNS zone privatelink.blob.core.windows.net is already linked only to VNet-A. What should the administrator do next?
⚠ Common exam trap
Test-takers frequently assume private endpoint connectivity alone ensures name resolution, but they forget that DNS resolution requires the private DNS zone to be linked to the peered VNet, not just the VNet where the endpoint resides.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Create a virtual network link from the private DNS zone to VNet-B.
The private DNS zone `privatelink.blob.core.windows.net` is linked only to VNet-A, so VMs in VNet-B cannot resolve the storage account's FQDN to its private IP. By creating a virtual network link from the private DNS zone to VNet-B, the zone's records become available for resolution in VNet-B, allowing the VM to resolve the storage FQDN to the private endpoint's IP address instead of the public IP.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Create a second private endpoint in VNet-B for the same storage account.
Why it's wrong here
A second private endpoint in VNet-B would create a new private IP for the storage account, but it does not address the root cause: VNet-B cannot resolve the FQDN to any private IP because the private DNS zone is not linked. The existing private endpoint in VNet-A is already reachable across the peering; the only missing piece is DNS linkage. Adding another endpoint would require new DNS records and unnecessary cost, without fixing the resolution failure for the peered VNet.
When this WOULD be correct
This option would be correct if the storage account needed to be accessed from VNet-B with a separate private IP (e.g., for isolation or compliance) and the private DNS zone was already linked to both VNets. For example, if each VNet required its own private endpoint for the same storage account to enforce network policies.
- ✗
Enable a service endpoint on VNet-B and remove the private endpoint.
Why it's wrong here
Enabling a service endpoint on VNet-B does not assign a private IP to the storage account; it merely allows traffic to the service's public IP over the Azure backbone. Removing the private endpoint deletes the private IP address and invalidates the existing private DNS records, making the DNS issue worse. Service endpoints also do not change name resolution behavior—the FQDN still resolves to the public IP, so the connectivity model is not preserved.
When this WOULD be correct
If the requirement was to access the storage account from VNet-B using the public endpoint but with source IP restricted to VNet-B's subnet, and private endpoint was not needed, then enabling a service endpoint on VNet-B and removing the private endpoint would be correct.
- ✗
Add a user-defined route in VNet-B that points the storage FQDN to the private IP.
Why it's wrong here
A user-defined route (UDR) is applied only after DNS resolution occurs, because routing decisions are based on the destination IP address prefix. It cannot intercept or rewrite DNS queries, so the storage FQDN would still resolve to its public endpoint unless the private DNS zone is linked. Even adding a /32 route for the private endpoint IP would not help because the client never learns that IP from hostname lookup.
When this WOULD be correct
A UDR would be correct if the VM could already resolve the storage account to the private IP (e.g., via a custom DNS server), but traffic was still going over the internet due to asymmetric routing or missing effective routes. The UDR would force traffic to the private endpoint IP.
- ✓
Create a virtual network link from the private DNS zone to VNet-B.
Why this is correct
Private endpoint access depends on correct DNS resolution to the private endpoint IP. Because the private DNS zone is linked only to VNet-A, VNet-B does not receive the private name mapping. Linking the zone to VNet-B allows resources in the peered VNet to resolve the blob endpoint name to the private IP as intended.
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The AZ-104 exam frequently reuses these exact scenarios with slightly different constraints.
✓Create a virtual network link from the private DNS zone to VNet-B.Correct answer▾
Why this is correct
Private endpoint access depends on correct DNS resolution to the private endpoint IP. Because the private DNS zone is linked only to VNet-A, VNet-B does not receive the private name mapping. Linking the zone to VNet-B allows resources in the peered VNet to resolve the blob endpoint name to the private IP as intended.
✗Create a second private endpoint in VNet-B for the same storage account.Wrong answer — click to see why▾
Why this is wrong here
Creating a second private endpoint in VNet-B for the same storage account is unnecessary and violates the principle of using a single private endpoint with DNS resolution. The issue is DNS resolution, not connectivity; the VM can already reach the storage account via private IP, but name resolution fails because the private DNS zone is not linked to VNet-B.
★ When this WOULD be the correct answer
This option would be correct if the storage account needed to be accessed from VNet-B with a separate private IP (e.g., for isolation or compliance) and the private DNS zone was already linked to both VNets. For example, if each VNet required its own private endpoint for the same storage account to enforce network policies.
Why candidates choose this
Candidates may think that adding a private endpoint in VNet-B will automatically resolve DNS, but they overlook that DNS resolution requires the private DNS zone to be linked to the VNet where the client resides.
✗Enable a service endpoint on VNet-B and remove the private endpoint.Wrong answer — click to see why▾
Why this is wrong here
Enabling a service endpoint on VNet-B and removing the private endpoint would break private connectivity for VNet-A and does not resolve DNS resolution; service endpoints do not provide private DNS integration.
★ When this WOULD be the correct answer
If the requirement was to access the storage account from VNet-B using the public endpoint but with source IP restricted to VNet-B's subnet, and private endpoint was not needed, then enabling a service endpoint on VNet-B and removing the private endpoint would be correct.
Why candidates choose this
Candidates may confuse service endpoints with private endpoints, thinking both provide similar private connectivity, and assume removing the private endpoint simplifies the setup while still allowing access via service endpoint.
✗Add a user-defined route in VNet-B that points the storage FQDN to the private IP.Wrong answer — click to see why▾
Why this is wrong here
User-defined routes (UDRs) cannot override DNS resolution; they only control network traffic flow. The issue is name resolution returning the public IP, not routing, so a UDR won't fix the DNS query.
★ When this WOULD be the correct answer
A UDR would be correct if the VM could already resolve the storage account to the private IP (e.g., via a custom DNS server), but traffic was still going over the internet due to asymmetric routing or missing effective routes. The UDR would force traffic to the private endpoint IP.
Why candidates choose this
Candidates may confuse name resolution with network routing, thinking that a route can redirect DNS queries or that controlling traffic flow will automatically fix DNS resolution.
Analysis generated from the official AZ-104blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
Visual reference
Go deeper
Related to this question
Learn chapter
Customer-Managed Keys (CMK) for Storage Encryption
Key term
DNS zone
A DNS zone is a distinct part of the global Domain Name System (DNS) namespace that is delegated to a specific administrator or organization for management, containing resource records for a domain.
Key term
VNet
A virtual private network inside a cloud provider that lets you securely connect and isolate your cloud resources.
About these practice questions
This AZ-104 question is part of Courseiva's 1,049-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
3 more ways this is tested on AZ-104
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A VM in VNet B can reach a blob storage account through a private endpoint that was created in peered VNet A. The storage FQDN still resolves to the public IP when queried from VNet B, so the VM does not use the private path. What should the administrator change?
hard- A.Add a service endpoint for Microsoft.Storage to VNet B
- ✓ B.Link the private DNS zone used by the private endpoint to VNet B
- C.Disable the storage account firewall completely
- D.Move the storage account into VNet B
Why B: The private endpoint in VNet A creates a private IP for the storage account, but DNS resolution in VNet B still returns the public IP because the private DNS zone (privatelink.blob.core.windows.net) is not linked to VNet B. By linking the private DNS zone to VNet B, the VM will resolve the storage FQDN to the private IP, ensuring traffic uses the private endpoint path through the VNet peering.
Variation 2. 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?
medium- A.Create a new storage account in VNet B.
- ✓ B.Link the private DNS zone for the storage service to VNet B.
- C.Add an inbound NSG rule allowing DNS traffic from VNet B.
- D.Replace the private endpoint with a service endpoint.
Why B: When a private endpoint is created in VNet A, a private DNS zone (e.g., `privatelink.blob.core.windows.net`) is automatically linked to VNet A, enabling name resolution to the private IP within that VNet. However, VNet B is peered but not linked to that private DNS zone, so VMs in VNet B continue to resolve the storage account name via public DNS, returning the public IP. By linking the private DNS zone to VNet B, the VM will resolve the storage account name to the private IP address of the private endpoint.
Variation 3. A VM in VNet A can reach a storage account through a private endpoint, but when the VM resolves the storage account name it still gets the public IP address. What should you configure so name resolution returns the private endpoint address?
medium- A.A user-defined route to the storage private endpoint
- ✓ B.The private DNS zone linked to the VNet
- C.A resource lock on the storage account
- D.A managed identity for the VM
Why B: When a private endpoint is created for a storage account, the DNS configuration must be updated so that the storage account's fully qualified domain name resolves to the private endpoint's private IP address instead of the public IP. Linking a private DNS zone (privatelink.blob.core.windows.net) to the virtual network and configuring a virtual network link ensures that the VM's DNS queries for the storage account are answered with the private endpoint IP. Without this, the VM continues to use the public IP from public DNS.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AZ-104 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-104 exam.