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

You need to ensure that VM1 can communicate with VM4. The solution must minimize administrative effort. What should you do?
Answer options
Question 7 of 35

Question breakdown

Tests
Configure and manage virtual network peering
Difficulty
Easy

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

  1. VM1 is in VNET1 and VM4 is in VNET3; separate VNets have no connectivity by default.
  2. NSGs only filter traffic and UDRs only steer traffic along paths that already exist; neither creates a path between VNets.
  3. Re-addressing VM4 into VNET1's range means moving the VM, which is disruptive and high effort.
  4. Clue: 'minimize administrative effort' points to peering, assuming the address spaces do not overlap.

Each option

  • AIncorrect. A UDR cannot create connectivity between unconnected VNets; it only overrides next-hop routing.
  • BIncorrect. NSGs allow or deny traffic but do not provide a network path between separate VNets.
  • CIncorrect. Giving VM4 an address in VNET1's range would mean moving it to that VNet, which is a disruptive, high-effort change.
  • DCorrect. Peering VNET1 and VNET3 gives private connectivity over the Microsoft backbone with minimal configuration.

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.

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.

Start the free practice test

More questions

Other AZ-104 practice questions

Scroll to Top