- A
Leave the route table unchanged because the NAT gateway always overrides a default UDR.
Why wrong: A NAT gateway does not override a more specific or equal routing decision from a UDR.
- B
Remove the 0.0.0.0/0 UDR and add only the specific private-prefix routes that must go to the appliance.
A NAT gateway provides outbound internet translation when the subnet uses the default internet route. If a 0.0.0.0/0 UDR sends traffic to an appliance, that route wins and the NAT gateway is bypassed. To meet both requirements, keep specific routes for corporate/private prefixes toward the appliance and let internet-bound traffic follow the system route, where the NAT gateway can provide stable outbound IPs.
- C
Disable source NAT on the network virtual appliance.
Why wrong: Changing SNAT behavior on the appliance does not change the Azure routing decision that sends traffic there first.
- D
Create a private endpoint for internet traffic so outbound packets stay in Azure.
Why wrong: Private endpoints are for private access to PaaS services, not for general internet egress control.
Quick Answer
The answer is to remove the 0.0.0.0/0 user-defined route and add only the specific private-prefix routes that must go to the appliance. This is correct because a NAT gateway with user-defined route internet traffic conflict arises when a 0.0.0.0/0 UDR exists; the NAT gateway’s default route for internet-bound traffic is overridden by that explicit route, forcing everything through the network virtual appliance instead. On the AZ-104 exam, this scenario tests your understanding of route precedence and how NAT gateways interact with custom routing—a common trap is assuming the NAT gateway automatically wins, but it only activates when no 0.0.0.0/0 UDR is present. The key is to remember that the NAT gateway provides the default internet path, so you must remove the catch-all UDR and route only your corporate prefixes (like 10.0.0.0/8) to the NVA. Memory tip: “Default for internet, specific for inspection”—let the NAT handle 0.0.0.0/0, and route only your private ranges to the appliance.
AZ-104 Implement and Manage Virtual Networking Practice Question
This AZ-104 practice question tests your understanding of implement and manage virtual networking. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. A key principle to apply: uDRs for 0.0.0.0/0 override the system default internet route.. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A subnet has a user-defined route for 0.0.0.0/0 that sends all outbound traffic to a network virtual appliance for inspection. The business now attaches a NAT gateway to the subnet and wants internet-bound traffic to use the NAT gateway's public IP, while traffic to private corporate prefixes should still go to the appliance. What should the administrator change?
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
Remove the 0.0.0.0/0 UDR and add only the specific private-prefix routes that must go to the appliance.
The 0.0.0.0/0 user-defined route (UDR) sends all outbound traffic to the network virtual appliance (NVA). A NAT gateway provides outbound connectivity with a public IP, but it only takes effect when there is no explicit 0.0.0.0/0 route overriding it. By removing the 0.0.0.0/0 UDR and adding only specific private-prefix routes (e.g., 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) pointing to the NVA, internet-bound traffic will use the NAT gateway (via its default route), while corporate traffic is still forced through the appliance.
Key principle: UDRs for 0.0.0.0/0 override the system default internet route.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Leave the route table unchanged because the NAT gateway always overrides a default UDR.
- ✓
Remove the 0.0.0.0/0 UDR and add only the specific private-prefix routes that must go to the appliance.
Why this is correct
A NAT gateway provides outbound internet translation when the subnet uses the default internet route. If a 0.0.0.0/0 UDR sends traffic to an appliance, that route wins and the NAT gateway is bypassed. To meet both requirements, keep specific routes for corporate/private prefixes toward the appliance and let internet-bound traffic follow the system route, where the NAT gateway can provide stable outbound IPs.
Related concept
UDRs for 0.0.0.0/0 override the system default internet route.
- ✗
Disable source NAT on the network virtual appliance.
Why it's wrong here
Changing SNAT behavior on the appliance does not change the Azure routing decision that sends traffic there first.
- ✗
Create a private endpoint for internet traffic so outbound packets stay in Azure.
Why it's wrong here
Private endpoints are for private access to PaaS services, not for general internet egress control.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates assume a NAT gateway automatically overrides any existing default route, but in Azure, a user-defined route (UDR) for 0.0.0.0/0 takes precedence over the NAT gateway's implicit default, so the UDR must be removed or made less specific to allow the NAT gateway to handle internet-bound traffic.
Detailed technical explanation
How to think about this question
Azure's routing uses the longest prefix match; a 0.0.0.0/0 UDR is more specific than the system default route (0.0.0.0/0) but equally specific to the NAT gateway's implicit default. However, user-defined routes take precedence over the NAT gateway's default route when both are present. The NAT gateway works by replacing the default route of the subnet with its own, but only if no conflicting UDR exists. In practice, this allows hybrid connectivity where on-premises traffic (via VPN/ExpressRoute) or private IP ranges are routed through an NVA, while internet traffic uses the NAT gateway's public IP for SNAT.
KKey Concepts to Remember
- UDRs for 0.0.0.0/0 override the system default internet route.
- NAT Gateway requires the system default internet route to function for internet egress.
- Specific UDRs for private prefixes can coexist with NAT Gateway for internet traffic.
- Azure routing precedence: Most specific route wins, then UDRs over system routes.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
UDRs for 0.0.0.0/0 override the system default internet route.
Real-world example
How this comes up in practice
A healthcare organisation deploys an application with a public-facing web tier and a private database tier. The database subnet has no public IP and only accepts connections from the web tier's security group. Questions like this test whether you can design cloud network isolation using VNets/VPCs, subnets, and security group rules.
What to study next
Got this wrong? Here's your next step.
Review uDRs for 0.0.0.0/0 override the system default internet route., then practise related AZ-104 questions on the same topic to reinforce the concept.
- →
Implement and Manage Virtual Networking — study guide chapter
Learn the concepts, then practise the questions
- →
Implement and Manage Virtual Networking practice questions
Targeted practice on this topic area only
- →
All AZ-104 questions
1,170 questions across all exam domains
- →
AZ-104 study guide
Full concept coverage aligned to exam objectives
- →
AZ-104 practice test guide
How to use practice tests most effectively before exam day
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.
Manage Azure Identities and Governance practice questions
Practise AZ-104 questions linked to Manage Azure Identities and Governance.
Implement and Manage Storage practice questions
Practise AZ-104 questions linked to Implement and Manage Storage.
Deploy and Manage Azure Compute practice questions
Practise AZ-104 questions linked to Deploy and Manage Azure Compute.
Implement and Manage Virtual Networking practice questions
Practise AZ-104 questions linked to Implement and Manage Virtual Networking.
Monitor and Maintain Azure Resources practice questions
Practise AZ-104 questions linked to Monitor and Maintain Azure Resources.
AZ-104 Azure RBAC practice questions
Practise AZ-104 questions linked to AZ-104 Azure RBAC.
AZ-104 storage account practice questions
Practise AZ-104 questions linked to AZ-104 storage account.
AZ-104 virtual network practice questions
Practise AZ-104 questions linked to AZ-104 virtual network.
AZ-104 NSG practice questions
Practise AZ-104 questions linked to AZ-104 NSG.
AZ-104 Azure Monitor practice questions
Practise AZ-104 questions linked to AZ-104 Azure Monitor.
AZ-104 backup practice questions
Practise AZ-104 questions linked to AZ-104 backup.
AZ-104 managed identity practice questions
Practise AZ-104 questions linked to AZ-104 managed identity.
Practice this exam
Start a free AZ-104 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this AZ-104 question test?
Implement and Manage Virtual Networking — This question tests Implement and Manage Virtual Networking — UDRs for 0.0.0.0/0 override the system default internet route..
What is the correct answer to this question?
The correct answer is: Remove the 0.0.0.0/0 UDR and add only the specific private-prefix routes that must go to the appliance. — The 0.0.0.0/0 user-defined route (UDR) sends all outbound traffic to the network virtual appliance (NVA). A NAT gateway provides outbound connectivity with a public IP, but it only takes effect when there is no explicit 0.0.0.0/0 route overriding it. By removing the 0.0.0.0/0 UDR and adding only specific private-prefix routes (e.g., 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) pointing to the NVA, internet-bound traffic will use the NAT gateway (via its default route), while corporate traffic is still forced through the appliance.
What should I do if I get this AZ-104 question wrong?
Review uDRs for 0.0.0.0/0 override the system default internet route., then practise related AZ-104 questions on the same topic to reinforce the concept.
What is the key concept behind this question?
UDRs for 0.0.0.0/0 override the system default internet route.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 11, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.