The answer is a site-to-site VPN connection to an Azure VPN gateway. This is the correct choice because it establishes a persistent, encrypted IPsec/IKE tunnel between the branch office’s on-premises network and Azure, allowing all devices at the branch to securely access Azure resources without per-user client configuration. On the AZ-104 exam, this scenario tests your understanding of hybrid connectivity options—specifically when to choose site-to-site VPN over Point-to-Site or ExpressRoute; a common trap is selecting Point-to-Site for a branch office, but that requires individual client setup and is meant for remote users, not a full network. Remember the memory tip: “Branch to cloud, site-to-site is proud”—if the question describes a fixed office needing constant, full-network access, think site-to-site VPN gateway.
AZ-104 Implement and Manage Virtual Networking Practice Question
This AZ-104 practice question tests your understanding of implement and manage virtual networking. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. 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
Branch office details:
- One edge firewall/router with public IP 203.0.113.50
- Users must reach private Azure VMs and internal services
- Traffic must be encrypted over the internet
- No per-user tunnel setup is desired
Based on the exhibit, which Azure connectivity option should the administrator use for the branch office?
Branch office details:
- One edge firewall/router with public IP 203.0.113.50
- Users must reach private Azure VMs and internal services
- Traffic must be encrypted over the internet
- No per-user tunnel setup is desired
A
Point-to-site VPN for each user laptop.
Why wrong: Point-to-site is user-based remote access, but the exhibit describes a shared branch office device.
B
VNet peering between the branch office and Azure.
Why wrong: Peering works only between virtual networks, not between an on-premises branch site and Azure.
C
A service endpoint on the Azure subnet.
Why wrong: Service endpoints protect access to Azure services, but they do not provide encrypted branch-to-Azure connectivity.
D
A site-to-site VPN connection to an Azure VPN gateway.
A site-to-site VPN is designed for a branch office network with a single edge device. It creates encrypted connectivity over the internet to Azure so users can reach private resources without setting up individual tunnels on every laptop.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
A site-to-site VPN connection to an Azure VPN gateway.
A site-to-site VPN connection to an Azure VPN gateway (Option D) is the correct choice because it provides a persistent, encrypted tunnel between the branch office's on-premises network and Azure, enabling seamless connectivity for all users and devices at the branch without requiring per-user configuration. This aligns with the typical scenario where a branch office needs constant, secure access to Azure resources, and the VPN gateway supports IPsec/IKE protocols for site-to-site connections.
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.
✗
Point-to-site VPN for each user laptop.
Why it's wrong here
Point-to-site is user-based remote access, but the exhibit describes a shared branch office device.
✗
VNet peering between the branch office and Azure.
Why it's wrong here
Peering works only between virtual networks, not between an on-premises branch site and Azure.
✗
A service endpoint on the Azure subnet.
Why it's wrong here
Service endpoints protect access to Azure services, but they do not provide encrypted branch-to-Azure connectivity.
✓
A site-to-site VPN connection to an Azure VPN gateway.
Why this is correct
A site-to-site VPN is designed for a branch office network with a single edge device. It creates encrypted connectivity over the internet to Azure so users can reach private resources without setting up individual tunnels on every laptop.
Related concept
Read the scenario before looking for a memorised answer.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse VNet peering (Option B) as a hybrid connectivity solution, but it only works between Azure VNets and cannot connect on-premises networks, making site-to-site VPN the correct choice for branch office connectivity.
Detailed technical explanation
How to think about this question
A site-to-site VPN connection uses IPsec/IKE (Internet Key Exchange) to establish a secure tunnel over the public internet, with the Azure VPN gateway acting as one endpoint and an on-premises VPN device (e.g., a router or firewall) as the other. The connection requires a public IP address for the on-premises device and supports both policy-based and route-based VPNs, with route-based being more flexible for dynamic routing using BGP. In real-world scenarios, this setup is ideal for branch offices needing consistent access to Azure VMs or services, with throughput limited by the VPN gateway SKU (e.g., up to 1.25 Gbps for VpnGw3).
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 site-to-site VPN connection to an Azure VPN gateway. — A site-to-site VPN connection to an Azure VPN gateway (Option D) is the correct choice because it provides a persistent, encrypted tunnel between the branch office's on-premises network and Azure, enabling seamless connectivity for all users and devices at the branch without requiring per-user configuration. This aligns with the typical scenario where a branch office needs constant, secure access to Azure resources, and the VPN gateway supports IPsec/IKE protocols for site-to-site connections.
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.