hardmultiple choiceObjective-mapped

An administrator is deploying a route-based site-to-site VPN gateway. The GatewaySubnet already exists, but validation fails because the public IP configuration is incompatible with the chosen gateway. Which public IP setup is required for the gateway?

Question 1hardmultiple choice
Full question →

An administrator is deploying a route-based site-to-site VPN gateway. The GatewaySubnet already exists, but validation fails because the public IP configuration is incompatible with the chosen gateway. Which public IP setup is required for the 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 Basic SKU public IP with dynamic allocation.

Basic dynamic public IP settings are not supported for Azure VPN gateways.

B

Distractor review

A Basic SKU public IP with static allocation.

A Basic static public IP still does not satisfy the gateway's required SKU for deployment.

C

Best answer

A Standard SKU public IP with static allocation.

Azure VPN gateways require a Standard public IP configuration, and the address must be statically allocated. This is part of the gateway's external-facing connectivity requirement and is validated during deployment. If a Basic or dynamically assigned public IP is selected, gateway creation can fail even when GatewaySubnet already exists and is sized correctly.

D

Distractor review

A private IP address assigned directly from GatewaySubnet.

VPN gateways are Internet-facing and need a public IP resource; a private-only address is not sufficient.

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 Standard SKU public IP with static allocation. — A route-based Azure VPN gateway needs a Standard SKU public IP that is statically assigned. The public IP is the internet-facing endpoint used by on-premises VPN devices to establish the tunnel. If the administrator picks a Basic or dynamic public IP, validation can fail even though the VNet and GatewaySubnet are otherwise ready. Matching the gateway’s public IP requirements is a deployment prerequisite, not an optional tuning choice. Why others are wrong: Basic SKU public IPs are not accepted for this gateway scenario, whether dynamic or static. A private IP cannot replace the required public endpoint because the on-premises VPN device must reach Azure over the Internet. The key constraint is the gateway’s external connectivity model, which depends on a Standard static 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.