Skip to content
Lesson 6 of 13 · Microsoft Azure Fundamentals (AZ-900)

Networking services

Describe virtual networks, subnets, peering, DNS, VPN Gateway and ExpressRoute, and public versus private endpoints.

15 min

An Azure Virtual Network (VNet) is your private network in Azure. You choose an address range and split it into subnets. Resources in a VNet can talk to each other by default, and you control traffic with network security groups (NSGs), which allow or deny traffic by rules (source, destination, port, protocol).

Connecting networks

  • VNet peering connects two VNets over the Microsoft backbone, so they act as one. It works across regions too (global peering).
  • VPN Gateway sends encrypted traffic between a VNet and your on-premises network over the public internet. It can also connect individual users (point-to-site).
  • Azure ExpressRoute is a private connection to Azure through a connectivity provider. It does not use the public internet, so it gives more reliability, lower latency and consistent speed.
  • Azure DNS hosts your domain names and resolves them using Azure's infrastructure.

Endpoints

  • A public endpoint is reachable from the internet.
  • A private endpoint gives a service (for example, a storage account or SQL database) a private IP address inside your VNet, so traffic stays on your private network.

Other services you may meet: Azure Load Balancer (spreads traffic at layer 4), Application Gateway (layer 7, with web application firewall), Azure Firewall and Azure Bastion (secure RDP and SSH to VMs from the portal without public IPs).

Four connections: VPN, ExpressRoute, peering and a private endpoint.

VPN Gateway versus ExpressRoute.

VPN Gateway

Path
Over the public internet
Encrypted by default
Yes (IPsec)
Best for
Quick, lower-cost links and remote users

ExpressRoute

Path
Private connection through a provider
Encrypted by default
Private path (add encryption if required)
Best for
Steady performance and large, critical workloads
Decide

Pick the connection.

A bank needs a reliable, private, low-latency link to Azure that does not travel over the public internet.

Common misconception

“A VPN and ExpressRoute are two names for the same thing.”

Both link on-premises to Azure.

What is actually true

A VPN is an encrypted tunnel across the public internet. ExpressRoute is a dedicated private connection that bypasses the internet.

  • A VNet is your private network, split into subnets, with NSGs controlling traffic.
  • VPN Gateway: encrypted over the internet. ExpressRoute: private, no internet.
  • VNet peering links VNets over the Microsoft backbone.
  • A private endpoint gives a service a private IP in your VNet.
Check yourself

Networking check.

1Multiple choice

Which service provides a private connection to Azure that does not use the public internet?

  • AAzure DNS
  • BVPN Gateway
  • CAzure ExpressRoute
  • DApplication Gateway
2Multiple choice

Which feature controls inbound and outbound traffic to Azure resources with allow and deny rules?

  • ACost Management
  • BAzure Advisor
  • CResource locks
  • DNetwork security groups
3Multiple choice

Which feature connects two virtual networks over the Microsoft backbone?

  • APrivate endpoint
  • BAzure Bastion
  • CAvailability zone
  • DVNet peering
4Multiple choice

What does a private endpoint provide?

  • AA second subscription
  • BA cheaper SKU
  • CA faster public address
  • DA private IP address for an Azure service inside your VNet
5Fill the blanks

An Azure lets you securely RDP or SSH into VMs from the portal without exposing public IPs.

Capitalisation, spacing and punctuation are ignored when grading.

Practise this lesson, not just read it

In BiliMind the questions above are marked when you answer, the flashcards come back on a schedule, and the rest of Microsoft Azure Fundamentals (AZ-900) is planned around your week. Free.