AZ-104 Implement and Manage Virtual Networking Practice Question
This AZ-104 practice question tests your understanding of implement and manage virtual networking. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. 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.
Exhibit
Gateway deployment validation output:
GatewaySubnet: Present
Gateway type: VPN
VPN type: Route-based
Validation error: A public IP address resource must be specified for the gateway.
Current gateway configuration: No public IP attached.
Based on the exhibit, a site-to-site VPN gateway deployment fails. What prerequisite should the administrator provide so the gateway can be created successfully?
Gateway deployment validation output:
GatewaySubnet: Present
Gateway type: VPN
VPN type: Route-based
Validation error: A public IP address resource must be specified for the gateway.
Current gateway configuration: No public IP attached.
A
A public IP address resource that will be associated with the VPN gateway.
Azure VPN gateways need a public-facing IP resource so the gateway can accept encrypted tunnels from the on-premises device. The exhibit shows the gateway subnet is already present, but no public IP was attached. Creating and associating the public IP resource satisfies the deployment prerequisite.
B
A NAT gateway on the GatewaySubnet to translate tunnel traffic.
Why wrong: A NAT gateway is not a prerequisite for VPN gateway deployment. It does not replace the required public IP resource for the VPN gateway itself.
C
A private endpoint in the GatewaySubnet for tunnel termination.
Why wrong: Private endpoints are for accessing supported PaaS services privately. They are not used to terminate site-to-site VPN tunnels.
D
A network security group that allows inbound TCP 443 to the subnet.
Why wrong: VPN gateway deployment depends on a gateway public IP, not on opening TCP 443 to the subnet. NSGs are not the missing resource in the validation error shown.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
A public IP address resource that will be associated with the VPN gateway.
A site-to-site VPNgateway in Azure requires a public IP address resource to be associated with it for the tunnel to be established. The VPN gateway uses this public IP as the endpoint for on-premises VPN devices to connect to over the internet. Without a public IP, the gateway cannot be provisioned because it has no routable external address for IPsec/IKE negotiation.
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.
✓
A public IP address resource that will be associated with the VPN gateway.
Why this is correct
Azure VPN gateways need a public-facing IP resource so the gateway can accept encrypted tunnels from the on-premises device. The exhibit shows the gateway subnet is already present, but no public IP was attached. Creating and associating the public IP resource satisfies the deployment prerequisite.
Related concept
Read the scenario before looking for a memorised answer.
✗
A NAT gateway on the GatewaySubnet to translate tunnel traffic.
Why it's wrong here
A NATgateway is not a prerequisite for VPN gateway deployment. It does not replace the required public IP resource for the VPN gateway itself.
✗
A private endpoint in the GatewaySubnet for tunnel termination.
Why it's wrong here
Private endpoints are for accessing supported PaaS services privately. They are not used to terminate site-to-site VPN tunnels.
✗
A network security group that allows inbound TCP 443 to the subnet.
Why it's wrong here
VPNgateway deployment depends on a gateway public IP, not on opening TCP 443 to the subnet. NSGs are not the missing resource in the validation error shown.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse the prerequisite for a VPNgateway with that of an Azure Firewall or NAT gateway, mistakenly thinking a NAT gateway or NSG is required, when in fact only a public IP is mandatory for the VPN gateway to function.
Trap categories for this question
Command / output trap
VPN gateway deployment depends on a gateway public IP, not on opening TCP 443 to the subnet. NSGs are not the missing resource in the validation error shown.
Detailed technical explanation
How to think about this question
Under the hood, the VPNgateway uses the public IP address to establish an IPsec tunnel with the on-premises device, encapsulating traffic in ESP (Encapsulating Security Payload) packets. The public IP must be a Standard SKU public IP resource in the same region, and it is assigned to the gateway's front-end configuration. A common real-world scenario is forgetting to create the public IP before the gateway, leading to a deployment error that can be resolved by provisioning the public IP first.
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 company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.
Related glossary terms
Concepts from this question explained
These glossary pages explain the core terms tested in this AZ-104 question in full detail.
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: A public IP address resource that will be associated with the VPN gateway. — A site-to-site VPN gateway in Azure requires a public IP address resource to be associated with it for the tunnel to be established. The VPN gateway uses this public IP as the endpoint for on-premises VPN devices to connect to over the internet. Without a public IP, the gateway cannot be provisioned because it has no routable external address for IPsec/IKE negotiation.
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 →
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.
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.
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.
Sign in to join the discussion.