mediummultiple choiceObjective-mapped

An administrator is deploying a site-to-site VPN gateway in the Azure portal. The deployment fails validation because the gateway does not have a public-facing address to terminate the tunnel. What must be created and associated with the VPN gateway?

Question 1mediummultiple choice
Full question →

An administrator is deploying a site-to-site VPN gateway in the Azure portal. The deployment fails validation because the gateway does not have a public-facing address to terminate the tunnel. What must be created and associated with the VPN gateway?

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

A load balancer frontend IP configuration in front of the gateway subnet.

A load balancer is not used to terminate Azure VPN gateway tunnels and does not satisfy the gateway public address requirement.

B

Best answer

A public IP address resource associated with the VPN gateway.

Azure VPN gateways require a public IP address resource so the on-premises VPN device can establish the tunnel to a known public endpoint. The gateway is deployed in GatewaySubnet, and the public IP is attached as part of the gateway configuration. Without that resource, the VPN gateway cannot be created successfully.

C

Distractor review

A NAT gateway attached to GatewaySubnet.

A NAT gateway is for outbound internet translation from subnets, not for creating a VPN tunnel endpoint.

D

Distractor review

A private endpoint for the virtual network gateway resource.

Private endpoints do not apply to VPN gateways and cannot replace the public endpoint required for S2S connectivity.

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: A public IP address resource associated with the VPN gateway. — A site-to-site VPN gateway needs a public IP address resource so the on-premises device has a public endpoint to connect to. The gateway itself is placed in the dedicated GatewaySubnet, and the public IP is associated during deployment. If that resource is missing, validation fails because Azure cannot expose the tunnel endpoint properly. This is a foundational VPN gateway requirement, separate from tunnel policy or routing details. Why others are wrong: A load balancer does not terminate the VPN tunnel and is not part of the gateway deployment pattern. NAT gateway is unrelated because it only manages outbound SNAT for subnets. Private endpoints are used for private access to supported services, not for VPN gateway termination. The correct fix is specifically the gateway public IP resource.

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.