easymultiple choiceObjective-mapped

Two application teams created separate virtual networks so their workloads can communicate through VNet peering. VNet-A uses 10.20.0.0/16. VNet-B was created with 10.20.128.0/17. The peering request fails during validation. What is the best fix?

Question 1easymultiple choice
Full question →

Two application teams created separate virtual networks so their workloads can communicate through VNet peering. VNet-A uses 10.20.0.0/16. VNet-B was created with 10.20.128.0/17. The peering request fails during validation. What is the best fix?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Distractor review

Add an NSG rule to allow traffic between the two VNets.

NSGs control packet filtering, but they do not resolve overlapping address spaces during peering creation.

B

Best answer

Change one VNet to use a non-overlapping address space.

VNet peering requires non-overlapping IP ranges. Readdressing one VNet removes the conflict and allows peering to be created.

C

Distractor review

Create a private endpoint in each VNet.

Private endpoints help reach PaaS services privately, but they do not solve VNet-to-VNet address conflicts.

D

Distractor review

Attach a route table to both subnets.

Route tables affect traffic forwarding, but peering still fails if the address spaces overlap.

Common exam trap

Common exam trap: usable hosts are not the same as total addresses

Subnetting questions often tempt you into counting all addresses. In normal IPv4 subnets, the network and broadcast addresses are not usable host addresses.

Technical deep dive

How to think about this question

Subnetting questions test whether you can identify the network, broadcast address, usable range, mask and correct subnet. Slow down enough to calculate the block size correctly.

KKey Concepts to Remember

  • CIDR notation defines the prefix length.
  • Block size helps identify subnet boundaries.
  • Network and broadcast addresses are not usable hosts in normal IPv4 subnets.
  • The required host count determines the smallest suitable subnet.

TExam Day Tips

  • Write the block size before choosing the subnet.
  • Check whether the question asks for hosts, subnets or a specific address range.
  • Do not confuse /24, /25, /26 and /27 host counts.

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.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this AZ-104 question test?

CIDR notation defines the prefix length.

What is the correct answer to this question?

The correct answer is: Change one VNet to use a non-overlapping address space. — Azure VNet peering only works when the address spaces do not overlap. In this scenario, both virtual networks include 10.20.128.0/17, which is inside VNet-A's 10.20.0.0/16 range. The administrator must change one VNet's address space so the ranges are distinct. After that, peering can be created and routes will be exchanged normally. Why others are wrong: NSGs do not change the peering validation requirement. Private endpoints are for private access to supported Azure services, not for VNet peering. Route tables influence forwarding behavior after connectivity exists, but they cannot fix overlapping IP ranges that block peering creation.

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

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.