mediummultiple choiceObjective-mapped

An administrator is deploying a site-to-site VPN gateway in an existing VNet. The GatewaySubnet already exists, but deployment validation fails because the gateway has no public-facing IP resource. Which configuration is required?

Question 1mediummultiple choice
Full question →

An administrator is deploying a site-to-site VPN gateway in an existing VNet. The GatewaySubnet already exists, but deployment validation fails because the gateway has no public-facing IP resource. Which configuration is 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

Attach a Standard SKU public IP address with static allocation to the VPN gateway.

Azure VPN gateways require a public IP resource, and Standard static IPs are the supported choice.

B

Distractor review

Attach a private IP address from the GatewaySubnet to the VPN gateway.

VPN gateways terminate site-to-site connections on a public IP, not only on a private address.

C

Distractor review

Place the gateway behind an internal load balancer in the GatewaySubnet.

An internal load balancer is not how Azure VPN gateways receive on-premises encrypted tunnels.

D

Distractor review

Create a NAT gateway and associate it with the GatewaySubnet.

A NAT gateway does not replace the public IP requirement for the VPN gateway service.

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: Attach a Standard SKU public IP address with static allocation to the VPN gateway. — A site-to-site VPN gateway must have a public IP resource so on-premises VPN devices can establish encrypted tunnels to Azure. In modern deployments, that public IP should be Standard SKU with static allocation. The GatewaySubnet hosts the gateway, but the public IP is what makes the gateway reachable from the internet-facing on-premises VPN appliance. Without that public-facing address, validation and deployment fail. Why others are wrong: A private IP alone cannot terminate an internet-based site-to-site tunnel. An internal load balancer is not used for VPN gateway connectivity. A NAT gateway handles outbound translation for subnets, but it does not satisfy the Azure VPN gateway’s requirement for a public endpoint.

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.