Microsoft Azure Administrator (AZ104) Practice Exam

Disable ads (and more) with a membership for a one time $4.99 payment

Study for the Microsoft Azure Administrator (AZ104) Exam. Prepare with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your exam!

Practice this question and more.


What is the first step needed to peer two virtual networks in the same Azure region?

  1. Modify the address space of the first virtual network

  2. Configure a service endpoint on the second virtual network

  3. Create a subnet on both virtual networks

  4. Add a gateway subnet to the first virtual network

The correct answer is: Modify the address space of the first virtual network

To successfully peer two virtual networks in the same Azure region, the first step involves ensuring that the address spaces of the virtual networks do not overlap. This means that for the peering to work, each virtual network needs a unique address space that does not conflict with any IP addresses in the other virtual network. In this context, if the address space of the first virtual network needs to be modified, it is likely because it currently overlaps with that of the second virtual network or does not permit the peering configuration necessary for connectivity. Adjusting the address space is essential before proceeding with the networking configuration for peering, as having overlapping address spaces will prevent the peering from being established. Once the address spaces are defined correctly and do not overlap, you can proceed with other steps, such as creating subnets, configuring service endpoints, or adding gateway subnets. Each of these subsequent steps plays a role in optimizing the connectivity or supporting additional features but cannot take place until the address space issue is resolved.