Skip to Content

Microsoft AZ-720: Configure Azure VNet Peering and User-Defined Routes for Optimal VM Traffic Flow

Learn how to effectively route Azure VM traffic between global VNets using VNet peering and user-defined routes while maintaining ExpressRoute private peering for on-premises connectivity.

Table of Contents

Question

A company has virtual machines (VMs) in the following Azure regions:

  • West Central US
  • Australia East

The company uses ExpressRoute private peering to provide connectivity to VMs hosted in each region and on-premises services.

The company implements global VNet peering between a VNet in each region. After configuring VNet peering, VM traffic attempts to use ExpressRoute private peering.

You need to ensure that traffic uses global VNet peering instead of ExpressRoute private peering. The solution must preserve existing on-premises connectivity to Azure VNets.

What should you do?

A. Add a user-defined route to the subnets route table.
B. Add a filter to the on-premises routers.
C. Disable the ExpressRoute peering connections for one of the regions.
D. Add a second VNet to the virtual machines and configure VNet peering between the VNets.

Answer

A. Add a user-defined route to the subnets route table.

Explanation

A. Adding user-defined routes (UDRs) to the subnets’ route tables is the correct solution. UDRs allow you to override Azure’s default system routes and specify the next hop for traffic to specific address prefixes. By configuring UDRs with higher priority than the ExpressRoute BGP routes, you can ensure that traffic between the peered VNets uses the VNet peering connection instead of ExpressRoute private peering. This approach preserves the existing ExpressRoute connectivity for on-premises services while optimizing inter-region VM communication.

Troubleshooting Microsoft Azure Connectivity AZ-720 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Troubleshooting Microsoft Azure Connectivity AZ-720 exam and earn Troubleshooting Microsoft Azure Connectivity AZ-720 certification.