AZ-104 Implement and Manage Virtual Networking Practice Question
A security team requires all outbound internet traffic from a workload subnet to pass through an NVA at 10.1.4.4. The subnet is already associated with an NSG that allows the traffic. Which UDR should the administrator add to the route table for that subnet?
⚠ Common exam trap
Test-takers frequently confuse the 'Virtual appliance' next hop type with 'Virtual network gateway' or mistakenly think a specific destination like the NVA's IP is needed, rather than understanding that 0.0.0.0/0 is required to capture all outbound internet traffic.
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
✓
Destination 0.0.0.0/0 with next hop type Virtual appliance and next hop IP 10.1.4.4.
A User Defined Route (UDR) with destination 0.0.0.0/0 and next hop type 'Virtual appliance' forces all outbound internet traffic from the subnet to be forwarded to the NVA at 10.1.4.4 for inspection. The 0.0.0.0/0 prefix matches all internet-bound traffic, and the 'Virtual appliance' next hop type enables routing to a private IP address within the virtual network, overriding the default system route that would otherwise send traffic directly to the Internet.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Destination 10.1.4.4/32 with next hop type Internet.
Why it's wrong here
A host route to 10.1.4.4/32 is too specific and only applies to traffic destined to the appliance itself, not to general outbound internet traffic. The next hop type Internet is also incorrect because it would send traffic using Azure's default internet path, not to the NVA's private IP as a next hop. This option fails to override the system default route for 0.0.0.0/0, leaving internet-bound traffic to bypass the security appliance entirely.
When this WOULD be correct
This option would be correct if the requirement was to force all traffic destined to the NVA's IP address (10.1.4.4) to go out to the internet, for example, to bypass the NVA for management traffic or to test connectivity.
- ✓
Destination 0.0.0.0/0 with next hop type Virtual appliance and next hop IP 10.1.4.4.
Why this is correct
To force all internet-bound traffic through a network virtual appliance, the route table needs a default route that matches 0.0.0.0/0 and sends traffic to the appliance's private IP. The next hop type must be Virtual appliance, and the next hop IP should be 10.1.4.4. This overrides Azure's default system route for internet traffic from that subnet, while still allowing NSG rules to control whether the traffic is permitted.
- ✗
Destination 0.0.0.0/0 with next hop type Virtual network gateway.
Why it's wrong here
A Virtual network gateway next hop designates traffic for an IPsec VPN tunnel or ExpressRoute circuit, not for a network virtual appliance (NVA) residing inside the same virtual network. Even if the destination is 0.0.0.0/0, the gateway would attempt to send outbound internet traffic to your on-premises network, not to the appliance at 10.1.4.4. This option is incorrect because the next hop type must be Virtual appliance to forward traffic to the NVA's private IP address, not a VPN/ExpressRoute gateway.
When this WOULD be correct
This option would be correct if the requirement was to route all outbound internet traffic through an on-premises network via a VPN or ExpressRoute gateway, for example, when using forced tunneling to send internet-bound traffic through a corporate network.
- ✗
Destination 10.1.4.0/24 with next hop type None.
Why it's wrong here
This route has the wrong destination prefix: 10.1.4.0/24 only covers the subnet containing the NVA, so internet-bound traffic to other destinations would still match the default system route and bypass the appliance. Moreover, the next hop type None creates a blackhole, causing any traffic that does match this route to be silently dropped instead of being forwarded. To force all outbound internet traffic through the NVA, the route must use 0.0.0.0/0 with the Virtual appliance next hop type and the appliance's IP address.
When this WOULD be correct
This option would be correct if the requirement was to prevent traffic from the workload subnet from reaching the NVA's subnet (10.1.4.0/24), for example, to isolate management traffic. In that case, a route with next hop type None would blackhole traffic to that subnet.
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.
✓Destination 0.0.0.0/0 with next hop type Virtual appliance and next hop IP 10.1.4.4.Correct answer▾
Why this is correct
To force all internet-bound traffic through a network virtual appliance, the route table needs a default route that matches 0.0.0.0/0 and sends traffic to the appliance's private IP. The next hop type must be Virtual appliance, and the next hop IP should be 10.1.4.4. This overrides Azure's default system route for internet traffic from that subnet, while still allowing NSG rules to control whether the traffic is permitted.
✗Destination 10.1.4.4/32 with next hop type Internet.Wrong answer — click to see why▾
Why this is wrong here
The destination 10.1.4.4/32 with next hop type Internet would route traffic destined to the NVA itself to the internet, not through the NVA. The requirement is to route all outbound internet traffic (0.0.0.0/0) through the NVA, not traffic to the NVA.
★ When this WOULD be the correct answer
This option would be correct if the requirement was to force all traffic destined to the NVA's IP address (10.1.4.4) to go out to the internet, for example, to bypass the NVA for management traffic or to test connectivity.
Why candidates choose this
Candidates may mistakenly think that adding a route to the NVA's IP address will force traffic through it, not understanding that the default route (0.0.0.0/0) is needed to redirect all internet-bound traffic.
✗Destination 0.0.0.0/0 with next hop type Virtual network gateway.Wrong answer — click to see why▾
Why this is wrong here
This option sets the next hop to Virtual network gateway, which sends traffic to Azure VPN or ExpressRoute gateways, not to the NVA. The requirement is to route all outbound internet traffic through the NVA at 10.1.4.4, so the next hop must be Virtual appliance with that IP.
★ When this WOULD be the correct answer
This option would be correct if the requirement was to route all outbound internet traffic through an on-premises network via a VPN or ExpressRoute gateway, for example, when using forced tunneling to send internet-bound traffic through a corporate network.
Why candidates choose this
Candidates may confuse the Virtual network gateway next hop type with the Virtual appliance type, or assume that any gateway can route traffic to the internet, not realizing that Virtual network gateway is specifically for site-to-site connectivity.
✗Destination 10.1.4.0/24 with next hop type None.Wrong answer — click to see why▾
Why this is wrong here
Destination 10.1.4.0/24 with next hop type None would only affect traffic destined to the NVA's subnet, not all outbound internet traffic. The requirement is to route all outbound internet traffic (0.0.0.0/0) through the NVA, so this route does not apply to internet-bound traffic.
★ When this WOULD be the correct answer
This option would be correct if the requirement was to prevent traffic from the workload subnet from reaching the NVA's subnet (10.1.4.0/24), for example, to isolate management traffic. In that case, a route with next hop type None would blackhole traffic to that subnet.
Why candidates choose this
Candidates might think that specifying the NVA's subnet as the destination is sufficient to route traffic through it, misunderstanding that a default route (0.0.0.0/0) is needed to capture all internet-bound traffic.
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
Azure Virtual Machine Deployment
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.
Key term
Route
A route is a path that data takes through a network from one device or network to another, determined by routing protocols and configured rules.
About these practice questions
Courseiva writes every AZ-104 question from scratch — 1,049 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on AZ-104
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A security team requires all outbound traffic from a subnet to pass through an Azure Firewall at 10.1.0.4, including internet-bound traffic from the VMs. What should the administrator configure?
medium- A.Assign a NAT gateway to the subnet and leave the default routing in place.
- ✓ B.Create a route table with a 0.0.0.0/0 route to 10.1.0.4 and associate it with the subnet.
- C.Enable service endpoints for the subnet so outbound traffic stays private.
- D.Deploy a public IP on each VM and use NSG rules to inspect the traffic.
Why B: Creating a route table with a default route (0.0.0.0/0) pointing to the Azure Firewall private IP (10.1.0.4) and associating it with the subnet forces all outbound traffic, including internet-bound traffic, to be routed through the firewall. This ensures the firewall can inspect and control all egress traffic as required by the security team.
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.