An administrator is configuring a hub-and-spoke network topology in Azure. The environment contains the following resources:
* A hub virtual network named VNet-Hub () that contains a subnet named Subnet-Hub where a virtual machine named VM-Hub is deployed. VNet-Hub also contains an active virtual network gateway.
* A spoke virtual network named VNet-Spoke1 () that contains a subnet named Subnet-Spoke1 where a virtual machine named VM-Spoke1 is deployed.
* A spoke virtual network named VNet-Spoke2 () that contains a subnet named Subnet-Spoke2 where a virtual machine named VM-Spoke2 is deployed.
Virtual network peering is configured between VNet-Hub and VNet-Spoke1, and between VNet-Hub and VNet-Spoke2.
You need to configure the network to meet the following requirements:
1. VM-Spoke1 must be able to communicate with on-premises networks using the virtual network gateway in VNet-Hub.
2. VM-Spoke1 must be able to communicate directly with VM-Spoke2.
3. VM-Spoke2 must not be able to use the virtual network gateway in VNet-Hub.
Which three configurations should you implement? (Select THREE.)
- Configure a direct virtual network peering connection between VNet-Spoke1 and VNet-Spoke2.Answer
- On the peering connection from VNet-Hub to VNet-Spoke1, select the option to allow gateway transit.Answer
- On the peering connection from VNet-Spoke1 to VNet-Hub, select the option to use remote gateways.Answer
- DOn the peering connection from VNet-Spoke2 to VNet-Hub, select the option to use remote gateways.
- EOn the peering connection from VNet-Hub to VNet-Spoke1, select the option to allow forwarded traffic.
- FConfigure no additional connections, as virtual network peering automatically routes traffic transitively through VNet-Hub.