Question 495 of 1,000
Secure networkinghardMultiple ChoiceObjective-mapped

Quick Answer

The answer is Azure Firewall, the fully stateful, managed firewall service that must be deployed in the hub virtual network to inspect and filter all inter-spoke traffic in a hub-spoke topology. Azure Firewall is the correct choice because it maintains stateful packet inspection at Layers 3–7, tracking the state of active connections to detect and block malicious content across spoke-to-spoke flows. On the AZ-500 exam, this scenario tests your understanding of how user-defined routes (UDRs) force traffic through the hub’s Azure Firewall for centralized inspection, a common pattern for securing east-west traffic. A frequent trap is selecting a network security group (NSG), which is stateless and cannot perform deep packet inspection or maintain connection state across spokes. Remember the key distinction: Azure Firewall is stateful and managed; NSGs are stateless and apply only at the subnet or NIC level. For a quick memory tip, think “Hub Firewall, Spoke Flow” — the hub’s Azure Firewall is the single chokepoint for all inter-spoke stateful inspection.

AZ-500 Secure networking Practice Question

This AZ-500 practice question tests your understanding of secure 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.

A company has a hub-spoke network topology in Azure. They need to inspect and filter all traffic flowing between spoke virtual networks for malicious content and require that the inspection is stateful. Which Azure-native service should they deploy in the hub virtual network to meet this requirement?

Question 1hardmultiple choice
Read the full NAT/PAT explanation →

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

Azure Firewall

Azure Firewall is the correct choice because it is a fully stateful, managed firewall service that can inspect and filter traffic at Layers 3–7. In a hub-spoke topology, deploying Azure Firewall in the hub virtual network allows it to centrally inspect all traffic flowing between spoke virtual networks via forced tunneling (user-defined routes) or through the hub's network virtual appliance, meeting the requirement for stateful inspection of inter-spoke traffic.

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.

  • Azure Firewall

    Why this is correct

    Azure Firewall provides stateful inspection and can filter traffic between spoke VNets when configured as a hub. It supports network and application rules, including threat intelligence-based filtering.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Network Security Groups (NSG) on the peering connections

    Why it's wrong here

    NSGs are stateful for individual flows but cannot inspect or filter traffic at the peering level effectively. They are also limited to Layer 3/4 and cannot provide application-layer inspection.

  • Azure Application Gateway with WAF

    Why it's wrong here

    Application Gateway is a Layer 7 load balancer with Web Application Firewall (WAF) for HTTP/HTTPS traffic. It does not handle general inter-VNet traffic.

  • Azure DDoS Protection Standard

    Why it's wrong here

    DDoS Protection protects against distributed denial-of-service attacks at the network layer but does not inspect or filter normal traffic between VNets.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse NSGs as stateful (they are stateless) or assume Azure Firewall is only for internet-bound traffic, missing that it can also inspect east-west traffic between spoke VNets via forced tunneling.

Detailed technical explanation

How to think about this question

Azure Firewall uses a stateful packet inspection engine that tracks the state of active connections (e.g., TCP handshake, UDP flows) and allows return traffic automatically. In a hub-spoke topology, you configure user-defined routes (UDRs) on each spoke subnet to force inter-spoke traffic through the Azure Firewall's private IP in the hub, ensuring all traffic is inspected. A subtle behavior is that Azure Firewall supports SNAT for outbound traffic to the internet but does not SNAT traffic between spoke VNets by default, preserving the original source IP for logging and inspection.

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.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

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.

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 — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Azure Firewall — Azure Firewall is the correct choice because it is a fully stateful, managed firewall service that can inspect and filter traffic at Layers 3–7. In a hub-spoke topology, deploying Azure Firewall in the hub virtual network allows it to centrally inspect all traffic flowing between spoke virtual networks via forced tunneling (user-defined routes) or through the hub's network virtual appliance, meeting the requirement for stateful inspection of inter-spoke traffic.

What should I do if I get this AZ-500 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 →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more ways this is tested on AZ-500

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 company uses a hub-spoke network topology in Azure. They need to inspect and filter all traffic flowing between spoke virtual networks for security compliance. Which Azure-native service should be deployed in the hub virtual network to achieve this?

medium
  • A.Azure Firewall
  • B.Network Virtual Appliance (NVA)
  • C.Azure VPN Gateway
  • D.Azure Load Balancer

Why A: Azure Firewall is a fully managed, stateful firewall-as-a-service that can inspect and filter traffic between spoke virtual networks when deployed in the hub VNet. It supports application (FQDN) and network (IP/port/protocol) rules, and can enforce security compliance by logging and blocking non-compliant traffic. Unlike a Network Virtual Appliance (NVA), Azure Firewall is a native PaaS service with built-in high availability and auto-scaling, making it the recommended choice for hub-spoke traffic inspection.

Last reviewed: Jun 11, 2026

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.

Loading comments…

Sign in to join the discussion.

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.