Study guide

2.8 Azure Load Balancing and Content Delivery

Microsoft Azure Fundamentals AZ-900

Track your progress as you read

Finished sections get a check mark.

1 Introduction

About the Microsoft Azure Fundamentals (AZ-900) Exam Study Strategies and Exam Tips

2 Domain 1: Cloud Concepts (25-30%)

1.1 What Is Cloud Computing? 1.2 Cloud Service Models (IaaS, PaaS, SaaS) 1.3 Cloud Deployment Models (Public, Private, Hybrid) 1.4 The Consumption-Based Model

3 Domain 2A: Azure Architecture Components

2.1 Azure Regions and Availability Zones 2.2 Azure Resource Hierarchy (Management Groups, Subscriptions, Resource Groups) 2.3 Azure Resource Manager (ARM) Overview

4 Domain 2B: Azure Compute Services

2.3 Azure Virtual Machines 2.4 Azure App Service, Containers, and Serverless 2.5 Azure Virtual Desktop

5 Domain 2C: Azure Networking Services

2.6 Azure Virtual Networks (VNet) 2.7 Azure VPN Gateway and ExpressRoute 2.8 Azure Load Balancing and Content Delivery

6 Domain 2D: Azure Storage Services

2.9 Azure Storage Accounts and Services 2.10 Azure Database Services 2.11 Azure Data Services and Analytics

7 Domain 2E: Azure Identity, Access, and Security

2.11 Microsoft Entra ID (Azure Active Directory) 2.12 Azure RBAC, Zero Trust, and Defense in Depth 2.13 Azure Security Services

8 Domain 3A: Azure Cost Management

3.1 Factors That Affect Azure Costs 3.2 Azure Pricing Calculator and Cost Management 3.3 Using Tags for Cost Management and Organization

9 Domain 3B: Azure Governance and Compliance

3.3 Azure Policy 3.4 Resource Locks and Tags 3.5 Azure Blueprints, ARM Templates, and Bicep 3.6 Azure Governance Features: Putting It All Together

10 Domain 3C: Azure Monitoring and Management Tools

3.6 Azure Monitor and Service Health 3.7 Azure Compliance, Privacy, and Trust 3.8 Azure Activity Log, Diagnostics, and Resource Health

11 Additional Azure Services and Exam Review

Azure AI and Machine Learning Services Azure IoT and DevOps Services AZ-900 Exam Review: Key Concepts Summary Common AZ-900 Exam Scenarios and Practice

12 Advanced Azure Topics and Service Deep Dives

Azure Migration Services and Tools High Availability and Disaster Recovery in Azure Azure Networking: Private Link, Service Endpoints, and Bastion Azure Management Tools: Portal, CLI, PowerShell, and Cloud Shell Azure SLAs, Service Lifecycle, and Support Plans

2.8 Azure Load Balancing and Content Delivery

Key Takeaways Explain This Topic AI

Azure Load Balancer is a Layer 4 (TCP/UDP) regional distributor that does not inspect application content.

Azure Application Gateway is a Layer 7 (HTTP/HTTPS) regional service with URL path routing, SSL termination, and a Web Application Firewall (WAF).

Azure Front Door is a global Layer 7 load balancer plus CDN with WAF for internet-facing web apps.

Azure Traffic Manager is DNS-based global routing that returns an endpoint and does NOT proxy traffic.

Azure Front Door is Microsoft's content delivery network: it caches static content at edge locations to cut latency for distant users. Azure CDN from Microsoft (classic) has accepted no new profiles since August 15, 2025 and retires on September 30, 2027.

Last updated: October 2026

Quick Answer: Load Balancer = Layer 4 (TCP/UDP), regional. Application Gateway = Layer 7 (HTTP), regional, with Web Application Firewall. Front Door = global Layer 7 + CDN + WAF. Traffic Manager = DNS-based global routing (no proxying). CDN = edge caching of static content, which Front Door now provides (Azure CDN classic is retiring).

Two Axes: Layer and Scope

Azure's four load-balancing services are easiest to memorize on two axes the exam relies on:

Service OSI layer Scope Proxies traffic?

  • Load Balancer Layer 4 (TCP/UDP) Regional Yes
  • Application Gateway Layer 7 (HTTP/HTTPS) Regional Yes
  • Front Door Layer 7 (HTTP/HTTPS) Global Yes
  • Traffic Manager DNS (Layer 7 control plane) Global No

Layer 4 means the service routes by IP address and TCP/UDP port without understanding the payload. Layer 7 means it understands HTTP — it can read URLs, hostnames, headers, and cookies, enabling features such as path-based routing and SSL termination.

The other axis is regional vs. global : Load Balancer and Application Gateway distribute traffic within one region ; Front Door and Traffic Manager distribute across regions worldwide.

A quick mental check the exam rewards: if a service can read a URL path or hostname , it is Layer 7 (Application Gateway, Front Door); if it only sees an IP and port , it is Layer 4 (Load Balancer). If a service spans multiple regions , it is global (Front Door, Traffic Manager); otherwise it is regional . Combining the two axes uniquely identifies every service in the table above.

  • The Four Services in Detail
  • Azure Load Balancer (Layer 4, regional)

Distributes inbound TCP/UDP flows across a backend pool of VMs in a region using a 5-tuple hash. It is non-HTTP-aware , extremely high throughput and low latency, and used for any protocol — databases, custom TCP services, or VM scale sets. It comes in Public (internet-facing) and Internal (private front-end) variants.

Azure Application Gateway (Layer 7, regional)

A web traffic load balancer that understands HTTP. Distinguishing features:

URL path-based routing — send /images/* to one pool and /api/* to another.

SSL/TLS termination (offload) — decrypt at the gateway to spare backend VMs.

Web Application Firewall (WAF) — blocks OWASP Top 10 attacks such as SQL injection and cross-site scripting.

Cookie-based session affinity.

When a question pairs "Layer 7" with a "built-in Web Application Firewall" within a single region, the answer is Application Gateway .

Azure Front Door (global Layer 7 + CDN + WAF)

Microsoft's global entry point for internet-facing web apps. It combines Layer 7 load balancing, CDN caching , SSL offload , and a WAF at the network edge, routing users to the closest healthy backend across regions. Choose it when the requirement is "global, fast, secure web application with failover."

Azure Traffic Manager (DNS-based, global)

Works at the DNS layer : a client's DNS query returns the IP of the best endpoint based on a routing method — Priority (failover), Weighted (split by percentage), Performance (lowest latency), or Geographic (by user location). Crucially, Traffic Manager does not see or proxy the actual traffic — once DNS resolves, the client connects straight to the endpoint. That "does not proxy" property is its signature exam fact.

Content Delivery with Azure Front Door

A content delivery network (CDN) caches static content — images, video, CSS, JavaScript, downloads — at a global network of edge points of presence (PoPs) . When a user requests a cached file, it is served from the nearest PoP instead of the origin, which:

  • Reduces latency for geographically distant users,
  • Offloads the origin server, and

Smooths traffic spikes (e.g., a viral download).

Azure Front Door is Microsoft's content delivery network for the cloud, with more than 118 edge locations across 100 metro areas. Azure CDN from Microsoft (classic) has accepted no new domains or profiles since August 15, 2025 and retires on September 30, 2027 ; Microsoft directs customers to Front Door Standard or Premium.

The primary benefit of a CDN is lower latency by serving cached content close to users — not security, not compute, not storage durability. Cached objects honor a time-to-live (TTL) so they refresh from the origin periodically; until the TTL expires the edge serves the stored copy.

Selection Decision Tree

Match the scenario keywords:

Static files, faster delivery worldwide → Azure Front Door (CDN caching).

Global web app, edge security + caching + failover → Azure Front Door .

Route users to different regions by DNS, no proxying → Traffic Manager .

HTTP routing by URL path + WAF, single region → Application Gateway .

Plain TCP/UDP across VMs in one region → Load Balancer .

Note that these services are often combined : Traffic Manager can route users to the regional endpoint hosting an Application Gateway, which in turn balances across VMs behind an internal Load Balancer — a layered design AZ-900 may describe to test whether you can separate each service's role.

Common Traps to Memorize

Layer 4 vs. Layer 7: Load Balancer is Layer 4 and cannot do URL routing; Application Gateway is Layer 7 and can.

WAF lives on Application Gateway and Front Door , not on Load Balancer or Traffic Manager.

Traffic Manager is DNS-based and does NOT proxy traffic — a wrong answer often claims it proxies like a load balancer.

Regional vs. global: Load Balancer/Application Gateway = one region; Front Door/Traffic Manager = global.

CDN caching serves stored copies from the edge ; it does not run application logic or compute.

Front Door = global ; do not confuse it with the regional Application Gateway even though both are Layer 7 with WAF.