hardmulti selectObjective-mapped

A subnet has a route table with these user-defined routes: 10.10.0.0/16 to Virtual appliance, 10.10.5.0/24 to Virtual network gateway, and 10.10.5.128/25 to Virtual network. The subnet is attached to a VM that sends traffic to several destinations. Which three next-hop decisions are correct? Select three.

Question 1hardmulti select
Full question →

A subnet has a route table with these user-defined routes: 10.10.0.0/16 to Virtual appliance, 10.10.5.0/24 to Virtual network gateway, and 10.10.5.128/25 to Virtual network. The subnet is attached to a VM that sends traffic to several destinations. Which three next-hop decisions are correct? Select three.

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

Traffic to 10.10.5.9 uses Virtual network gateway.

The /24 route is more specific than the broader /16 route, so it wins for 10.10.5.9.

B

Best answer

Traffic to 10.10.5.200 uses Virtual network.

The /25 route is the most specific match for 10.10.5.200, so it takes precedence.

C

Best answer

Traffic to 10.10.8.4 uses Virtual appliance.

The destination matches only the broader 10.10.0.0/16 route, which points to the appliance.

D

Distractor review

Traffic to 10.10.5.9 uses Virtual appliance.

A more specific /24 route exists, so the broader /16 next hop is not chosen.

E

Distractor review

Traffic to 8.8.8.8 uses Virtual appliance.

No 10.10.x.x route matches 8.8.8.8, so the default system route would apply instead.

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: Traffic to 10.10.5.9 uses Virtual network gateway. — Azure uses longest-prefix match when selecting a route. For 10.10.5.9, the /24 route is more specific than /16 and sends traffic to the virtual network gateway. For 10.10.5.200, the /25 route is the most specific and stays within the virtual network next hop. For 10.10.8.4, only the /16 route matches, so traffic goes to the virtual appliance. This tests route precedence rather than simple route presence. Why others are wrong: The /16 route is only used when no more specific prefix matches, so it does not win for 10.10.5.9. Traffic to 8.8.8.8 does not match any of the listed 10.10.x.x routes, so the default system route would be used, not the appliance. These mistakes are common when people look at the table without applying longest-prefix logic.

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.