Designing and Implementing Azure for AWS Professionals — Question 22
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?
Answer options
- 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.
Correct answer: A
Explanation
The correct answer is A, as adding a user-defined route to the subnets route table allows you to specify that traffic should use global VNet peering instead of the default ExpressRoute path. Option B is incorrect because filtering on-premises routers does not directly influence Azure's routing behavior. Option C would disable connectivity for one region, which is not ideal for maintaining on-premises services. Option D introduces unnecessary complexity without addressing the routing issue directly.