SIMULATION -

You need to configure network connectivity between a virtual network named VNET1 and a virtual network named VNET2. The solution must ensure that virtual machines connected to VNET1 can communicate with virtual machines connected to VNET2.

To complete this task, sign in to the Azure portal and modify the Azure resources.

Correct Answer

You need to configure VNet Peering between the two networks. The questions states. Therefore, we need to configure the peering to allow just the one-way communication.

  1. In the Azure portal, type Virtual Networks in the search box, select Virtual Networks from the search results then select VNET1. Alternatively, browse to Virtual Networks in the left navigation pane.
  2. In the properties of VNET1, click on Peerings.

AZ-500 Lab-configure VNet Peering between the two networks_Azure对等网络

  1. In the Peerings blade, click Add to add a new peering.
  2. In the Name of the peering from VNET1 to remote virtual network box, enter a name such as VNET1-VNET2 (this is the name that the peering will be displayed as in VNET1)

AZ-500 Lab-configure VNet Peering between the two networks_Azure对等网络_02

  1. In the Name of the peering from remote virtual network to VNET1 box, enter a name such as VNET2-VNET1 (this is the name that the peering will be displayed as in VNET2).There is an option Allow virtual network access from VNET to remote virtual network. This should be left as Enabled.

AZ-500 Lab-configure VNet Peering between the two networks_Network_03

  1. In the Virtual Network box, select VNET2.
  2. For the option Allow virtual network access from remote network to VNET1, click the slider button to Disabled.

AZ-500 Lab-configure VNet Peering between the two networks_Network_04

  1. Click the button to save the changes.