Discover how Azure Virtual Network peering works and which virtual machines VM1 can communicate with in this detailed scenario, based on the AZ-700 exam objectives. Learn about VNet peering, transitive peering, and connectivity in Microsoft Azure.
Table of Contents
Question
You have an Azure subscription that contains the following Azure Virtual Networks:
- VNet1: In the West US Azure region and peers to VNet2
- VNet2: In the West US Azure region and peers to VNet1, VNet3, and VNet4
- VNet3: In the West US Azure region and peers to VNet2
- VNet4: In the East US Azure region and peers to VNet2
The subscription contains the following Azure Virtual Machines:
- VM1: Connected to VNet1
- VM2: Connected to VNet2
- VM3: Connected to VNet3
- VM4: Connected to VNet4
Which virtual machines can VM1 communicate with?
A. VM2 and VM3 only
B. VM2 and VM4 only
C. VM2 only
D. VM2, VM3, and VM4
Answer
C. VM2 only
Explanation
Peering is not transitive. If you peer VNetA to VNetB and VNetB to VNetC, VNetA and VNetC are NOT peered. If you want to achieve that, you must manually peer VNetA to VNetC.
As such, VM1 can communicate only with virtual machines that are connected to virtual networks that are directly peered with VNet1. As VNet1 is peered only with VNet2, VM1 can communicate only with VM2 (since VM2 is the only virtual machine that is connected to VNet2).
Designing and Implementing Microsoft Azure Networking Solutions AZ-700 certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Designing and Implementing Microsoft Azure Networking Solutions AZ-700 exam and earn Designing and Implementing Microsoft Azure Networking Solutions AZ-700 certification.