8.3 Azure Firewall

Key Takeaways

  • Azure Firewall Standard provides stateful filtering, DNAT/network/application rules, threat intelligence, and FQDN controls; Premium adds TLS inspection, IDPS, and full URL filtering for highly regulated environments.
  • Rule evaluation prioritizes threat intelligence, then processes DNAT, network, and application rules (with policy hierarchy and collection priorities); unmatched traffic is denied by default.
  • DNAT publishes inbound services via the firewall public IP; network rules filter L3/L4 flows; application rules filter HTTP/S and SQL by FQDN/URL/categories.
  • Azure Firewall Manager and Firewall Policy enable centralized, hierarchical policy across hub VNets and Virtual WAN secure hubs.
  • Forced tunneling sends workload internet traffic on-premises for inspection, requires AzureFirewallManagementSubnet with a direct Internet route, and does not support DNAT in that mode.
Last updated: July 2026

Azure Firewall on the SC-500 Blueprint

Implement and configure Azure Firewall sits in the networking security skill set. Azure Firewall is a managed, cloud-native stateful firewall for Azure Virtual Network traffic—centralized east-west and north-south filtering, threat intelligence, and (on Premium) deep inspection. Prefer it over a zoo of unmanaged NVAs when you want Azure-native HA, autoscaling characteristics, Firewall Manager policy hierarchy, and integration with hub-and-spoke or Virtual WAN hubs.

Azure Firewall SKUs commonly contrasted on exams:

CapabilityBasic (overview)StandardPremium
Stateful L3–L4 filtering, SNAT/DNATYesYesYes
Application FQDN filtering (SNI/HTTP host)Limited/coreYesYes
Threat intelligence-based filteringLimitedYesYes
DNS proxyYesYes
Web categoriesYes (with Standard feature set)Yes (advanced)
TLS inspectionNoNoYes
IDPS (signature-based)NoNoYes
URL filtering (full path with TLS terminate)NoFQDN-level focusYes (full URL)
Throughput class (order of magnitude)LowerUp to ~30 Gbps classUp to ~100 Gbps class with more powerful fabric

For SC-500, focus on Standard vs Premium decision points: if the scenario mandates TLS inspection, IDPS, or full URL path filtering on encrypted traffic, answer Premium.


Premium Features in Depth

TLS inspection

Azure Firewall Premium can decrypt outbound (and east-west) TLS, inspect content, then re-encrypt to the destination (forward proxy model). It establishes TLS with the client and separately with the server. Certificates for interception are managed with Azure Key Vault.

Inspection directionTypical goal
OutboundStop malware C2 and malicious downloads from Azure clients to the internet
East-westInspect TLS between Azure workloads (and toward on-premises over hybrid links when traffic is forced through the firewall)

Exam notes:

  • TLS inspection is not automatic on Premium—you enable it in policy and application rules.
  • Inbound internet TLS reverse-proxy inspection for HTTP apps is often paired with Application Gateway + WAF; do not assume Firewall Premium replaces WAF for Layer-7 web attacks.
  • Standard can still filter HTTPS using SNI/FQDN without decrypting payload.

IDPS

Intrusion Detection and Prevention System on Premium is signature-based, with a large ruleset (on the order of tens of thousands of signatures across 50+ categories, with frequent updates). Modes:

  • Alert — detect and log
  • Alert and deny — block matching malicious traffic

IDPS inspects non-encrypted traffic broadly; for HTTPS payloads, combine with TLS inspection so signatures see cleartext. Start with Alert mode in production cutovers, then move to deny after tuning.

URL filtering and web categories

  • URL filtering (Premium) evaluates the full URL path, not only the hostname—requires TLS inspection for HTTPS paths.
  • Web categories allow/deny groups of sites (social media, gambling, etc.) for user egress control.

Rule Types: DNAT, Network, Application

Azure Firewall uses rule collection groupsrule collectionsrules. All matching is terminating when a rule hits; traffic that matches nothing is denied by default.

Rule typeOSI-ish focusCommon uses
DNATInbound publishTranslate firewall public IP:port to a private VM/service IP:port
NetworkL3/L4 (IP, port, protocol)Allow VNet-to-VNet, hybrid, specific TCP/UDP flows
ApplicationL7 FQDN / URL / categoriesOutbound HTTP/S and SQL FQDN filtering

Processing order (memorize)

With Firewall Policy, processing concepts you must know:

  1. Threat intelligence filtering (when enabled) is evaluated with highest priority—can block before your DNAT/network/application rules.
  2. Within configured rules, the firewall walks rule collection groups by priority, processing rule types in this order: DNAT → Network → Application.
  3. Parent policy settings/rules take precedence over child policy inheritance in hierarchical designs.
  4. Rule collection action (Allow/Deny) applies to rules inside that collection; priorities decide order.

Exam trap: An allow application rule never “overrides” a matching network deny that already handled the flow in the network pass—or TI deny that fired first. Design priorities deliberately; do not assume later application allows resurrect denied traffic.

Threat intelligence modes

ModeBehavior
OffNo TI-based filtering
Alert onlyLog/alert on known malicious IPs/domains (default-oriented posture in many docs)
Alert and denyBlock known bad destinations/sources per Microsoft TI

Use Alert and deny for production internet egress when false-positive process is mature.


Azure Firewall Manager and Policies

Azure Firewall Manager centralizes security policy and hub configurations across:

  • Hub virtual networks (secured virtual hubs / traditional hub VNets with Firewall)
  • Azure Virtual WAN secure hubs
  • Hierarchical Firewall Policy objects (parent/child) for platform vs application teams

Firewall Policy (recommended over classic per-firewall classic rules alone) stores:

  • Rule collection groups and rules
  • Threat intelligence mode
  • DNS settings / DNS proxy
  • Intrusion detection (Premium)
  • TLS inspection settings (Premium)
  • IDPS signature overrides

Benefits for SC-500 architecture answers: one policy → many firewalls, inheritance for base deny/allow sets, and consistent governance across regions.


Forced Tunneling

Forced tunneling sends Azure subnet internet-bound traffic to on-premises inspection appliances (via ExpressRoute/VPN) instead of breaking out directly from Azure.

Azure Firewall forced tunneling specifics:

ComponentRole
AzureFirewallSubnetData path; UDRs send workload egress toward on-premises next hop when forced tunnel is configured
AzureFirewallManagementSubnetManagement plane path that must retain a direct Internet route (0.0.0.0/0 → Internet); management traffic is not forced on-prem
Public IP on data pathMay not be required on the data subnet when all egress is forced on-premises
DNATNot supported in forced tunneling mode because inbound clients cannot rely on the usual public IP publish path

Exam trap: Forgetting AzureFirewallManagementSubnet breaks firewall management when forced tunneling is enabled. Do not force 0.0.0.0/0 for management through on-premises.


Hub-and-Spoke Integration

Canonical pattern:

  1. Deploy Azure Firewall in the hub VNet (AzureFirewallSubnet, /26 recommended historically for scale).
  2. Peer spokes to hub (Use remote gateway patterns as designed; no gateway transit conflicts).
  3. On spoke subnets, UDR 0.0.0.0/0 (and/or specific prefixes) → Firewall private IP as next hop virtual appliance.
  4. On hub, ensure return paths and avoid asymmetric routing through other NVAs without care.
  5. Attach Firewall Policy with shared platform rules + app-specific collections.
  6. Optionally integrate Firewall Manager, NAT Gateway for SNAT scale, and logging to Log Analytics/Sentinel.
TrafficTypical control
Spoke → InternetUDR to Firewall; application/network rules + TI (+ Premium TLS/IDPS)
Spoke → SpokeHairpin via Firewall with network rules (if forced) or controlled peering
On-prem → AzureGateway + Firewall DNAT or private-only patterns
Azure → On-premUDRs to gateway/firewall per design

Availability: Use Availability Zones for Firewall in supported regions for higher SLA. Pair with zone-redundant public IPs where applicable.


Operational Notes and Exam Scenarios

Scenario A — Healthcare TLS mandate. Inspect HTTPS egress for malware.
Answer: Azure Firewall Premium, enable TLS inspection + IDPS, Key Vault certificates, application rules with TLS inspection flag.

Scenario B — Publish RDP only through firewall.
Answer: DNAT rule on Firewall public IP to jump host private IP; restrict source IPs; prefer Bastion for admin instead when the goal is Azure VM management (know both tools).

Scenario C — Central policy for 12 hubs.
Answer: Firewall Manager + parent Firewall Policy inheritance.

Scenario D — All Azure egress must hit on-premises DLP.
Answer: Forced tunneling with management subnet internet route; accept DNAT limitations.

SC-500 Exam Traps (Azure Firewall)

  • Premium-only: TLS inspection, IDPS, full URL filtering.
  • TI can deny before your allow rules.
  • Rule type order: DNAT → Network → Application (after TI).
  • Forced tunneling needs management subnet; DNAT unsupported.
  • Firewall ≠ WAF: web app OWASP protection → Application Gateway/Front Door WAF.
  • UDRs in spokes are what actually steer traffic into the firewall—deploying Firewall without UDRs does nothing for spoke egress.

Hardening Checklist

  1. Choose SKU (Standard vs Premium) from inspection requirements.
  2. Deploy in hub with correct subnets and zones.
  3. Use Firewall Policy + Manager hierarchy.
  4. Enable TI (alert → deny).
  5. Prefer FQDN application rules + DNS proxy for outbound.
  6. Add Premium TLS/IDPS when regulated.
  7. Steer spokes with UDRs; log to Sentinel.
  8. Document forced-tunnel exceptions and DNAT constraints.
Test Your Knowledge

A regulated workload must decrypt outbound HTTPS, inspect full URL paths, and block traffic matching intrusion signatures. Which Azure Firewall configuration is required?

A
B
C
D
Test Your Knowledge

When threat intelligence-based filtering is enabled on Azure Firewall, when are those detections evaluated relative to DNAT, network, and application rules?

A
B
C
D
Test Your Knowledge

An organization enables forced tunneling so Azure workload internet traffic is inspected on-premises. Which statement is correct?

A
B
C
D
Test Your Knowledge

Spoke subnets must send all internet-bound traffic through a hub Azure Firewall. Besides deploying the firewall, what configuration is essential?

A
B
C
D