An enterprise is designing an Azure hub-and-spoke virtual network topology to support their internal workloads. The topology is configured as follows:
* The hub virtual network, `vnet-hub-core`, has an address space of and hosts an Azure Firewall at .
* A spoke virtual network, `vnet-spoke-app`, has an address space of and contains a subnet named `subnet-app` ().
* A second spoke virtual network, `vnet-spoke-shared`, has an address space of .
* Both spoke virtual networks are peered directly with `vnet-hub-core`. Spoke-to-spoke peering is not configured.
To meet corporate security policies, all traffic originating from `subnet-app` that is destined for the Internet, `vnet-spoke-shared`, and `vnet-hub-core` must be routed through the Azure Firewall for inspection.
An administrator associates a route table with `subnet-app` containing the following custom routes:
* Route 1: Address prefix , Next hop: Virtual appliance ()
* Route 2: Address prefix , Next hop: Virtual appliance ()
Which routing behavior will occur for traffic originating from `subnet-app`?
- Traffic destined for the Internet and vnet-spoke-shared will route through the Azure Firewall, but traffic destined for vnet-hub-core will bypass the firewall and route directly through the peering connection.Answer
- BAll traffic destined for the Internet, vnet-spoke-shared, and vnet-hub-core will be successfully inspected by the Azure Firewall.
- CTraffic destined for the Internet will route through the Azure Firewall, but traffic destined for vnet-spoke-shared will fail to route because virtual network peering is non-transitive.
- DTraffic destined for vnet-spoke-shared will route through the Azure Firewall, but all outbound Internet traffic will bypass the firewall and go directly to the Internet.