Courseiva
Describe Azure architecture and servicesmediumMultiple ChoiceObjective-mapped

AZ-900 Describe Azure architecture and services Practice Question

Which Azure service provides a virtual private network gateway for connecting on-premises networks to Azure virtual networks over the internet?

⚠ Common exam trap

Test-takers frequently confuse Azure Virtual Network (the container for networking resources) with the VPN Gateway service itself, forgetting that a VPN gateway is a separate resource type that must be deployed inside a virtual network to enable encrypted internet-based connectivity.

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

Azure VPN Gateway

Azure VPN Gateway is the correct service because it provides a dedicated virtual private network (VPN) gateway that enables secure site-to-site (S2S) or point-to-site (P2S) connectivity between on-premises networks and Azure virtual networks over the public internet using IPsec/IKE protocols. It creates an encrypted tunnel across the internet, making it the appropriate choice for internet-based hybrid connectivity.

Answer analysis

Option-by-option breakdown

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

  • Azure ExpressRoute

    Why it's wrong here

    Azure ExpressRoute provides private, dedicated connectivity from a customer network to Azure through a third-party connectivity provider, crossing the Microsoft network over private lines rather than the public internet. It offers more consistent latency, higher bandwidth, and a 99.95% SLA, but it is not internet-based and cannot be described as an encrypted connection over the internet. ExpressRoute is an alternative for critical workloads requiring guaranteed performance, but the scenario calls for internet-based encrypted tunneling. Moreover, ExpressRoute traffic is typically not encrypted at Layer 3 by default, whereas VPN Gateway uses IPsec encryption.

  • Azure Virtual Network

    Why it's wrong here

    Azure Virtual Network is the private, isolated network boundary in Azure that provides IP addressing, subnets, and network security controls for your resources. By itself, it does not establish encrypted tunnels or terminate VPN connections; rather, it is the environment into which a VPN Gateway is placed. A VNet acts as the address space and routing container, while VPN Gateway is the device that performs the encryption and internet-facing negotiation. Choosing only a VNet would leave you with no mechanism to reach on-premises securely.

  • Azure VPN Gateway

    Why this is correct

    Azure VPN Gateway is a virtual network gateway that sends encrypted traffic between an Azure virtual network and an on-premises location over the public internet. It supports IPsec/IKE site-to-site VPN tunnels, point-to-site OpenVPN/IKEv2/SSTP connections, and VNet-to-VNet tunnels. You deploy it into a dedicated GatewaySubnet and choose a route-based or policy-based gateway SKU, with the route-based type being the flexible, modern default. This is precisely the service that satisfies a requirement for encrypted hybrid connectivity across the internet.

  • Azure Bastion

    Why it's wrong here

    Azure Bastion is a fully managed platform service that provides secure, browser-based RDP and SSH access to virtual machines directly from the Azure portal without exposing public IP addresses on the VMs. It does not create an encrypted site-to-site link from an on-premises network; instead, it solves the problem of administrative remote access to individual VMs. Bastion requires a BastionSubnet and integrates with Azure Private Link, but it cannot forward traffic between on-premises and your entire Azure VNet. A hybrid connection scenario needs VPN Gateway, not a VM-access jump host.

Quick reference

VPN Protocol Comparison

ProtocolPortEncryptionAuthenticationUse Case
IKEv2 / IPsecUDP 500 / 4500AES-256Certificates / PSKSite-to-site & remote access
SSL / TLS VPNTCP 443TLS 1.3Certificates / MFAClientless remote access
L2TP / IPsecUDP 1701AES (IPsec)PSK / CertificatesLegacy remote access
WireGuardUDP 51820ChaCha20Public keysModern high-performance VPN
PPTPTCP 1723MPPE (weak)MS-CHAPv2Legacy — avoid in production

PPTP is considered insecure. IKEv2/IPsec and SSL VPN are the current recommended options.

About these practice questions

This AZ-900 question is part of Courseiva's 981-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AZ-900 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-900 exam.