AZ-104 practice question 7 of 35
You need to ensure that VM1 can communicate with VM4. The solution must minimize administrative effort. What should you do?
Choose your answer, then check it against the explanation and the full breakdown below.
Domain Implement and manage virtual networking
Question breakdown
Key idea: VMs in different Azure VNets cannot communicate by default, and VNet peering is the lowest-effort way to connect two non-overlapping VNets.
How to reach the answer
- VM1 is in VNET1 and VM4 is in VNET3; separate VNets have no connectivity by default.
- NSGs only filter traffic and UDRs only steer traffic along paths that already exist; neither creates a path between VNets.
- Re-addressing VM4 into VNET1's range means moving the VM, which is disruptive and high effort.
- Clue: 'minimize administrative effort' points to peering, assuming the address spaces do not overlap.
Each option
Common trap: A UDR looks like a routing fix, but custom routes cannot reach a VNet that has no peering or gateway connection.
In practice: Peering is the standard way to link workload VNets, often in hub-and-spoke designs. Planning non-overlapping address spaces up front avoids blockers later.
Remember: To connect VMs in different non-overlapping VNets with the least effort, peer the VNets.
Official documentation: Virtual network peering
Drafted with AI assistance and checked against the answer key.
Keep practicing
Take the free AZ-104 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other AZ-104 practice questions
- Question 1You have an Azure App Services web app named App1. You plan to deploy App1 by using Web D…
- Question 2Your company has an azure subscription that includes a storage account, a resource group,…
- Question 3You have an Azure Active Directory (Azure AD) tenant named contoso.com. You have a CSV fil…
- Question 5You have an Azure subscription. You plan to deploy an Azure Kubernetes Service (AKS) clus…
- Question 6You have an Azure virtual machine named VM1. VM1 was deployed by using a custom Azure Res…
- Question 9You have an Azure virtual machine named VM1 that runs Windows Server 2016. You need to cr…
