mediummultiple choiceObjective-mapped

An administrator is deploying an Azure VPN gateway for a site-to-site connection. The deployment fails because required network resources are missing. Which configuration is required before the gateway can be created?

Question 1mediummultiple choice
Full question →

An administrator is deploying an Azure VPN gateway for a site-to-site connection. The deployment fails because required network resources are missing. Which configuration is required before the gateway can be created?

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

A subnet named GatewaySubnet and a public IP address for the VPN gateway.

Azure VPN gateways require a dedicated GatewaySubnet and a public IP for external reachability.

B

Distractor review

A subnet named AzureBastionSubnet and a static private IP address.

That subnet is used by Bastion, not by a VPN gateway deployment.

C

Distractor review

A network security group attached directly to the virtual network gateway.

VPN gateways are not configured by attaching NSGs directly to the gateway resource.

D

Distractor review

A load balancer with a public frontend to terminate the VPN connection.

Azure VPN gateways do not rely on a load balancer for tunnel termination.

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 subnet named GatewaySubnet and a public IP address for the VPN gateway. — An Azure VPN gateway must be deployed in a dedicated subnet named GatewaySubnet, and it requires a public IP address so the gateway can establish connectivity with the on-premises device over the Internet. Without that subnet and public IP, the gateway resource cannot be created successfully. This is a foundational requirement for route-based site-to-site VPN connectivity in Azure. Why others are wrong: AzureBastionSubnet is for Bastion, not VPN connectivity. NSGs are not the prerequisite missing resource for a gateway deployment. A load balancer is not used to terminate Azure VPN tunnels. The failure is most likely caused by missing the dedicated GatewaySubnet or the public IP resource, which are mandatory for the gateway.

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.