- A
The NVA does not have IP forwarding enabled on its network interface
When an NVA is used as a next hop in a route table, it must have IP forwarding enabled. Without it, the NVA drops packets that are not destined for its own IP, effectively preventing traffic from being routed through it.
- B
The UDR on VNet-B must also include a route for the default route (0.0.0.0/0) to force all traffic through the NVA
Why wrong: The scenario only concerns traffic between VNet-B and VNet-A. A default route is not required to force traffic between the two VNets through the NVA; the specific route for the VNet-A address space should be sufficient.
- C
VNet peering does not support user-defined routes
Why wrong: VNet peering supports user-defined routes. You can apply UDRs to subnets in one VNet to control traffic to the peered VNet.
- D
The NVA must be deployed in the same subnet as the source VMs in VNet-B
Why wrong: The NVA can be in a different VNet as long as routing is correctly configured. The issue is not about the NVA's location but about forwarding capabilities.
AZ-500 Secure networking Practice Question
This AZ-500 practice question tests your understanding of secure networking. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. A key principle to apply: iP forwarding allows an NVA to route traffic not destined for its own IP.. 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 company has two Azure virtual networks, VNet-A (hub) and VNet-B (spoke), connected via VNet peering. They deployed a network virtual appliance (NVA) in a subnet in VNet-A to inspect all traffic. They configured a user-defined route (UDR) on the subnet in VNet-B that points the VNet-A address space (10.0.0.0/16) to the private IP of the NVA. However, traffic initiated from VNet-B to VNet-A still takes a direct path and bypasses the NVA. What is the most likely cause?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue:
"most likely"Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
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 NVA does not have IP forwarding enabled on its network interface
The most likely cause is that the NVA's network interface does not have IP forwarding enabled. In Azure, a network interface must have the 'Enable IP forwarding' setting enabled to allow the NVA to receive traffic not destined to its own IP address and forward it to the intended destination. Without this setting, the NVA drops any traffic that is not addressed to its own IP, so even though the UDR on VNet-B directs traffic to the NVA's private IP, the NVA cannot forward it to VNet-A, and the traffic instead takes the direct VNet peering path.
Key principle: IP forwarding allows an NVA to route traffic not destined for its own IP.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
The NVA does not have IP forwarding enabled on its network interface
Why this is correct
When an NVA is used as a next hop in a route table, it must have IP forwarding enabled. Without it, the NVA drops packets that are not destined for its own IP, effectively preventing traffic from being routed through it.
Clue confirmation
The clue word "most likely" in the question point toward this answer.
Related concept
IP forwarding allows an NVA to route traffic not destined for its own IP.
- ✗
The UDR on VNet-B must also include a route for the default route (0.0.0.0/0) to force all traffic through the NVA
Why it's wrong here
The scenario only concerns traffic between VNet-B and VNet-A. A default route is not required to force traffic between the two VNets through the NVA; the specific route for the VNet-A address space should be sufficient.
- ✗
VNet peering does not support user-defined routes
Why it's wrong here
VNet peering supports user-defined routes. You can apply UDRs to subnets in one VNet to control traffic to the peered VNet.
- ✗
The NVA must be deployed in the same subnet as the source VMs in VNet-B
Why it's wrong here
The NVA can be in a different VNet as long as routing is correctly configured. The issue is not about the NVA's location but about forwarding capabilities.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often assume that simply configuring a UDR is sufficient to force traffic through an NVA, overlooking the mandatory IP forwarding setting on the NVA's NIC, which is a distinct Azure-specific requirement not present in on-premises routing scenarios.
Trap categories for this question
Scenario analysis trap
The scenario only concerns traffic between VNet-B and VNet-A. A default route is not required to force traffic between the two VNets through the NVA; the specific route for the VNet-A address space should be sufficient.
Detailed technical explanation
How to think about this question
Under the hood, Azure's software-defined network (SDN) stack uses the host's virtual switch to enforce UDRs. When a VM in VNet-B sends a packet to 10.0.0.1, the host checks the UDR and forwards the packet to the NVA's private IP. However, the NVA's NIC must have IP forwarding enabled (set via Azure Resource Manager or PowerShell) so that the host does not drop the packet at the NIC level; without it, the host's networking stack treats the packet as destined for the NVA itself and does not pass it to the guest OS for routing. This is a common misconfiguration in hub-spoke architectures where NVAs are used for traffic inspection.
KKey Concepts to Remember
- IP forwarding allows an NVA to route traffic not destined for its own IP.
- IP forwarding is enabled on the network interface of the Azure VM acting as an NVA.
- Without IP forwarding, an NVA will drop packets not addressed to itself.
- UDRs direct traffic to an NVA, but IP forwarding ensures the NVA retransmits it.
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
IP forwarding allows an NVA to route traffic not destined for its own IP.
Real-world example
How this comes up in practice
An e-commerce site experiences heavy traffic on Black Friday and near-zero traffic during off-peak weeks. Rather than provisioning permanent large VMs, the team uses auto-scaling groups that add capacity automatically under load and reduce it overnight. Questions like this test whether you understand elasticity, availability zones, and cloud compute scaling patterns.
What to study next
Got this wrong? Here's your next step.
Review iP forwarding allows an NVA to route traffic not destined for its own IP., then practise related AZ-500 questions on the same topic to reinforce the concept.
- →
Secure networking — study guide chapter
Learn the concepts, then practise the questions
- →
Secure networking practice questions
Targeted practice on this topic area only
- →
All AZ-500 questions
1,000 questions across all exam domains
- →
Microsoft Azure Security Engineer Associate AZ-500 study guide
Full concept coverage aligned to exam objectives
- →
AZ-500 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related AZ-500 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Secure identity and access practice questions
Practise AZ-500 questions linked to Secure identity and access.
Secure compute, storage, and databases practice questions
Practise AZ-500 questions linked to Secure compute, storage, and databases.
Secure Azure using Microsoft Defender for Cloud and Microsoft Sentinel practice questions
Practise AZ-500 questions linked to Secure Azure using Microsoft Defender for Cloud and Microsoft Sentinel.
Manage identity and access practice questions
Practise AZ-500 questions linked to Manage identity and access.
Secure networking practice questions
Practise AZ-500 questions linked to Secure networking.
AZ-500 fundamentals practice questions
Practise AZ-500 questions linked to AZ-500 fundamentals.
AZ-500 scenario practice questions
Practise AZ-500 questions linked to AZ-500 scenario.
AZ-500 troubleshooting practice questions
Practise AZ-500 questions linked to AZ-500 troubleshooting.
Practice this exam
Start a free AZ-500 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-500 question test?
Secure networking — This question tests Secure networking — IP forwarding allows an NVA to route traffic not destined for its own IP..
What is the correct answer to this question?
The correct answer is: The NVA does not have IP forwarding enabled on its network interface — The most likely cause is that the NVA's network interface does not have IP forwarding enabled. In Azure, a network interface must have the 'Enable IP forwarding' setting enabled to allow the NVA to receive traffic not destined to its own IP address and forward it to the intended destination. Without this setting, the NVA drops any traffic that is not addressed to its own IP, so even though the UDR on VNet-B directs traffic to the NVA's private IP, the NVA cannot forward it to VNet-A, and the traffic instead takes the direct VNet peering path.
What should I do if I get this AZ-500 question wrong?
Review iP forwarding allows an NVA to route traffic not destined for its own IP., then practise related AZ-500 questions on the same topic to reinforce the concept.
Are there clue words in this question I should notice?
Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
What is the key concept behind this question?
IP forwarding allows an NVA to route traffic not destined for its own IP.
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 →
Keep practising
More AZ-500 practice questions
- A public web application should be protected from OWASP-style attacks and network-layer DDoS attacks. Which two Azure se…
- A security analyst uses Microsoft Defender for Cloud. They want to view a list of all security recommendations for their…
- A company uses Azure AD B2B collaboration to invite external vendors. They want to restrict the vendors to only be able…
- A company uses Defender for Servers Plan 2. Which two capabilities are included compared with a basic posture-only confi…
- A Sentinel detection should enrich alerts with business-critical asset context. Which two mechanisms are appropriate?
- A company uses Microsoft Defender for Cloud to manage its security posture. The compliance team wants to monitor the sub…
Last reviewed: Jun 11, 2026
This AZ-500 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-500 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.