mediummulti selectObjective-mapped

A VNet peering attempt between VNet-A and VNet-B fails because both VNets include 10.40.0.0/16. VNet-B hosts active workloads, so the team wants to readdress it without downtime. Which two actions should the administrator take? Select two.

Question 1mediummulti select
Full question →

A VNet peering attempt between VNet-A and VNet-B fails because both VNets include 10.40.0.0/16. VNet-B hosts active workloads, so the team wants to readdress it without downtime. Which two actions should the administrator take? Select two.

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

Best answer

Add a new non-overlapping address space to VNet-B.

This gives VNet-B a range that does not conflict with VNet-A, which is required for peering.

B

Best answer

Migrate the workloads and subnets in VNet-B to the new address space before removing the overlapping range.

This preserves application connectivity while the overlapping CIDR is phased out and the peering can be created.

C

Distractor review

Enable gateway transit on both VNets to bypass the overlap check.

Gateway transit changes routing behavior, but it does not remove the address-space overlap restriction for peering.

D

Distractor review

Create a private endpoint in VNet-A so the peering can use private connectivity.

Private endpoints are for PaaS service access, not for resolving overlapping CIDR blocks between VNets.

E

Distractor review

Associate a route table with VNet-B to force Azure to accept the peering.

Route tables influence packet forwarding, but they do not change VNet peering validation requirements.

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. — Azure VNet peering cannot be created when address spaces overlap. The fix is to introduce a non-overlapping address range for the affected VNet and migrate workloads into that new space before removing the conflicting prefix. This keeps services available while the network is readdressed. Once the overlap is gone, the peering operation can succeed because Azure now sees two distinct IP spaces. Why others are wrong: Gateway transit, private endpoints, and route tables solve different networking problems and do not change the peering validation rule. Azure checks the VNet address spaces themselves, not routes or service endpoints, before allowing peering. The overlap must be removed from the CIDR design first.

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.