hardmultiple choiceObjective-mapped

You are planning a subnet for an application tier in a new spoke virtual network. The subnet must support 34 VM NICs, 5 private endpoints, and 6 extra IP addresses for short-term scale-out during maintenance windows. Azure reserves 5 IP addresses in every subnet. What is the smallest subnet prefix that meets the requirement?

Question 1hardmultiple choice
Full question →

You are planning a subnet for an application tier in a new spoke virtual network. The subnet must support 34 VM NICs, 5 private endpoints, and 6 extra IP addresses for short-term scale-out during maintenance windows. Azure reserves 5 IP addresses in every subnet. What is the smallest subnet prefix that meets the requirement?

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

/27

A /27 provides only 27 usable addresses after Azure reservations, which is not enough here.

B

Best answer

/26

A /26 provides 59 usable addresses after Azure reservations, which covers all required and buffer IPs.

C

Distractor review

/25

A /25 would work, but it allocates far more addresses than the scenario requires.

D

Distractor review

/28

A /28 is much too small for dozens of NICs, private endpoints, and spare capacity.

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: /26 — The subnet needs 34 VM NICs, 5 private endpoints, and 6 additional addresses for temporary growth, which totals 45 usable addresses. Azure also reserves 5 addresses in every subnet, so the prefix must provide at least 50 total addresses. A /26 has 64 total addresses and 59 usable addresses, so it is the smallest prefix that satisfies the requirement without wasting unnecessary space. Why others are wrong: A /27 leaves only 27 usable addresses, which fails the capacity requirement. A /28 is far smaller and cannot host the workload. A /25 would satisfy the need, but it is larger than necessary, so it is not the smallest valid prefix. The question asks for the minimum size that still works, making /26 the only correct 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.