AZ-700 · Question #145
You are planning an Azure deployment that will contain three virtual networks in the East US Azure region as shown in the following table. A Site-to-Site VPN will connect Vnet1 to your company's on-pr
The correct answer is B. peering. To enable Vnet2 and Vnet3 to communicate with the on-premises network via Vnet1's existing Site-to-Site VPN, VNet peering with gateway transit is the most cost-effective solution.
Question
You are planning an Azure deployment that will contain three virtual networks in the East US Azure region as shown in the following table. A Site-to-Site VPN will connect Vnet1 to your company’s on-premises network. You need to recommend a solution that ensures that the virtual machines on all the virtual networks can communicate with the on-premises network. The solution must minimize costs. What should you recommend for Vnet2 and Vnet3?
Exhibit
Options
- AVNet-to-VNet VPN connections
- Bpeering
- Cservice endpoints
- Droute tables
How the community answered
(63 responses)- A6% (4)
- B79% (50)
- C3% (2)
- D11% (7)
Why each option
To enable Vnet2 and Vnet3 to communicate with the on-premises network via Vnet1's existing Site-to-Site VPN, VNet peering with gateway transit is the most cost-effective solution.
VNet-to-VNet VPN connections would require deploying separate VPN gateways in Vnet2 and Vnet3, incurring additional costs for each gateway and potentially more complex management compared to simple peering with transit.
VNet peering enables low-latency, high-bandwidth connectivity between virtual networks within the same region. By peering Vnet2 and Vnet3 with Vnet1 and enabling gateway transit on Vnet1, Vnet2 and Vnet3 can utilize Vnet1's VPN gateway to access the on-premises network without deploying additional, costly VPN gateways in each VNet.
Service endpoints are used to secure and optimize connectivity to specific Azure PaaS services like Azure Storage or Azure SQL Database, not to connect virtual networks to each other or to an on-premises network.
Route tables are used to define custom routing rules for traffic within and between subnets or to specific next hops. While they are crucial for directing traffic, they are not the primary mechanism for establishing the underlying connectivity between virtual networks or enabling gateway transit; peering provides that foundational connectivity.
Concept tested: Azure VNet peering and gateway transit
Source: https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-peering-overview#gateway-transit
Community Discussion
No community discussion yet for this question.
