A financial services firm wants all internet-bound traffic from VMs in a spoke VNet to be routed back to their on-premises security stack (forced tunneling) over an existing Site-to-Site VPN. Which Azure configuration pattern will accomplish forced tunneling while preserving route propagation from the VPN connection?
Choose an answer
Tap an option to check your answer.
Correct answer: Deploy a User-Defined Route (UDR) in the spoke VNet with 0.0.0.0/0 next hop set to the virtual network gateway, and ensure the on-premises edge router advertises 0.0.0.0/0 over BGP into Azure so the gateway propagates the default route to the spoke..
Why this is the answer
The correct option describes the standard and recommended method for implementing forced tunneling over a Site-to-Site VPN in Azure while maintaining route propagation. A UDR with 0.0.0.0/0 pointing to the virtual network gateway ensures all internet-bound traffic from the spoke VNet is directed to the gateway. For the gateway to then forward this traffic to the on-premises network, the on-premises router must advertise a default route (0.0.0.0/0) via BGP to the Azure VPN gateway. This allows the gateway to learn the route and propagate it to the spoke VNet. Azure Firewall's forced tunneling feature is for directing traffic to Azure Firewall, not directly to an on-premises VPN gateway. Configuring the gateway to rewrite IPs and send traffic directly to the internet is not forced tunneling to on-premises. Adding a DNS suffix only affects name resolution, not routing of IP traffic.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed