AZ-104 Implement and Manage Virtual Networking Practice Question
After a private endpoint for an Azure Blob Storage account is created, VMs in the same VNet still resolve the storage name to the public IP address. The administrator wants the name to resolve to the private endpoint address instead. What should be configured?
⚠ Common exam trap
It's easy for candidates to confuse network-level controls (like route tables or service endpoints) with DNS resolution, assuming they can redirect traffic to the private endpoint without addressing how the name is resolved to an IP.
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
✓
Link the private DNS zone for blob storage to the virtual network.
When a private endpoint is created for Azure Blob Storage, the private DNS zone (privatelink.blob.core.windows.net) must be linked to the virtual network to enable automatic resolution of the storage account's FQDN to the private endpoint's private IP address. Without this link, VMs in the VNet continue to use public DNS resolution, which returns the public IP. Linking the private DNS zone to the VNet ensures that DNS queries from VMs resolve to the private endpoint address via Azure's DNS infrastructure.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Link the private DNS zone for blob storage to the virtual network.
Why this is correct
Private endpoints require private DNS so clients resolve the storage name to the endpoint's private IP instead of the public address. For Blob Storage, the relevant zone is the privatelink.blob.core.windows.net zone, and it must be linked to the VNet used by the clients. Once linked, Azure can answer DNS queries with the private endpoint address, which makes access work consistently without manual hosts file edits.
- ✗
Create a route table that sends storage traffic to the private endpoint subnet.
Why it's wrong here
A route table controls the next hop for IP traffic, not how a host resolves a DNS name. Since the storage account's FQDN still resolves to the public IP without a private DNS zone, clients would keep sending traffic to the public endpoint, bypassing the private endpoint entirely. Moreover, VNet's implicit routes already reach the private endpoint's subnet, so a custom route is unnecessary.
When this WOULD be correct
A route table would be correct if the question asked how to force traffic destined to the storage account's public IP address to go through a network virtual appliance (NVA) or a specific next hop, such as in a hub-and-spoke topology where you want to inspect or filter traffic.
- ✗
Enable a service endpoint on the subnet that hosts the VMs.
Why it's wrong here
A service endpoint does not assign a private IP to the service; it simply optimizes routing to the service's public IP range from the VNet. Enabling it does not change DNS resolution, so the storage account's FQDN continues to resolve to the public endpoint, not to the private endpoint. Service endpoints and private endpoints are complementary but separate features, and only a private DNS zone link will make the name resolve to the private IP.
When this WOULD be correct
A question asks how to ensure traffic from a subnet to an Azure Storage account stays within the Azure network and does not traverse the internet, without requiring a private endpoint. Enabling a service endpoint on the subnet would be the correct answer.
- ✗
Assign a public IP address to the private endpoint subnet.
Why it's wrong here
Private endpoints are implemented with a network interface that receives a private IP from the subnet; they never receive a public IP. Assigning a public IP to the subnet itself is not permitted and would not alter the public DNS record that maps the storage account's FQDN. Even if a public IP were present, clients resolving the FQDN would still get the public address, not the private endpoint's IP, so connectivity would remain broken from a name-resolution standpoint.
When this WOULD be correct
If the question asked how to allow a private endpoint to communicate with the internet (e.g., for outbound traffic), assigning a public IP to the subnet (via NAT gateway or load balancer) could be correct.
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.
✓Link the private DNS zone for blob storage to the virtual network.Correct answer▾
Why this is correct
Private endpoints require private DNS so clients resolve the storage name to the endpoint's private IP instead of the public address. For Blob Storage, the relevant zone is the privatelink.blob.core.windows.net zone, and it must be linked to the VNet used by the clients. Once linked, Azure can answer DNS queries with the private endpoint address, which makes access work consistently without manual hosts file edits.
✗Create a route table that sends storage traffic to the private endpoint subnet.Wrong answer — click to see why▾
Why this is wrong here
Route tables control network traffic flow based on IP addresses, but they do not affect DNS resolution. The issue is that the storage account's public DNS name is still resolving to the public IP instead of the private endpoint's private IP, which requires DNS configuration, not routing.
★ When this WOULD be the correct answer
A route table would be correct if the question asked how to force traffic destined to the storage account's public IP address to go through a network virtual appliance (NVA) or a specific next hop, such as in a hub-and-spoke topology where you want to inspect or filter traffic.
Why candidates choose this
Candidates may confuse DNS resolution with network routing, thinking that directing traffic via a route table will also change how the name is resolved, or they may assume that private endpoints require custom routes to function.
✗Enable a service endpoint on the subnet that hosts the VMs.Wrong answer — click to see why▾
Why this is wrong here
Service endpoints do not affect DNS resolution; they only provide direct connectivity to Azure services over the Azure backbone network. The VM still resolves the storage name to the public IP address, so the private endpoint address is not used.
★ When this WOULD be the correct answer
A question asks how to ensure traffic from a subnet to an Azure Storage account stays within the Azure network and does not traverse the internet, without requiring a private endpoint. Enabling a service endpoint on the subnet would be the correct answer.
Why candidates choose this
Candidates may confuse service endpoints with private endpoints, thinking both provide private IP resolution, or they may believe service endpoints automatically change DNS resolution to the private IP.
✗Assign a public IP address to the private endpoint subnet.Wrong answer — click to see why▾
Why this is wrong here
Assigning a public IP to the private endpoint subnet does not affect DNS resolution; private endpoints use private IPs, and DNS resolution to the private IP requires a private DNS zone linked to the VNet.
★ When this WOULD be the correct answer
If the question asked how to allow a private endpoint to communicate with the internet (e.g., for outbound traffic), assigning a public IP to the subnet (via NAT gateway or load balancer) could be correct.
Why candidates choose this
Candidates may think that adding a public IP to the subnet will force traffic through the private endpoint, confusing network address assignment with DNS resolution behavior.
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
Quick reference
Azure Blob Storage Tier Comparison
| Tier | Storage Cost | Retrieval Cost | Latency | Use Case |
|---|---|---|---|---|
| Hot | Highest | Lowest | Immediate | Active data, frequent reads |
| Cool | Lower | Higher | Immediate | Data accessed < once / month |
| Cold | Lower still | Higher | Immediate | Data accessed < once / quarter |
| Archive | Lowest | Highest + rehydration delay | Hours | Long-term compliance retention |
Go deeper
Related to this question
Learn chapter
Managed Identities for Azure Resources
Key term
Private endpoint
A private endpoint is a network interface that securely connects a service over a private IP address inside a virtual network, keeping traffic off the public internet.
Key term
Storage account
A cloud storage account is a container that holds a set of cloud storage services and their data, providing a unique namespace and access policies for storing and managing unstructured data.
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 →
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.