hardmultiple choiceObjective-mapped

A company has multiple Azure VNets deployed in a hub-spoke topology. They want to inspect all outbound internet traffic from spoke VMs using a central firewall and ensure that traffic from all VNets goes through the firewall before reaching the internet. They also need to log all outbound connections. Which architecture should they implement?

Question 1hardmultiple choice
Full question →

A company has multiple Azure VNets deployed in a hub-spoke topology. They want to inspect all outbound internet traffic from spoke VMs using a central firewall and ensure that traffic from all VNets goes through the firewall before reaching the internet. They also need to log all outbound connections. Which architecture should they implement?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Distractor review

Deploy network virtual appliances (NVAs) in each spoke VNet and configure user-defined routes (UDRs) to route internet traffic to the NVAs

This approach is decentralized and creates management overhead. It does not provide a single inspection point or a single outbound public IP.

B

Best answer

Deploy Azure Firewall in the hub VNet and configure a default route (0.0.0.0/0) in each spoke's route table pointing to Azure Firewall as the next hop

This forces all outbound internet traffic from spoke VMs to pass through Azure Firewall in the hub, enabling inspection, logging, and a single public IP for outbound traffic.

C

Distractor review

Use Azure Application Gateway with Web Application Firewall (WAF) in the hub VNet to inspect all traffic

Application Gateway is a layer-7 load balancer for inbound HTTP/S traffic, not a firewall for outbound traffic. It does not handle general internet egress.

D

Distractor review

Deploy Azure Firewall in each spoke VNet and use Azure Monitor to aggregate logs

This is a distributed approach that complicates management and does not provide a centralized egress point. The requirement is to use a central firewall.

Common exam trap

Common exam trap: answer the scenario, not the keyword

Many certification questions include familiar terms but test a specific constraint. Read the exact wording before choosing an answer that is generally true but wrong for this case.

Technical deep dive

How to think about this question

This question should be treated as a scenario, not a definition check. Identify the problem, the constraint and the best action. Then compare each option against those facts.

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.
  • Use explanations to understand the rule behind the answer.

TExam Day Tips

  • Underline the problem statement mentally.
  • 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.

Related practice questions

Related AZ-305 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this AZ-305 question test?

Read the scenario before looking for a memorised answer.

What is the correct answer to this question?

The correct answer is: Deploy Azure Firewall in the hub VNet and configure a default route (0.0.0.0/0) in each spoke's route table pointing to Azure Firewall as the next hop — The recommended architecture is to deploy Azure Firewall in the hub VNet and configure forced tunneling for all spoke VNets to route internet-bound traffic through the firewall. This is achieved by creating a route table in each spoke with a default route (0.0.0.0/0) pointing to the firewall's private IP. The firewall can then inspect and log traffic. Deploying NVAs in each spoke is costly and complex. Azure Application Gateway is not a firewall. Forced tunneling in Azure typically requires a route table with a next hop of a virtual appliance.

What should I do if I get this AZ-305 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.