mediummultiple choiceObjective-mapped

A hub VNet is peered to two spoke VNets. The spokes can reach the hub, but they cannot communicate with each other through the hub. The administrator wants centralized inspection in the hub. What should be deployed and configured?

Question 1mediummultiple choice
Full question →

A hub VNet is peered to two spoke VNets. The spokes can reach the hub, but they cannot communicate with each other through the hub. The administrator wants centralized inspection in the hub. What should be deployed and configured?

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

An Azure Firewall or other NVA in the hub, plus user-defined routes and forwarding support.

Peering is non-transitive, so centralized inspection requires a forwarder and explicit routing.

B

Distractor review

Only additional peering links between the hub and both spokes.

Extra hub peering already exists and still does not create transitive spoke-to-spoke routing.

C

Distractor review

A private endpoint in the hub for each spoke subnet.

Private endpoints expose services privately, not general transit between VNets.

D

Distractor review

A service endpoint on each spoke subnet to the hub VNet.

Service endpoints are for PaaS access and do not provide VNet transit or inspection.

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: An Azure Firewall or other NVA in the hub, plus user-defined routes and forwarding support. — Azure VNet peering is non-transitive, so traffic from one spoke will not automatically pass through the hub to another spoke. If the business wants centralized inspection, the hub needs a forwarding device such as Azure Firewall or another NVA, and the spokes need user-defined routes that send the relevant traffic to that device. This design makes the hub the controlled transit point. Why others are wrong: Simply adding more peering does not turn peering into a transit fabric. Private endpoints and service endpoints solve access to individual Azure services, not spoke-to-spoke connectivity. The missing capability is a forwarder plus explicit routing, because peering alone does not provide transitive routing or inspection through the hub.

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.