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. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. 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.
Why wrong: Removing the NAT gateway would reduce outbound options, not direct traffic to the desired egress path.
B
Remove the 0.0.0.0/0 user-defined route to the virtual appliance.
A user-defined default route overrides the subnet's normal internet egress behavior and sends traffic to the appliance instead. Removing that route lets the NAT gateway handle outbound connections from the subnet.
C
Change the route table source address to 10.1.0.4.
Why wrong: Route tables do not use a source address field in that way, and this does not alter outbound path selection.
D
Enable a service endpoint on the subnet.
Why wrong: Service endpoints are for access to supported Azure services, not for choosing outbound internet routing.
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 user-defined route to the virtual appliance.
The correct answer is B because the user-defined route (UDR) with destination 0.0.0.0/0 pointing to the virtual appliance is overriding the default route to the NAT gateway. For outbound internet traffic to use the NAT gateway, the 0.0.0.0/0 route must point to the NAT gateway's private IP address or be removed entirely so the system route to the NAT gateway takes precedence. Removing this UDR allows the NAT gateway to handle all outbound traffic from the subnet.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✗
Detach the subnet from the NAT gateway.
Why it's wrong here
Removing the NATgateway would reduce outbound options, not direct traffic to the desired egress path.
When this WOULD be correct
This option would be correct if the question asked how to stop outbound internet traffic from using the NATgateway, for example, to route traffic through a different egress method like a firewall.
✓
Remove the 0.0.0.0/0 user-defined route to the virtual appliance.
Why this is correct
A user-defined default route overrides the subnet's normal internet egress behavior and sends traffic to the appliance instead. Removing that route lets the NAT gateway handle outbound connections from the subnet.
Related concept
Read the scenario before looking for a memorised answer.
✗
Change the route table source address to 10.1.0.4.
Why it's wrong here
Route tables do not use a source address field in that way, and this does not alter outbound path selection.
When this WOULD be correct
This option would be correct in a scenario where the question asks how to implement source network address translation (SNAT) for a specific VM or resource, and the answer involves modifying a source address in a custom routing rule or NAT rule (though Azure route tables do not support source-based routing; this might apply in a different context like a firewall rule).
✗
Enable a service endpoint on the subnet.
Why it's wrong here
Service endpoints are for access to supported Azure services, not for choosing outbound internet routing.
When this WOULD be correct
If the question asked how to allow a subnet to access Azure Storage or SQL Database over the Microsoft backbone network without using a public IP or NATgateway, enabling a service endpoint on the subnet would be the correct answer.
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.
✓Remove the 0.0.0.0/0 user-defined route to the virtual appliance.Correct answer▾
Why this is correct
A user-defined default route overrides the subnet's normal internet egress behavior and sends traffic to the appliance instead. Removing that route lets the NAT gateway handle outbound connections from the subnet.
✗Detach the subnet from the NAT gateway.Wrong answer — click to see why▾
Why this is wrong here
Detaching the subnet from the NAT gateway would remove NAT gateway connectivity, preventing outbound internet traffic from using the NAT gateway. The goal is to ensure traffic uses the NAT gateway, not to disconnect it.
★ When this WOULD be the correct answer
This option would be correct if the question asked how to stop outbound internet traffic from using the NAT gateway, for example, to route traffic through a different egress method like a firewall.
Why candidates choose this
Candidates may think that detaching and reattaching the subnet is a necessary step to reconfigure routing, or they confuse the action of removing a conflicting route with modifying the NAT gateway attachment.
✗Change the route table source address to 10.1.0.4.Wrong answer — click to see why▾
Why this is wrong here
Changing the route table source address to 10.1.0.4 is not a valid configuration; route tables use address prefixes (e.g., 0.0.0.0/0) to define destinations, not source addresses. This action does not affect outbound traffic routing through the NAT gateway.
★ When this WOULD be the correct answer
This option would be correct in a scenario where the question asks how to implement source network address translation (SNAT) for a specific VM or resource, and the answer involves modifying a source address in a custom routing rule or NAT rule (though Azure route tables do not support source-based routing; this might apply in a different context like a firewall rule).
Why candidates choose this
Candidates may confuse route table configuration with firewall rules or NAT rules that specify source addresses, or incorrectly believe that changing the source address in a route can redirect traffic.
✗Enable a service endpoint on the subnet.Wrong answer — click to see why▾
Why this is wrong here
Enabling a service endpoint on the subnet does not affect outbound internet traffic routing; it only allows private traffic to Azure service endpoints. The NAT gateway requires a default route (0.0.0.0/0) pointing to the NAT gateway, not a service endpoint.
★ When this WOULD be the correct answer
If the question asked how to allow a subnet to access Azure Storage or SQL Database over the Microsoft backbone network without using a public IP or NAT gateway, enabling a service endpoint on the subnet would be the correct answer.
Why candidates choose this
Candidates may confuse service endpoints with NAT gateway functionality, thinking that enabling a service endpoint provides internet access, or they may assume that service endpoints are required for NAT 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?”
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often assume a NAT gateway automatically handles all outbound traffic without considering that a conflicting user-defined route (0.0.0.0/0) to a virtual appliance will override the NAT gateway's default route, causing traffic to bypass the NAT gateway entirely.
Detailed technical explanation
How to think about this question
Azure NATgateway uses a default system route (0.0.0.0/0) with a next hop type of 'Internet' that is automatically created when the NAT gateway is attached to a subnet. However, any user-defined route (UDR) with the same destination prefix (0.0.0.0/0) takes precedence over the system route, even if the UDR points to a virtual appliance. This is because UDRs have a higher effective priority than system routes, and the route with the most specific match (or, for equal prefixes, the UDR) wins. In real-world scenarios, this often causes silent failures where traffic is sent to a firewall or NVA instead of the NAT gateway, leading to asymmetric routing or dropped connections.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
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
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
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.
Visual reference
Related glossary terms
Concepts from this question explained
These glossary pages explain the core terms tested in this AZ-104 question in full detail.
Implement and Manage Virtual Networking — This question tests Implement and Manage Virtual Networking — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Remove the 0.0.0.0/0 user-defined route to the virtual appliance. — The correct answer is B because the user-defined route (UDR) with destination 0.0.0.0/0 pointing to the virtual appliance is overriding the default route to the NAT gateway. For outbound internet traffic to use the NAT gateway, the 0.0.0.0/0 route must point to the NAT gateway's private IP address or be removed entirely so the system route to the NAT gateway takes precedence. Removing this UDR allows the NAT gateway to handle all outbound traffic from the subnet.
What should I do if I get this AZ-104 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
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 →
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.
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.