You have three VNets: Hub-VNet, Spoke1-VNet, and Spoke2-VNet. Both spokes are peered to the Hub. You need VMs in Spoke1 to communicate with VMs in Spoke2 routing through an Azure Firewall deployed in the Hub-VNet. What must you configure?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Configure User-Defined Routes (UDRs) in both spokes pointing the other spoke's address space to the Azure Firewall private IP

VNet peering is non-transitive. To route traffic from one spoke to another through a hub (hub-and-spoke topology), you must create a User-Defined Route (UDR) in each spoke subnet. ...

๐Ÿ“‹Part of Microsoft Certified: Azure Network Engineer Associate (AZ-700) ยท Azure Certification Practice
Real Exam ScenarioVirtual Networks

You have three VNets: Hub-VNet, Spoke1-VNet, and Spoke2-VNet. Both spokes are peered to the Hub. You need VMs in Spoke1 to communicate with VMs in Spoke2 routing through an Azure Firewall deployed in the Hub-VNet. What must you configure?

โœ“ Correct Answer & ExplanationVirtual Networks

Correct Answer

Configure User-Defined Routes (UDRs) in both spokes pointing the other spoke's address space to the Azure Firewall private IP

Why This Answer Is Correct

VNet peering is non-transitive. To route traffic from one spoke to another through a hub (hub-and-spoke topology), you must create a User-Defined Route (UDR) in each spoke subnet. The UDR overrides the default system route, forwarding traffic destined for the other spoke's IP range to the Azure Firewall's private IP as the next hop.

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of Virtual Networks โ€” a core concept tested in Microsoft Certified: Azure Network Engineer Associate (AZ-700). Understanding Virtual Networks is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.