To route spoke-to-spoke traffic through a firewall, a network engineer deploys three Azure virtual networks:
* VNet-Transit () contains a Network Virtual Appliance (NVA) in its subnet to act as a router.
* VNet-App () contains application virtual machines.
* VNet-Data () contains database virtual machines.
The engineer establishes peering between VNet-App and VNet-Transit, and between VNet-Data and VNet-Transit. No direct peering exists between VNet-App and VNet-Data.
Route tables containing user-defined routes (UDRs) are applied to the subnets in VNet-App and VNet-Data to direct traffic destined for the other spoke to the NVA's private IP address.
To ensure that the virtual machines in VNet-App and VNet-Data can successfully communicate, which configuration is required on the virtual network peering links?
- Enable 'Allow forwarded traffic' on the peering connections within VNet-App and VNet-Data pointing to VNet-Transit.Answer
- BEnable 'Allow gateway transit' on the peering connections within VNet-Transit and select 'Use remote gateways' on VNet-App and VNet-Data.
- CEnable 'Allow forwarded traffic' only on the peering connections within VNet-Transit pointing to VNet-App and VNet-Data.
- DConfigure the next hop type as 'Virtual Network Gateway' in the route tables assigned to the subnets in VNet-App and VNet-Data.