Skip to content

Networking

Load Balancers

Service Layer Scope Use Case Key Feature
Azure Load Balancer L4 (TCP/UDP) Regional Internal or public VM load balancing Low latency, non-HTTP
Application Gateway L7 (HTTP/S) Regional Web apps, URL-based routing WAF, SSL termination, cookie affinity
Azure Front Door L7 (HTTP/S) Global Multi-region web apps, CDN+WAF Anycast, global routing, WAF, CDN
Traffic Manager DNS-based Global Non-HTTP global routing, failover DNS TTL-based, not a proxy
API Management L7 (HTTP/S) Regional/Global API gateway, rate limiting, auth Policies, developer portal, caching

Exam tip: SLA-focused wording is a strong discriminator in load-balancing questions. Prefer options that are explicitly SLA-backed for production workloads and note that SLA terms generally depend on correct multi-instance or multi-region design.

Decision Flow

flowchart TD
    A[Need load balancing?] --> B{HTTP/HTTPS?}
    B -- No --> C{Global?}
    B -- Yes --> D{Global?}
    C -- No --> E[Azure Load Balancer]
    C -- Yes --> F[Traffic Manager]
    D -- No --> G{Need WAF?}
    D -- Yes --> H[Azure Front Door]
    G -- Yes --> I[Application Gateway + WAF]
    G -- No --> J[Application Gateway]

API Management (APIM)

Tier Comparison

Tier VNet Injection Scale Units Availability Zones Primary Use Case
Consumption None Serverless (auto) No Lightweight, event-driven APIs; no portal; cold-start
Developer External / Internal 1 (no scale-out) No Non-production, dev/test, full feature exploration
Basic None Up to 2 No Entry-level production; no VNet, limited SLA
Standard External / Internal Up to 4 No Production; VNet injection without AZ or multi-region
Premium External / Internal Up to 31 per region Yes (multi-region) Enterprise; multi-region gateways, AZs, private APIs

v2 note: Basic v2 and Standard v2 are GA. They offer faster provisioning and VNet integration via injection (Standard v2) but do not yet support all Premium features (multi-region, self-hosted gateway at scale). Use Premium v1/v2 for full enterprise requirements.

Policy Evaluation Order

Layer Trigger Typical Use
Inbound Every request on arrival at gateway JWT validation, rate limiting, IP filtering, rewriting
Backend Just before forwarding to backend Load-balance, set backend URL, retry policy
Outbound After backend response, before reply Response transformation, header stripping, caching
On-Error Any unhandled exception in the chain Uniform error responses, logging, alerting

Decision Flow — API Gateway Selection

flowchart TD
    A[Need an API gateway?] --> B{Global multi-region\nor CDN required?}
    B -- Yes --> C[Azure Front Door\n+ optional APIM backend]
    B -- No --> D{WAF required\nfor web/app traffic?}
    D -- Yes --> E[Application Gateway + WAF\nor Front Door with WAF]
    D -- No --> F{Private VNet /\ninternal APIs?}
    F -- Yes --> G{Full API portal,\npolicies, rate-limiting?}
    G -- Yes --> H[APIM Premium\nInternal VNet mode]
    G -- No --> I[Application Gateway\nInternal mode]
    F -- No --> J{Serverless / no\ndeveloper portal needed?}
    J -- Yes --> K[APIM Consumption tier\nor raw Functions URL]
    J -- No --> L[APIM Standard or Premium\nExternal mode]

Exam Tips

  • Consumption tier is serverless — there is no VNet injection and there is a cold-start on the first call after idle. Choose it only when portal and VNet are not required.
  • Premium is the only tier that supports multi-region gateway deployment and availability zones. Any exam scenario requiring geo-redundant API exposure points to Premium.
  • Policy evaluation order matters: Inbound is the correct layer to validate JWTs and enforce auth before the request reaches the backend. Placing auth in Outbound is a common distractor.

Virtual Networks (VNet)

Service Layer Scope Use Case Key Feature
VNet Peering L3 Regional / Global Same or cross-region VNet connectivity without a gateway Low latency; no gateway required; non-transitive by default
VNet-to-VNet VPN L3 Global Cross-region or cross-subscription encrypted connectivity IPSec/IKE tunnel; older pattern superseded by peering in most cases
ExpressRoute L3 Global Private dedicated circuit for enterprise workloads SLA-backed; avoids public internet; supports up to 100 Gbps
VPN Gateway L3 Regional On-premises to Azure encrypted tunnel Site-to-site, point-to-site, and VNet-to-VNet; cost-effective
Azure Bastion L7 Regional Secure browser-based RDP/SSH without public VM IPs Deployed per VNet; no jump-box VM required
Private Endpoint L3 Regional Private IP access to PaaS services inside a VNet NIC injected into VNet; DNS integration required
Service Endpoint L3 Regional Route PaaS traffic over Azure backbone from a subnet No private IP; PaaS firewall can restrict to specific subnets

⚠️ Deprecation warning: VNet-to-VNet VPN is superseded by VNet Peering for most cross-region and cross-subscription connectivity scenarios. Prefer peering (lower latency, no gateway required). Retain VNet-to-VNet VPN only when IPSec encryption across the Azure backbone is an explicit requirement.

Private Endpoint vs Service Endpoint:

  • Private Endpoint = PaaS resource gets a NIC in your VNet (true private)
  • Service Endpoint = traffic stays on Azure backbone but PaaS still has public IP
flowchart TD
    A[Secure PaaS service access?] --> B{Require private IP in VNet?}
    B -- Yes --> PE[Private Endpoint]
    B -- No --> C{Traffic must stay on Azure backbone?}
    C -- Yes --> SE[Service Endpoint]
    C -- No --> PUB[Public endpoint with firewall rules]

Exam tip (AZ-700): Prefer ExpressRoute over VPN Gateway when the requirement mentions dedicated bandwidth, consistent latency SLAs, or compliance mandates that prohibit public-internet traversal. VPN Gateway (IPSec) is cost-effective for smaller branch offices or when ExpressRoute is unavailable in the region.

DNS

Service Layer Scope Use Case Key Feature
Azure DNS DNS Global Host public DNS zones in Azure Authoritative DNS; delegates to Azure name servers
Azure Private DNS Zones DNS Regional (VNet-linked) Name resolution within VNets Auto-registration of VM records; linked to one or more VNets
Private DNS Resolver DNS Regional Hybrid DNS — forward on-prem queries to Azure Private DNS Inbound/outbound endpoints; replaces custom DNS VM

Network Security

NSG and ASG

Service Layer Scope Use Case Key Feature
NSG L3/L4 Subnet or NIC Allow/deny inbound and outbound traffic by port, protocol, and IP range Stateful; 5-tuple rules; default-deny inbound from Internet
ASG L3/L4 NIC (group tag) Simplify NSG rules for multi-tier apps by grouping NICs logically Referenced as source/destination in NSG rules; no IP management

Exam tip: Use ASGs when NSG rules would otherwise require explicit IP lists for multi-tier workloads. ASGs do not replace NSGs — they are used as dynamic address groups inside NSG rules.

Exam tip (AZ-700): For AZ-700, know that NSGs operate at subnet or NIC level (L3/L4, 5-tuple), while Azure Firewall operates at the hub VNet level (L3–L7, FQDN-aware). Apply NSGs for micro-segmentation within a spoke; use Azure Firewall for centralised east-west and north-south inspection across the hub-spoke topology.

DDoS Protection Tiers

Service Layer Scope Use Case Key Feature
DDoS Network Protection L3/L4 VNet Enterprise workloads requiring SLA guarantee and telemetry Per-VNet billing; adaptive tuning; cost protection SLA
DDoS IP Protection L3/L4 Public IP Single-resource protection without VNet-wide commitment Pay-per-protected-IP; lighter entry point
DDoS Infrastructure Protection L3/L4 Platform (all Azure) Baseline free protection for every Azure customer Always-on; no configuration; limited telemetry

Exam tip: Choose DDoS Network Protection when the requirement mentions volumetric attack mitigation with SLA guarantees, custom thresholds, or attack analytics. Infrastructure Protection is free but provides no per-customer telemetry or SLA.

Azure Firewall SKUs

Service Layer Scope Use Case Key Feature
Azure Firewall Basic L3–L7 Regional (hub VNet) SMB workloads, dev/test, cost-sensitive scenarios Fixed 250 Mbps throughput; no threat intel feed; no IDPS
Azure Firewall Standard L3–L7 Regional (hub VNet) Production hub-and-spoke; FQDN filtering Threat intelligence feed; application/network rules; SNAT
Azure Firewall Premium L3–L7 Regional (hub VNet) Regulated or high-security environments TLS inspection; IDPS; URL filtering; web categories

Exam tip: Choose Azure Firewall Premium when the requirement mentions TLS inspection, intrusion detection/prevention (IDPS), or URL-category filtering. Standard covers most production scenarios; Basic is not suitable for production workloads requiring threat intelligence.

Decision Flow — Network Security Selection

flowchart TD
    A[Protect a workload?] --> B{Volumetric DDoS\nrisk?}
    B -- Yes, VNet-wide --> C[DDoS Network Protection]
    B -- Yes, single IP --> D[DDoS IP Protection]
    B -- No --> E{Inspect / filter\nnetwork traffic?}
    E -- Subnet/NIC rules only --> F[NSG + ASG]
    E -- Centralized FQDN\nor L7 filtering --> G{Compliance /\nTLS inspection?}
    G -- Yes --> H[Azure Firewall Premium]
    G -- No --> I[Azure Firewall Standard]

Exam tip (AZ-500): For AZ-500, know the layered network security model: NSG = layer-4 allow/deny on subnet or NIC; Azure Firewall = stateful L3-L7 with FQDN rules and threat intelligence; NVA = third-party deep inspection. DDoS Protection Standard (not Basic) is required when the question mentions SLA-backed mitigation, telemetry, or cost protection for volumetric attacks.

Exam tip (AZ-700): For AZ-700, Private Endpoint requires DNS integration — the private DNS zone (e.g. privatelink.blob.core.windows.net) must be linked to every VNet that needs to resolve the private IP. Forgetting the DNS link is the most common misconfiguration; without it, the public FQDN resolves to the public IP even when the endpoint exists.

Content Delivery (CDN)

Service Layer Scope Use Case Key Feature
Azure Front Door L7 (HTTP/S) Global CDN + WAF + global LB combined Anycast PoP, WAF, SSL offload, caching rules
Azure CDN (Microsoft) L7 (HTTP/S) Global Static asset delivery, simple CDN Verizon/Akamai PoPs, rules engine, legacy option

⚠️ Deprecation warning: Azure CDN classic profiles (Verizon and Akamai) are retiring 30 September 2027. Migrate to Azure Front Door (CDN + WAF + global LB) or Azure CDN Standard from Microsoft for pure CDN workloads. See: Microsoft retirement announcement

Exam tip: Choose Azure Front Door when the requirement mentions global HTTP load balancing, WAF, or SSL offload at the edge.

Connectivity Patterns

graph LR
    OnPrem -->|ExpressRoute / VPN Gateway| HubVNet
    HubVNet -->|Peering| SpokeVNet1
    HubVNet -->|Peering| SpokeVNet2
    HubVNet --> AzureFirewall
    HubVNet --> Bastion
Pattern Description
Hub-Spoke Central hub VNet with shared services (firewall, bastion, DNS), spokes per workload
Virtual WAN Microsoft-managed hub-spoke at scale, with SD-WAN integration

Load Balancer SKU Selection

Service Layer Scope Use Case Key Feature
Azure Load Balancer Basic L4 Regional Dev/test, single availability set Free; no SLA for multi-VM; no AZ support
Azure Load Balancer Standard L4 Regional/Zonal Production VM load balancing Zone-redundant; SLA 99.99%; HTTPS health probes
Application Gateway L7 Regional HTTP/S web app routing WAF, SSL offload, URL-based routing

Exam tip: Standard Load Balancer requires explicit NSG rules to allow traffic — Basic SKU allows traffic by default. Always use Standard for production workloads.

SLA note: Basic Load Balancer is not designed for SLA-backed production. When a requirement explicitly calls for a formal load-balancing SLA, choose Standard Load Balancer and deploy with resilient backend instances.

Load Balancer SKU Decision Flow

flowchart TD
    A[Need load balancing?] --> B{HTTP or HTTPS traffic?}
    B -- No --> C{Production workload?}
    B -- Yes --> D[Application Gateway]
    C -- No --> E[Load Balancer Basic]
    C -- Yes --> F[Load Balancer Standard]

NSG vs ASG

Service Layer Scope Use Case Key Feature
NSG L4 (TCP/UDP) Subnet or NIC Allow/Deny inbound and outbound traffic Priority-based rules; default deny
ASG L4 (TCP/UDP) NIC grouping Group VMs logically for NSG rules Simplifies rules for dynamic VM sets

Exam tip: ASGs do not replace NSGs — they are used inside NSG rules as source/destination to group NICs without managing individual IP addresses.

NSG Rule Evaluation

flowchart TD
    A[Inbound packet arrives] --> B[Check subnet NSG]
    B --> C{Rule match?}
    C -- Allow --> D[Check NIC NSG]
    C -- Deny --> E[Drop packet]
    D --> F{Rule match?}
    F -- Allow --> G[Packet reaches VM]
    F -- Deny --> H[Drop packet]

VNet Connectivity

Service Layer Scope Use Case Key Feature
VNet Peering L3 (IP) Regional or Global Low-latency VNet-to-VNet within or across regions Non-transitive; no gateway required
VPN Gateway L3 (IPsec/IKE) Regional Site-to-site, point-to-site, VNet-to-VNet over internet Encrypted tunnel; supports BGP
ExpressRoute L3 (private) Global Private on-premises to Azure; no public internet Dedicated circuit; higher reliability
Azure Bastion L7 (HTTPS/RDP) Regional Secure RDP/SSH to VMs without public IP No public IP on VM needed

Exam tip: VNet Peering is non-transitive — if VNet A peers with VNet B and VNet B peers with VNet C, VNet A cannot reach VNet C without a direct peering or hub-spoke with gateway transit enabled.

VNet Connectivity Decision Flow

flowchart TD
    A[Connect two networks?] --> B{Same or different subscription/region?}
    B -- Same region --> C[VNet Peering - Regional]
    B -- Different region --> D[VNet Peering - Global]
    A --> E{On-premises to Azure?}
    E -- Low cost, variable --> F[VPN Gateway Site-to-Site]
    E -- High bandwidth, private --> G[ExpressRoute]

NAT Gateway

Azure NAT Gateway provides managed, fully SNAT-based outbound internet connectivity for resources in a private subnet. It replaces the fragile default SNAT behaviour of the Standard Load Balancer and eliminates SNAT port exhaustion for high-connection-count workloads.

NAT Gateway is associated with a subnet (not a VM or NIC). Every VM in that subnet uses the NAT Gateway for outbound traffic; inbound-initiated connections are still blocked (NAT Gateway is outbound-only).

Key Properties

Property Value Notes
Max public IPs 16 (Public IP address or Prefix) Each IP provides 64,512 SNAT ports
Max SNAT ports per subnet 16 × 64,512 = 1,032,192 Eliminates port exhaustion for large VM or container farms
IP SKU requirement Standard only Basic public IPs are not supported
Outbound idle timeout 4–120 minutes (default 4 min) TCP keepalives required for long-lived connections
Protocol support TCP, UDP, ICMP Does not support IP fragments or ESP/GRE tunnels
Availability Zone scope Zonal or no-zone A single NAT Gateway covers one zone; zone-redundant = deploy one per zone
Integration Subnet-level association Overrides Standard LB outbound rules; takes priority

NAT Gateway vs Alternatives

Option Inspection Static IPs SNAT ports When to choose
NAT Gateway None (pass-through) Yes — predictable Very high (>1M) Outbound-only, no inspection needed, third-party IP whitelist required, or SNAT exhaustion
Azure Firewall L3–L7, FQDN, IDPS Yes (Firewall PIPs) Scaled by SKU Centralised egress with policy control, threat intelligence, or URL filtering
Standard LB Outbound Rules None Yes (LB frontend IPs) Configurable per rule VMs already behind an existing Standard LB; simpler but fewer ports
Default SNAT (Azure platform) None No — unstable, shared Limited; port exhaustion risk Dev/test only; never rely on this in production

Critical distinction — Default SNAT: Azure provides default outbound internet access for VMs with no public IP, NAT Gateway, or LB outbound rule configured. This is being retired and its behaviour is undefined — ports are shared across all VMs in the subscription region without guarantees. For any production outbound scenario, explicitly configure one of: NAT Gateway, LB outbound rules, or a public IP directly on the NIC.

Outbound Egress Decision Flow

flowchart TD
    Q1{Need outbound internet\nfrom private subnet?} -- No --> SKIP[No NAT required]
    Q1 -- Yes --> Q2{Need policy-based\ninspection / FQDN filtering?}

    Q2 -- Yes --> FW[Azure Firewall\nStateful L3-L7 + SNAT]
    Q2 -- No --> Q3{Static outbound IPs\nfor third-party whitelisting?}

    Q3 -- Yes --> NATGW[NAT Gateway\nManaged SNAT, static public IPs]
    Q3 -- No --> Q4{SNAT port exhaustion\nor high connection scale?}

    Q4 -- Yes --> NATGW
    Q4 -- No --> Q5{VMs already behind\nStandard Load Balancer?}

    Q5 -- Yes --> LBOUT[LB Outbound Rules\nSNAT via LB frontend IPs]
    Q5 -- No --> NATGW

    NATGW --> NOTE1[Up to 16 public IPs\n64,512 SNAT ports each\nStandard SKU IPs only]
    FW --> NOTE2[Centralised egress\nFQDN rules + threat intel]

Exam tip: NAT Gateway is the correct answer when the scenario requires predictable static egress IPs (for third-party IP allowlisting), high SNAT port scale (AKS node pools, containerised workloads, large VM farms), or when SNAT port exhaustion is the stated problem. It does NOT inspect traffic — choose Azure Firewall when FQDN filtering or threat intelligence is required alongside egress control.

Exam tip (zonal design): A single NAT Gateway is zonal (tied to one AZ or no zone). For zone-redundant outbound, deploy one NAT Gateway per availability zone and associate each to zone-specific subnets. This is tested in AZ-700 architecture scenarios.

IP Addressing and Subnet Ranges

Common CIDR Reference

Azure reserves 5 IP addresses in every subnet (not 2 as in standard TCP/IP):

CIDR Total IPs Usable (Standard) Usable (Azure) Typical Use
/8 16,777,216 16,777,214 16,777,211 Entire private Class A block — theoretical maximum
/12 1,048,576 1,048,574 1,048,571 Extremely large; rarely practical for a single subnet
/16 65,536 65,534 65,531 Large VNet address space; covers ≥12,000 host requirement
/20 4,096 4,094 4,091 Medium subnet; good for thousands of hosts
/24 256 254 251 Classic "Class C" size; common for small application subnets
/27 32 30 27 Small subnet; minimum recommended size for GatewaySubnet
/28 16 14 11 Very small; Azure Firewall, Bastion, or Application Gateway subnets
/29 8 6 3 Minimum usable Azure subnet; 3 hosts only
/30 4 2 n/a Point-to-point links (on-prem only — not usable in Azure)
/32 1 0 0 Single host route; not a subnet

How CIDR Is Calculated

CIDR notation (e.g. 10.0.1.0/24) encodes two things in one expression: the network address and the prefix length. The prefix length (the number after the slash) tells you how many bits identify the network. The remaining bits identify hosts.

Formula:

Total IPs       = 2 ^ (32 - prefix)
Usable (std)    = Total - 2           (subtract network address + broadcast)
Usable (Azure)  = Total - 5           (subtract network + default gateway + 2 DNS + broadcast)

Azure-reserved addresses in every subnet (example: 10.0.1.0/24):

Address Reserved For
10.0.1.0 Network address
10.0.1.1 Default gateway (reserved by Azure)
10.0.1.2 DNS mapping (reserved by Azure)
10.0.1.3 DNS mapping (reserved by Azure)
10.0.1.255 Broadcast address

Worked example — sizing a subnet for 500 VMs in Azure:

Required hosts  = 500
Add Azure overhead → 500 + 5 = 505
Nearest power of 2 ≥ 505 → 2^10 = 1,024
Prefix length   = 32 - 10 = /22  (1,024 total; 1,019 usable in Azure)

Quick power-of-2 lookup:

Prefix 2^(32−n)
/20 4,096
/21 2,048
/22 1,024
/23 512
/24 256
/25 128
/26 64
/27 32
/28 16
/29 8

Exam tip: Azure always reserves 5 addresses per subnet. When a question gives a host count requirement, add 5 before selecting the prefix — a /24 supports 251 hosts, not 254. The minimum subnet size for most Azure services is /29 (3 usable hosts). Dedicated subnets such as GatewaySubnet, AzureFirewallSubnet, and AzureBastionSubnet each require their own dedicated subnet and have minimum size requirements (/27 for GatewaySubnet, /26 for Bastion).

Azure Traffic Manager

Traffic Manager is a DNS-based global traffic load balancer. It resolves a client's DNS query to one of the configured endpoints based on the selected routing method and endpoint health probes. Because it operates at DNS layer (Layer 7 DNS, not HTTP proxy), there is no data-plane traversal — client connections go directly to the resolved endpoint.

Traffic Manager supports external endpoints (any internet-facing IP/FQDN), Azure endpoints (App Service, VM, cloud service, etc.), and nested profiles (a child Traffic Manager profile as an endpoint of a parent).

flowchart TD
    TM[Traffic Manager — DNS-based global LB] --> Q1{Primary requirement?}

    Q1 -- Lowest latency\nfor user location --> PERF[Performance routing\nRoute to lowest-latency endpoint]
    Q1 -- Active / standby\nfailover --> PRI[Priority routing\nP1 always first; P2 on failure]
    Q1 -- Distribute load\nby proportion --> WGT[Weighted routing\n1–1000 weight per endpoint]
    Q1 -- User location\ncompliance / data residency --> GEO[Geographic routing\nMap regions to endpoints]
    Q1 -- Return multiple IPs\nfor DNS client-side LB --> MV[Multivalue routing\nIPv4/IPv6 endpoints only]
    Q1 -- Route by\nclient subnet / IP range --> SUB[Subnet routing\nMap IP ranges to endpoints]

    PERF --> NOTE1[Uses Azure latency tables;\nnot real-time probe]
    GEO --> NOTE2[Traffic DENIED if\nno region mapping defined]
    MV --> NOTE3[Up to 10 healthy IPs\nreturned per DNS query]

Traffic-Routing Methods

Method Decision basis Typical use case Key constraint
Priority Static priority number (1 = highest) assigned per endpoint Active/standby failover — always send to primary, failover to secondary All endpoints must be in the same or reachable regions; first healthy endpoint in priority order wins
Weighted Numeric weight 1–1000 assigned per endpoint; traffic distributed proportionally Canary deployments (5% weight to new version) or gradual migration Randomised distribution — not session-sticky; combine with Application Gateway for session affinity
Performance Azure latency table maps client source IP to the region with lowest measured latency Globally distributed apps where users should hit the closest region Uses pre-measured Azure network latency tables, not real-time RTT probes
Geographic DNS query source IP mapped to a geographic region; each region assigned to one endpoint Data residency, legal compliance, regional content If no mapping exists for a region the query returns NXDOMAIN — traffic is denied, not fallen back
Multivalue Returns multiple healthy endpoints (up to 10 IPv4/IPv6 addresses) in a single DNS response DNS client-side load balancing without a secondary LB hop Endpoint type must be External with IPv4 or IPv6 addresses only — Azure endpoints not supported
Subnet Maps specific client IP address ranges (subnets) to named endpoints Force corporate-network users to an internal endpoint; route specific ISP ranges Requires explicit subnet-to-endpoint mapping; unmapped ranges can be directed to a default endpoint

Health Probes

Traffic Manager continuously probes each endpoint using HTTP, HTTPS, or TCP. An endpoint must pass the configured number of consecutive probe successes before it is considered healthy and eligible to receive traffic. Failed endpoints are removed from DNS responses until they recover.

Setting Default Notes
Protocol HTTP HTTPS preferred in production; validates TLS chain
Port 80 Customisable per endpoint
Path / Should return HTTP 200; any non-200 counts as failure
Probe interval 30 s Fast interval (10 s) available on Standard+ profiles
Tolerated failures 3 Endpoint marked degraded after 3 consecutive failures

Exam tip (routing method selection): Priority = failover. Weighted = canary/A-B split. Performance = latency-based global distribution. Geographic = data residency and compliance. Multivalue = client-side DNS round- robin (External/IP endpoints only). Subnet = route by known client IP range (corporate vs public internet). Geographic routing silently denies traffic if a region has no mapping — this is a deliberate design for compliance, not a misconfiguration.

Exam tip (Traffic Manager vs Front Door): Traffic Manager is DNS-only — it cannot inspect HTTP headers, apply WAF rules, do SSL offload, or provide caching. Azure Front Door does all of those at the HTTP layer globally. Choose Traffic Manager when you need DNS-level global routing across non-HTTP endpoints (TCP, custom protocols) or when nested profile hierarchies are required. Choose Front Door when you need HTTP acceleration, WAF, caching, or URL-based routing.