hardmultiple choiceObjective-mapped

Your hub virtual network uses 10.40.0.0/16 and the corporate on-premises network uses 10.41.0.0/16. A new spoke VNet must be peered to the hub now and connected to on-premises later. It needs a workload subnet for about 180 hosts and a management subnet for about 50 hosts. Which address space is the best choice for the new spoke?

Question 1hardmultiple choice
Full question →

Your hub virtual network uses 10.40.0.0/16 and the corporate on-premises network uses 10.41.0.0/16. A new spoke VNet must be peered to the hub now and connected to on-premises later. It needs a workload subnet for about 180 hosts and a management subnet for about 50 hosts. Which address space is the best choice for the new spoke?

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

10.40.128.0/17

This overlaps the existing hub address space, which would block peering and future routing.

B

Distractor review

10.41.64.0/18

This falls inside the on-premises range and would create an address overlap later.

C

Best answer

10.42.0.0/23

This avoids overlap and provides enough space to split into one /24 and one smaller subnet cleanly.

D

Distractor review

10.42.0.0/24

A /24 is too small to comfortably host both subnet requirements within the same address space.

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: 10.42.0.0/23 — The new spoke must not overlap with either the hub or on-premises ranges, and it must provide enough room for a subnet of around 180 hosts and another of around 50 hosts. A /23 gives 512 total addresses, which is sufficient to carve out a /24 for the workload subnet and a /26 or similar subnet for management. It also stays outside the existing 10.40.0.0/16 and 10.41.0.0/16 spaces. Why others are wrong: 10.40.128.0/17 overlaps the hub. 10.41.64.0/18 overlaps the on-premises network. 10.42.0.0/24 is non-overlapping, but it is too small for both required subnets once you account for usable-host needs and Azure reservations. The correct answer must satisfy both uniqueness and capacity, which makes 10.42.0.0/23 the best choice.

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.