AZ-900 ยท Networking
Azure VPN Gateway
Encrypted connections over the public internet: site-to-site, point-to-site and network-to-network VPNs, and policy-based vs route-based gateways.
Key points
- VPN gateway: virtual network gateway in a subnet named GatewaySubnet; encrypts traffic over the public internet; active-standby or active-active.
- Site-to-site: IPsec/IKE tunnel to an on-premises VPN device.
- Point-to-site: one computer over OpenVPN, IKEv2 or SSTP.
- VNet-to-VNet: two Azure VPN gateways.
- Route-based (dynamic): normal, required for point-to-site.
- Policy-based (static): legacy, Basic SKU only, cannot be converted.
Source: https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpngateways
Practice questions
Which VPN Gateway connection type lets one employee's laptop at home connect to an Azure virtual network?
- Site-to-site
- Point-to-site
- VNet-to-VNet
- ExpressRoute
Show answer
Answer: B. Point-to-site
Point-to-site connects an individual computer to the virtual network, for example from home or a conference. Site-to-site needs an on-premises VPN device, VNet-to-VNet links two Azure gateways, and ExpressRoute is a private circuit through a provider.
Which components are part of a site-to-site VPN connection to Azure?
- A VPN gateway in the virtual network's GatewaySubnet
- A compatible VPN device at the on-premises site
- A local network gateway describing the on-premises side
- An ExpressRoute circuit from a connectivity provider
- A private endpoint for each on-premises server
Show answer
Answer: A. A VPN gateway in the virtual network's GatewaySubnet, B. A compatible VPN device at the on-premises site, C. A local network gateway describing the on-premises side
A site-to-site setup uses a VPN gateway deployed in the virtual network's GatewaySubnet, a compatible VPN device on-premises, and a local network gateway that tells Azure the device's public IP and the on-premises address ranges. An ExpressRoute circuit and a private endpoint are not needed.
An existing policy-based VPN gateway can be switched to route-based in place, without deleting it.
Show answer
Answer: False
False. A policy-based gateway cannot be converted. To use features that need route-based, such as point-to-site, you delete the gateway and create a new route-based one.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
