hardmulti selectObjective-mapped

A company wants encrypted connectivity between its on-premises network and an Azure VNet. The organization has one edge VPN device at headquarters, and the Azure design must support a classic site-to-site tunnel rather than individual user VPN connections. Which three prerequisites are required? Select three.

Question 1hardmulti select
Full question →

A company wants encrypted connectivity between its on-premises network and an Azure VNet. The organization has one edge VPN device at headquarters, and the Azure design must support a classic site-to-site tunnel rather than individual user VPN connections. Which three prerequisites are required? Select three.

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

Deploy a virtual network gateway in a dedicated GatewaySubnet.

Azure VPN gateways must be deployed into the special GatewaySubnet within the VNet.

B

Best answer

Assign a public IP address to the Azure VPN gateway.

The gateway needs a public-facing endpoint so the on-premises device can establish the tunnel.

C

Best answer

Configure the on-premises VPN device with a public IP and supported IKE/IPsec settings.

The on-premises device must be reachable and must use compatible tunnel parameters.

D

Distractor review

Create a private endpoint for the headquarters network.

Private endpoints are for PaaS service access, not for hybrid VPN tunnel establishment.

E

Distractor review

Enable Microsoft peering on the virtual network gateway.

Microsoft peering is associated with ExpressRoute concepts, not standard site-to-site VPN gateways.

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: Deploy a virtual network gateway in a dedicated GatewaySubnet. — A site-to-site VPN requires an Azure VPN gateway in the GatewaySubnet, because that is where the gateway service is deployed. The gateway also needs a public IP address so the on-premises device can connect to it over the internet. Finally, the on-premises VPN appliance must have a compatible public endpoint and use matching IKE/IPsec settings. All three pieces are necessary before the tunnel can come up. Why others are wrong: Private endpoints are unrelated to VPN tunnel creation and only solve private access to supported services. Microsoft peering is not a VPN requirement and belongs to a different connectivity model. Those distractors are common because they sound like network connectivity features, but they do not create an encrypted site-to-site tunnel.

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.