Your company uses a hub-and-spoke design in Azure. Hub1 contains a VPN gateway that uses the VpnGw2 SKU and has a site-to-site connection to the on-premises network. Spoke1 is peered with Hub1. Spoke1 has no virtual network gateway.
VMs in Spoke1 must reach the on-premises network through the VPN gateway in Hub1. You must not deploy a gateway in Spoke1.
Which two peering settings should you configure? Each correct answer presents part of the solution.
Gateway transit is a peering property that lets a virtual network use the VPN gateway in its peer. The peering from Hub1, which owns the gateway, must allow gateway transit, and the peering from Spoke1 must be set to use the remote gateway. Routes to the on-premises network then propagate to Spoke1, so no gateway is needed in the spoke.
- Configure VPN gateway transit for virtual network peering - Azure VPN GatewayMicrosoft Learn
- Azure Virtual Network PeeringMicrosoft Learn