Question 335 of 1,170
Implement and Manage Virtual NetworkingeasyMultiple ChoiceObjective-mapped

AZ-104 Implement and Manage Virtual Networking Practice Question

This AZ-104 practice question tests your understanding of implement and manage virtual networking. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Exhibit

VNet-DevA address space: 10.20.0.0/16
VNet-DevB address space: 10.20.128.0/17
Peering status: Not created
Deployment note: The peering wizard returns an address space overlap error.

Based on the exhibit, two development virtual networks must be peered so the workloads can exchange traffic directly. What should the administrator do first?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "first"

    Why it matters: Order matters here. You are being tested on which action comes before the others — not which action is generally useful.

Exhibit

VNet-DevA address space: 10.20.0.0/16
VNet-DevB address space: 10.20.128.0/17
Peering status: Not created
Deployment note: The peering wizard returns an address space overlap error.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Change one VNet to a non-overlapping address space before creating the peering.

Azure Virtual Network peering requires that the address spaces of the peered VNets do not overlap. Overlapping address spaces cause routing conflicts because Azure cannot determine which VNet should receive traffic destined for the overlapping range. Therefore, the administrator must first change one VNet to a non-overlapping address space before creating the peering.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Create a VPN gateway in each VNet before attempting peering.

    Why it's wrong here

    A gateway is not required for standard VNet peering, so this would not resolve the overlap error.

    When this WOULD be correct

    A: Create a VPN gateway in each VNet before attempting peering. This would be correct if the question asked how to connect two VNets across different Azure regions or on-premises networks via a site-to-site VPN, where VPN gateways are required for encrypted tunnel connectivity.

  • Change one VNet to a non-overlapping address space before creating the peering.

    Why this is correct

    Azure VNet peering does not allow overlapping address spaces. The first step is to redesign one network so its address range does not intersect the other. After the address conflict is removed, peering can be created normally and traffic can flow directly between the VNets.

    Clue confirmation

    The clue word "first" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Add a user-defined route to each subnet so the VNets can ignore the overlap.

    Why it's wrong here

    Routes control traffic selection after connectivity exists, but they do not remove peering validation failures caused by overlapping IP ranges.

    When this WOULD be correct

    When you need to force traffic between two peered VNets to go through a network virtual appliance (NVA) for inspection, you would add a UDR to each subnet pointing to the NVA's IP as the next hop.

  • Enable service endpoints on both VNets to allow cross-network communication.

    Why it's wrong here

    Service endpoints are for Azure PaaS services, not for connecting one virtual network to another or fixing overlapping ranges.

    When this WOULD be correct

    When the question asks how to allow a VNet to securely access an Azure Storage account without using a public IP, enabling service endpoints on the VNet and the storage account would be the correct answer.

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The AZ-104 exam frequently reuses these exact scenarios with slightly different constraints.

Change one VNet to a non-overlapping address space before creating the peering.Correct answer

Why this is correct

Azure VNet peering does not allow overlapping address spaces. The first step is to redesign one network so its address range does not intersect the other. After the address conflict is removed, peering can be created normally and traffic can flow directly between the VNets.

Create a VPN gateway in each VNet before attempting peering.Wrong answer — click to see why

Why this is wrong here

Azure VNet peering does not require VPN gateways; it uses the Microsoft backbone infrastructure. VPN gateways are only needed for site-to-site or point-to-site connections, not for VNet peering.

★ When this WOULD be the correct answer

A: Create a VPN gateway in each VNet before attempting peering. This would be correct if the question asked how to connect two VNets across different Azure regions or on-premises networks via a site-to-site VPN, where VPN gateways are required for encrypted tunnel connectivity.

Why candidates choose this

Candidates may confuse VNet peering with VPN-based connectivity, assuming that any inter-VNet communication requires a VPN gateway, especially when they have experience with on-premises network connections or cross-region scenarios.

Add a user-defined route to each subnet so the VNets can ignore the overlap.Wrong answer — click to see why

Why this is wrong here

User-defined routes cannot resolve overlapping IP address spaces; Azure VNet peering requires non-overlapping address spaces, and UDRs do not change the underlying address conflict.

★ When this WOULD be the correct answer

When you need to force traffic between two peered VNets to go through a network virtual appliance (NVA) for inspection, you would add a UDR to each subnet pointing to the NVA's IP as the next hop.

Why candidates choose this

Candidates may think UDRs can override address space conflicts, similar to how they can redirect traffic, but they misunderstand that peering itself fails with overlapping ranges regardless of routing.

Enable service endpoints on both VNets to allow cross-network communication.Wrong answer — click to see why

Why this is wrong here

Service endpoints do not enable cross-VNet communication; they allow VNet resources to access Azure PaaS services over the Microsoft backbone. Peering requires non-overlapping address spaces, not service endpoints.

★ When this WOULD be the correct answer

When the question asks how to allow a VNet to securely access an Azure Storage account without using a public IP, enabling service endpoints on the VNet and the storage account would be the correct answer.

Why candidates choose this

Candidates may confuse service endpoints with VNet peering, thinking both enable connectivity between VNets, or they may believe endpoints can bypass address overlap issues.

Analysis generated from the official AZ-104blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often assume overlapping address spaces can be resolved with routing tweaks (like UDRs) or additional gateways, but Azure explicitly blocks VNet peering when address spaces overlap, requiring a non-overlapping address space as a prerequisite.

Detailed technical explanation

How to think about this question

VNet peering relies on Azure's internal routing table, which uses the VNet's address space as a prefix. When two peered VNets have overlapping CIDR blocks (e.g., both use 10.0.0.0/16), Azure cannot create distinct routes for each VNet, leading to a peering failure with an 'OverlappingAddressSpace' error. In a real-world scenario, you might need to redesign IP addressing using RFC 1918 ranges or use NAT to translate overlapping addresses before peering.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A healthcare organisation deploys an application with a public-facing web tier and a private database tier. The database subnet has no public IP and only accepts connections from the web tier's security group. Questions like this test whether you can design cloud network isolation using VNets/VPCs, subnets, and security group rules.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related AZ-104 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free AZ-104 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this AZ-104 question test?

Implement and Manage Virtual Networking — This question tests Implement and Manage Virtual Networking — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Change one VNet to a non-overlapping address space before creating the peering. — Azure Virtual Network peering requires that the address spaces of the peered VNets do not overlap. Overlapping address spaces cause routing conflicts because Azure cannot determine which VNet should receive traffic destined for the overlapping range. Therefore, the administrator must first change one VNet to a non-overlapping address space before creating the peering.

What should I do if I get this AZ-104 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Are there clue words in this question I should notice?

Yes — watch for: "first". Order matters here. You are being tested on which action comes before the others — not which action is generally useful.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More AZ-104 practice questions

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This AZ-104 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-104 exam.