AZ-104 Implement and Manage Virtual Networking Practice Question
A subnet has a user-defined route for 0.0.0.0/0 that sends traffic to a network virtual appliance at 10.10.1.4. The VM in the subnet still reaches an Azure Storage account using the public endpoint, but the administrator expected all outbound traffic to go through the NVA. What is the most likely reason?
⚠ Common exam trap
A common mix-up: candidates assume a default route (0.0.0.0/0) will catch all outbound traffic, forgetting that Azure's platform routes for Azure services (like Storage) can be more specific and take precedence over user-defined routes.
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
✓
The storage account traffic is using a more specific route than the 0.0.0.0/0 route.
The most likely reason is that the storage account traffic is using a more specific route than the 0.0.0.0/0 route. Azure uses longest prefix match routing, so a route with a smaller prefix (e.g., a specific public IP range for Azure Storage) will take precedence over the default route. The 0.0.0.0/0 route only applies when no more specific route exists, and Azure automatically adds platform routes for Azure services like Storage, which can override user-defined routes.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Azure always ignores user-defined routes for storage traffic.
Why it's wrong here
Azure does not unconditionally ignore user-defined routes for storage traffic; the routing decision is prefix-based and depends on what other routes exist. While Microsoft's recommended design is to use service endpoints or private endpoints for controlled access to Storage, a UDR with a specific address prefix for the storage account's public IP can absolutely override the system route. The claim of 'always' is false because route selection follows longest-prefix match, and a custom route can win over the default 0.0.0.0/0. However, storage traffic over the Azure backbone may be affected by inherent platform routing, so the actual path depends on the effective route table.
When this WOULD be correct
In a scenario where a question states that Azure Storage traffic must always use the Microsoft backbone network and cannot be forced through a network virtual appliance, this option would be correct if the question explicitly says Azure ignores UDRs for storage traffic due to a service-specific route that cannot be overridden.
- ✓
The storage account traffic is using a more specific route than the 0.0.0.0/0 route.
Why this is correct
Route selection prefers the most specific matching prefix. If a more specific route exists for the storage destination, it can win over the default route to the NVA. This is why forced tunneling designs must be checked against specific system or learned routes. Understanding route precedence is essential when traffic does not follow the default next hop that appears to be in place.
- ✗
NSG outbound rules override user-defined routes in Azure.
Why it's wrong here
Network security groups enforce allow or deny decisions on traffic at the network interface or subnet, but they do not influence next-hop selection. A UDR, on the other hand, is a routing construct that tells the Azure platform which virtual appliance or custom gateway should receive traffic destined for a given prefix. NSGs can block traffic that the UDR would route, but they cannot change the route itself; they are a filter, not a route override. Therefore, outbound NSG rules do not work as a higher-priority mechanism than user-defined routes.
When this WOULD be correct
In a scenario where a VM cannot reach the internet despite having a default route via an NVA, and the NVA is correctly configured, an NSG outbound rule blocking traffic (e.g., deny all outbound) could be the cause. The question would specify that routing is correct but connectivity fails.
- ✗
The subnet needs a public IP address assigned to each VM for the route to take effect.
Why it's wrong here
A user-defined route does not depend on a VM having a public IP address. UDRs in Azure direct traffic at Layer 3 based on destination prefix, regardless of whether the source or destination has a public IP. Even VMs in a subnet with no public IPs will apply the effective route table to private traffic, so the absence of public IPs cannot prevent the 0.0.0.0/0 route from taking effect. Thus this statement is incorrect.
When this WOULD be correct
If the question asked why a VM cannot initiate outbound internet traffic despite having a default route, and the VM lacked a public IP or NAT configuration, then assigning a public IP would be necessary for outbound connectivity.
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.
✓The storage account traffic is using a more specific route than the 0.0.0.0/0 route.Correct answer▾
Why this is correct
Route selection prefers the most specific matching prefix. If a more specific route exists for the storage destination, it can win over the default route to the NVA. This is why forced tunneling designs must be checked against specific system or learned routes. Understanding route precedence is essential when traffic does not follow the default next hop that appears to be in place.
✗Azure always ignores user-defined routes for storage traffic.Wrong answer — click to see why▾
Why this is wrong here
Azure does not ignore user-defined routes for storage traffic; UDRs apply to all traffic, including storage. The issue is that a more specific route (e.g., to the storage service tag) overrides the 0.0.0.0/0 route.
★ When this WOULD be the correct answer
In a scenario where a question states that Azure Storage traffic must always use the Microsoft backbone network and cannot be forced through a network virtual appliance, this option would be correct if the question explicitly says Azure ignores UDRs for storage traffic due to a service-specific route that cannot be overridden.
Why candidates choose this
Candidates may mistakenly believe that Azure Storage traffic is exempt from UDRs because of Azure's default routing behavior for PaaS services, or they confuse UDRs with service endpoints or private endpoints.
✗NSG outbound rules override user-defined routes in Azure.Wrong answer — click to see why▾
Why this is wrong here
NSG outbound rules do not override user-defined routes; they are evaluated after routing decisions. Routes determine the next hop, and NSGs filter traffic based on that route, but they cannot change the path.
★ When this WOULD be the correct answer
In a scenario where a VM cannot reach the internet despite having a default route via an NVA, and the NVA is correctly configured, an NSG outbound rule blocking traffic (e.g., deny all outbound) could be the cause. The question would specify that routing is correct but connectivity fails.
Why candidates choose this
Candidates often confuse the order of evaluation between NSGs and routes, thinking NSGs can override routing decisions, or they overestimate the role of NSGs in path selection.
✗The subnet needs a public IP address assigned to each VM for the route to take effect.Wrong answer — click to see why▾
Why this is wrong here
A public IP address is not required for a user-defined route to take effect; the route applies to all traffic from the subnet regardless of public IP assignment.
★ When this WOULD be the correct answer
If the question asked why a VM cannot initiate outbound internet traffic despite having a default route, and the VM lacked a public IP or NAT configuration, then assigning a public IP would be necessary for outbound connectivity.
Why candidates choose this
Candidates may confuse the need for a public IP for outbound internet access with the functionality of user-defined routes, incorrectly assuming routes require public IPs to work.
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
Subnet
A subnet is a logical subdivision of an IP network, created by partitioning a larger network address space using subnet masks.
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.