Question 553 of 1,170
Implement and Manage Virtual NetworkinghardMultiple SelectObjective-mapped

AZ-104 Implement and Manage Virtual Networking Practice Question

This AZ-104 practice question tests your understanding of implement and manage virtual networking. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

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

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Deploy a virtual network gateway in a dedicated GatewaySubnet.

A virtual network gateway must be deployed in a dedicated subnet called GatewaySubnet to host the VPN gateway resources. This subnet is required for the gateway to function and must be named exactly 'GatewaySubnet' to be recognized by Azure when creating a site-to-site VPN connection.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Deploy a virtual network gateway in a dedicated GatewaySubnet.

    Why this is correct

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

    Related concept

    Read the scenario before looking for a memorised answer.

  • Assign a public IP address to the Azure VPN gateway.

    Why this is correct

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

    Related concept

    Read the scenario before looking for a memorised answer.

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

    Why this is correct

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

    Related concept

    Read the scenario before looking for a memorised answer.

  • Create a private endpoint for the headquarters network.

    Why it's wrong here

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

    When this WOULD be correct

    A company requires secure, private connectivity from on-premises to an Azure Storage account without traversing the public internet. In that scenario, creating a private endpoint for the storage account in the VNet would be a correct prerequisite.

  • Enable Microsoft peering on the virtual network gateway.

    Why it's wrong here

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

    When this WOULD be correct

    In a scenario requiring private connectivity between Azure and an on-premises network via ExpressRoute, enabling Microsoft peering on the virtual network gateway allows access to Azure PaaS services over the ExpressRoute circuit.

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The AZ-104 exam frequently reuses these exact scenarios with slightly different constraints.

Deploy a virtual network gateway in a dedicated GatewaySubnet.Correct answer

Why this is correct

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

Create a private endpoint for the headquarters network.Wrong answer — click to see why

Why this is wrong here

Private endpoints are used for secure access to Azure PaaS services (e.g., Storage, SQL) over a private IP within a VNet, not for establishing site-to-site VPN connectivity between on-premises and Azure.

★ When this WOULD be the correct answer

A company requires secure, private connectivity from on-premises to an Azure Storage account without traversing the public internet. In that scenario, creating a private endpoint for the storage account in the VNet would be a correct prerequisite.

Why candidates choose this

Candidates may confuse 'private endpoint' with 'private IP' or think it provides a secure tunnel, not realizing that site-to-site VPN requires a VPN gateway and public IP, not a private endpoint.

Enable Microsoft peering on the virtual network gateway.Wrong answer — click to see why

Why this is wrong here

Microsoft peering is used for ExpressRoute, not site-to-site VPN. A classic site-to-site tunnel requires a VPN gateway with a public IP and IKE/IPsec settings, not peering.

★ When this WOULD be the correct answer

In a scenario requiring private connectivity between Azure and an on-premises network via ExpressRoute, enabling Microsoft peering on the virtual network gateway allows access to Azure PaaS services over the ExpressRoute circuit.

Why candidates choose this

Candidates may confuse 'peering' with VPN connectivity or think that enabling peering is a generic step for any hybrid connection, not realizing it's specific to ExpressRoute.

Analysis generated from the official AZ-104blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates may confuse private endpoints (used for PaaS services) or ExpressRoute peering with the prerequisites for a classic site-to-site VPN, which strictly requires a GatewaySubnet, a public IP on the gateway, and a compatible on-premises VPN device.

Detailed technical explanation

How to think about this question

A site-to-site VPN tunnel uses IPsec/IKE (Internet Key Exchange) to encrypt traffic between the on-premises VPN device and the Azure VPN gateway. The Azure VPN gateway must have a public IP address assigned to it so that the on-premises device can initiate the tunnel, and the on-premises device must also have a public IP and support matching IKE versions (IKEv1 or IKEv2) and IPsec parameters (such as encryption algorithms, integrity algorithms, and DH groups) to successfully negotiate the security association.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A healthcare organisation deploys an application with a public-facing web tier and a private database tier. The database subnet has no public IP and only accepts connections from the web tier's security group. Questions like this test whether you can design cloud network isolation using VNets/VPCs, subnets, and security group rules.

Visual reference

192.168.1.0 /24 256 addresses (254 usable) 192.168.1.0 /25 Subnet A 128 addr (126 usable) 192.168.1.128 /25 Subnet B 128 addr (126 usable) Borrowing 1 bit from host portion creates 2 subnets (/25)

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

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.

Practice this exam

Start a free AZ-104 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this AZ-104 question test?

Implement and Manage Virtual Networking — This question tests Implement and Manage Virtual Networking — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Deploy a virtual network gateway in a dedicated GatewaySubnet. — A virtual network gateway must be deployed in a dedicated subnet called GatewaySubnet to host the VPN gateway resources. This subnet is required for the gateway to function and must be named exactly 'GatewaySubnet' to be recognized by Azure when creating a site-to-site VPN connection.

What should I do if I get this AZ-104 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More AZ-104 practice questions

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This AZ-104 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-104 exam.