AZ-104 Implement and Manage Virtual Networking Practice Question
You deploy a private endpoint for an Azure Storage account. Virtual machines in VNet-App must resolve the storage account name to the private IP address of the endpoint instead of the public endpoint. What should you configure?
⚠ Common exam trap
A common mix-up: candidates confuse network-level controls (NSGs, route tables) with DNS resolution, assuming that restricting traffic or routing will force private IP usage, when in fact DNS configuration is the critical missing piece for name resolution.
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
✓
A private DNS zone linked to VNet-App.
A private endpoint requires DNS resolution to map the storage account's fully qualified domain name (FQDN) to its private IP address. By creating a private DNS zone (privatelink.blob.core.windows.net) and linking it to VNet-App, Azure automatically creates an A-record pointing to the private endpoint's IP, ensuring VMs resolve the storage account name privately instead of via the public endpoint.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
A network security group on the subnet.
Why it's wrong here
A network security group on the subnet filters traffic by IP address, port, and protocol, but it does not participate in DNS name resolution. NSGs can control whether traffic is allowed to reach the private endpoint's IP, yet they cannot translate the storage account's FQDN into that IP. Even with the most permissive NSG rules, a client must first resolve the name through DNS, and no NSG rule can create or modify DNS records. Therefore, an NSG is irrelevant to the reported name-resolution failure.
When this WOULD be correct
You need to restrict inbound traffic to a subnet hosting a private endpoint, allowing only specific sources. An NSG on that subnet would filter traffic to the private endpoint's network interface.
- ✓
A private DNS zone linked to VNet-App.
Why this is correct
A private DNS zone linked to VNet-App is required for correct name resolution. When you create a private endpoint, the storage account's FQDN must resolve to the assigned private IP instead of the public endpoint. Linking a private DNS zone—such as privatelink.blob.core.windows.net for Blob Storage—to VNet-App and creating an A record for the private endpoint enables clients in that virtual network to resolve the storage name to the private address. Without this DNS zone, name resolution will still return the public IP, breaking connectivity through the private endpoint.
- ✗
A public DNS zone for the storage account name.
Why it's wrong here
A public DNS zone for the storage account name cannot resolve within VNet-App. You do not own the existing Azure domain (e.g., blob.core.windows.net), so you cannot create an authoritative public zone for that namespace. More importantly, a public DNS zone is queried by external clients and would return the storage account's public IP address, not the private endpoint address. To enable private endpoint resolution, the private DNS zone must be linked to the virtual network; a public zone has no effect on VNet DNS resolution.
When this WOULD be correct
You need to create a custom domain name for an Azure Storage account that is accessible from the internet, and you want to use Azure DNS to manage the DNS records for that custom domain. In that case, you would configure a public DNS zone.
- ✗
A user-defined route table on the subnet.
Why it's wrong here
A user-defined route table on the subnet affects the routing path of IP packets by defining next hops for destination prefixes, but it has no mechanism for DNS resolution. Route tables operate at Layer 3, forwarding already-addressed packets, and cannot map a hostname to an IP address. Even if routing directs traffic correctly toward the private endpoint's IP, the client must still know that IP through name resolution. A route table cannot supply the DNS mapping required to reach the storage account via its hostname, so it does not fix the underlying issue.
When this WOULD be correct
In a scenario where you need to force traffic from a subnet to go through a network virtual appliance (NVA) for inspection or to a specific next hop, you would configure a user-defined route table. For example, to route all outbound traffic from a subnet through a firewall.
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.
✓A private DNS zone linked to VNet-App.Correct answer▾
Why this is correct
A private DNS zone linked to VNet-App is required for correct name resolution. When you create a private endpoint, the storage account's FQDN must resolve to the assigned private IP instead of the public endpoint. Linking a private DNS zone—such as privatelink.blob.core.windows.net for Blob Storage—to VNet-App and creating an A record for the private endpoint enables clients in that virtual network to resolve the storage name to the private address. Without this DNS zone, name resolution will still return the public IP, breaking connectivity through the private endpoint.
✗A network security group on the subnet.Wrong answer — click to see why▾
Why this is wrong here
A network security group (NSG) controls inbound/outbound traffic rules, not DNS resolution. It cannot make a storage account name resolve to a private IP address.
★ When this WOULD be the correct answer
You need to restrict inbound traffic to a subnet hosting a private endpoint, allowing only specific sources. An NSG on that subnet would filter traffic to the private endpoint's network interface.
Why candidates choose this
Candidates may think NSGs can influence name resolution or confuse traffic filtering with DNS routing, assuming security groups can redirect traffic to private IPs.
✗A public DNS zone for the storage account name.Wrong answer — click to see why▾
Why this is wrong here
A public DNS zone is used for internet-facing name resolution, but the requirement is to resolve the storage account name to a private IP within VNet-App. Public zones do not provide private IP resolution for private endpoints.
★ When this WOULD be the correct answer
You need to create a custom domain name for an Azure Storage account that is accessible from the internet, and you want to use Azure DNS to manage the DNS records for that custom domain. In that case, you would configure a public DNS zone.
Why candidates choose this
Candidates may confuse public and private DNS zones, thinking that any DNS zone can resolve names to private IPs, or they may not fully understand that private endpoints require private DNS zones linked to the virtual network.
✗A user-defined route table on the subnet.Wrong answer — click to see why▾
Why this is wrong here
A user-defined route table controls network traffic routing at the subnet level, but DNS resolution is not affected by routing tables. The private endpoint requires DNS resolution to map the storage account name to its private IP, which is achieved via a private DNS zone, not routing.
★ When this WOULD be the correct answer
In a scenario where you need to force traffic from a subnet to go through a network virtual appliance (NVA) for inspection or to a specific next hop, you would configure a user-defined route table. For example, to route all outbound traffic from a subnet through a firewall.
Why candidates choose this
Candidates may confuse network routing with DNS resolution, thinking that controlling the path of traffic (via routes) can also control how names are resolved to IP addresses.
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
Managed Identities for Azure Resources
Key term
VNet
A virtual private network inside a cloud provider that lets you securely connect and isolate your cloud resources.
Key term
IP address
An IP address is a unique numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication.
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.