hardmultiple choiceObjective-mapped

A company has VNet-A with address space 10.20.0.0/16 and active workloads in several subnets. The team must peer VNet-A with VNet-B, but VNet-B currently uses 10.20.128.0/17 and cannot be rebuilt from scratch. What should the administrator do first to make peering possible without interrupting current workloads?

Question 1hardmultiple choice
Full question →

A company has VNet-A with address space 10.20.0.0/16 and active workloads in several subnets. The team must peer VNet-A with VNet-B, but VNet-B currently uses 10.20.128.0/17 and cannot be rebuilt from scratch. What should the administrator do first to make peering possible without interrupting current workloads?

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

Create the peering now and let Azure automatically route overlapping prefixes.

Azure peering does not support overlapping address spaces, even if routing is otherwise correct.

B

Best answer

Add a new non-overlapping address space to VNet-B, create replacement subnets there, and migrate workloads gradually.

A second non-overlapping range lets you prepare new subnets and move workloads before removing the conflicting range.

C

Distractor review

Attach a route table to VNet-B so traffic to VNet-A is forced through a firewall appliance.

Route tables do not solve overlapping IP ranges or make peering between conflicting VNets possible.

D

Distractor review

Create a private endpoint between the two VNets so Azure ignores the overlap during connectivity checks.

Private endpoints are for PaaS resource access, not for enabling direct VNet-to-VNet peering.

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: Add a new non-overlapping address space to VNet-B, create replacement subnets there, and migrate workloads gradually. — Azure VNet peering requires non-overlapping address spaces. When both VNets already contain overlapping prefixes, peering creation fails regardless of routes, gateways, or DNS settings. The practical way to preserve service availability is to introduce a new, non-overlapping address range on the VNet that must be changed, build new subnets in that range, and migrate workloads there before removing the old overlapping prefix and creating peering. Why others are wrong: Peering cannot be created with overlapping ranges, so Azure cannot “auto-fix” the conflict. A route table only affects path selection after networking is established; it does not bypass peering validation. Private endpoints are for exposing PaaS resources privately to a VNet, not for connecting two VNets directly. The core issue is address-space design, so readdressing is required.

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.