mediummultiple choiceObjective-mapped

A hub VNet already has a VPN gateway connected to on-premises networks. A new spoke VNet must reach those on-premises networks through the existing gateway without deploying another gateway. Which peering settings are required?

Question 1mediummultiple choice
Full question →

A hub VNet already has a VPN gateway connected to on-premises networks. A new spoke VNet must reach those on-premises networks through the existing gateway without deploying another gateway. Which peering settings are required?

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

Enable gateway transit on the hub peering and use remote gateways on the spoke peering.

To let a spoke VNet use the hub's gateway, the hub side must allow gateway transit and the spoke side must be configured to use the remote gateway. This combination lets the spoke send traffic to on-premises networks through the existing hub VPN gateway, avoiding duplicate gateway deployment. It is the standard design for hub-and-spoke environments that centralize connectivity and reduce cost and operational overhead.

B

Distractor review

Enable forwarded traffic on both peerings and leave gateway settings disabled.

Forwarded traffic helps traffic pass through an appliance, but it does not let a spoke use another VNet's gateway.

C

Distractor review

Enable use remote gateways on the hub peering and gateway transit on the spoke peering.

Those settings are reversed; the hub must provide transit and the spoke must consume it.

D

Distractor review

Create a private endpoint between the two VNets.

Private endpoints expose supported PaaS services privately and do not share a VPN gateway between VNets.

Common exam trap

Common exam trap: answer the scenario, not the keyword

Many certification questions include familiar terms but test a specific constraint. Read the exact wording before choosing an answer that is generally true but wrong for this case.

Technical deep dive

How to think about this question

This question should be treated as a scenario, not a definition check. Identify the problem, the constraint and the best action. Then compare each option against those facts.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.
  • Use explanations to understand the rule behind the answer.

TExam Day Tips

  • Underline the problem statement mentally.
  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

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?

Read the scenario before looking for a memorised answer.

What is the correct answer to this question?

The correct answer is: Enable gateway transit on the hub peering and use remote gateways on the spoke peering. — In a hub-and-spoke design, the hub VNet owns the VPN gateway and must be allowed to advertise that gateway to the peered VNets. The spoke then uses the remote gateway setting to send on-premises traffic through the hub. This avoids placing a separate gateway in every spoke while still providing private, routed access to the corporate network through the existing connection. Why others are wrong: Forwarded traffic is useful for NVAs and appliance-based routing, not for gateway sharing. The gateway settings are not interchangeable; the hub enables transit, and the spoke consumes it. Private endpoints are unrelated because they are for PaaS resources rather than shared network-to-network VPN connectivity.

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.