hardmulti selectObjective-mapped

Two virtual networks are in different subscriptions. VNet-A uses 10.20.0.0/16 and VNet-B uses 10.20.128.0/17. A design review also states that traffic between two spoke VNets should flow through a hub VNet instead of directly between spokes. Which two statements are correct? Select two.

Question 1hardmulti select
Full question →

Two virtual networks are in different subscriptions. VNet-A uses 10.20.0.0/16 and VNet-B uses 10.20.128.0/17. A design review also states that traffic between two spoke VNets should flow through a hub VNet instead of directly between spokes. Which two statements are correct? 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

The two VNets cannot be peered until one address space is changed because the ranges overlap.

Azure peering does not allow overlapping address spaces, even across subscriptions.

B

Distractor review

VNet peering is transitive, so spoke-to-spoke traffic will automatically use the hub peering.

Peering is nontransitive, so one peering does not automatically connect other peerings together.

C

Best answer

To reach another spoke through the hub, you need an explicit design such as gateway transit or routing controls.

A hub-and-spoke architecture needs deliberate routing or gateway design to carry traffic between spokes.

D

Distractor review

Overlapping CIDR blocks are allowed if the VNets are placed in separate resource groups.

Resource group boundaries do not change the overlap restriction for virtual network address spaces.

E

Distractor review

If the hub has a VPN gateway, spoke traffic to other spokes is routed automatically without additional configuration.

A gateway alone does not make peering transitive or create spoke-to-spoke reachability by default.

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: The two VNets cannot be peered until one address space is changed because the ranges overlap. — Azure will not peer VNets that have overlapping address spaces, so one of the CIDR blocks must be changed first. The second key point is that peering is nontransitive: traffic does not automatically pass from one spoke to another just because both are peered to the same hub. If spoke-to-spoke connectivity through the hub is required, the design must explicitly support that path through gateway transit or routing controls. Why others are wrong: VNet peering is not transitive, so hub peering does not automatically bridge the spokes. Resource group placement is irrelevant to address-space overlap. A VPN gateway in the hub does not magically make spokes talk to each other; the routing design still has to be intentionally configured.

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.