An administrator is designing a hub-and-spoke network topology in Azure using the following virtual networks in the East US region:
* VNet-Hub (): Contains a virtual network gateway in a subnet named GatewaySubnet, and a Network Virtual Appliance (NVA) in a subnet named DMZSubnet.
* VNet-SpokeA (): Contains a virtual machine named VM-App in a subnet named AppSubnet.
* VNet-SpokeB (): Contains a virtual machine named VM-DB in a subnet named DBSubnet.
The administrator establishes the following virtual network peering connections:
* Peering-Hub-SpokeA from VNet-Hub to VNet-SpokeA
* Peering-SpokeA-Hub from VNet-SpokeA to VNet-Hub
* Peering-Hub-SpokeB from VNet-Hub to VNet-SpokeB
* Peering-SpokeB-Hub from VNet-SpokeB to VNet-Hub
The administrator has configured user-defined routes (UDRs) on AppSubnet and DBSubnet to route traffic between the spokes through the NVA in VNet-Hub.
The administrator must meet the following requirements:
1. VM-App must be able to access on-premises networks via the virtual network gateway in VNet-Hub.
2. VM-App and VM-DB must be able to communicate with each other through the NVA in VNet-Hub.
3. VM-DB must be prevented from using the virtual network gateway in VNet-Hub.
Which configuration settings should the administrator apply to the peering connections to meet these requirements?
- AEnable Allow gateway transit on both Peering-Hub-SpokeA and Peering-Hub-SpokeB; and enable both Use remote gateways and Allow forwarded traffic on Peering-SpokeA-Hub and Peering-SpokeB-Hub.
- Enable Allow gateway transit on Peering-Hub-SpokeA; enable Use remote gateways and Allow forwarded traffic on Peering-SpokeA-Hub; and enable Allow forwarded traffic and disable Use remote gateways on Peering-SpokeB-Hub.Cevap
- CEnable Use remote gateways on Peering-Hub-SpokeA; enable Allow gateway transit and Allow forwarded traffic on Peering-SpokeA-Hub; and enable Allow forwarded traffic and Allow gateway transit on Peering-SpokeB-Hub.
- DEnable Allow gateway transit on both Peering-Hub-SpokeA and Peering-Hub-SpokeB; and disable both Use remote gateways and Allow forwarded traffic on Peering-SpokeA-Hub and Peering-SpokeB-Hub.