Instiq
Chapter 4 · Secure and Monitor Networks·v2.0.0·Updated 6/28/2026·~9 min

What's changed: Deepened AZ-700 Chapter 4 (ja figures; comparison tables/scenarios/FAQ/traps/deep paragraphs in all sections)

4.1Securing Networks (NSG, Firewall, WAF, DDoS)

Key points

From a network engineer’s view, understand combining NSG/ASG (L3/L4 filtering), Azure Firewall (centralized stateful), WAF (L7 defense), and DDoS Protection (volumetric mitigation) in a layered design.

Network defense is not a single feature; you layer mechanisms with different roles per layer. Choose services by which layer and scope you protect.

4.1.1Layered defense combination

Diagram showing internet traffic protected in layers—DDoS Protection (volumetric mitigation) → WAF (L7, SQLi/XSS defense, App Gateway/Front Door) → Azure Firewall (centralized stateful, FQDN rules) → NSG/ASG (L3/L4 filtering at subnet/NIC)—before reaching resources, annotated with each layer’s role (scope and OSI layer).
Layered network defense
  • NSG/ASG: L3/L4 filtering at subnet/NIC; ASGs group VMs by role.
  • Azure Firewall: centralized, stateful; FQDN-based app rules and threat intelligence.
  • WAF: defends L7 attacks (SQLi/XSS); runs on Application Gateway/Front Door.
  • DDoS Protection: mitigates volumetric attacks.
Exam point

Common on AZ-700: distinguish layers/scopes—L3/L4 = NSG/ASG, centralized stateful FQDN = Azure Firewall, L7 = WAF, volumetric = DDoS Protection. NSG + Firewall together (fine-grained + central perimeter) is standard.

Note

These also appear in AZ-500, but AZ-700 emphasizes network design—where to place them and how to route through them.

AZ-700 emphasizes each service’s placement and routing. Azure Firewall goes in the hub VNet’s dedicated AzureFirewallSubnet, and spoke UDRs (0.0.0.0/0 → firewall private IP) consolidate East-West/North-South inspection. Its SKUs are Standard (baseline) and Premium (TLS inspection, IDPS, URL filtering), managed centrally across firewalls via Firewall Manager and Firewall Policy. A WAF binds to Application Gateway (regional) or Front Door (global edge), blocking L7 attacks with OWASP managed rules plus custom rules. For DDoS, beyond the default infrastructure protection you choose DDoS Network Protection (per-VNet) or DDoS IP Protection (per public IP). NSG/ASG are the innermost L3/L4 filter and are used together with the firewall (central perimeter). Tightening PaaS paths with service endpoints/private endpoints further shrinks the attack surface. The design knack is combining by OSI layer and scope (NIC/subnet / VNet / global).

DefenseOSI layerScopeKey role
NSG / ASGL3/L4Subnet / NICAllow/deny by IP/port
Azure FirewallL3–L7VNet (hub)Central, stateful, FQDN, IDPS (Premium)
WAFL7App GW (regional) / Front Door (global)Block SQLi/XSS, etc.
DDoS ProtectionL3/L4 scaleVNet / public IPMitigate volumetric
Note

Scenario: centrally inspect all spoke traffic in hub-and-spoke while protecting public web from L7 attacks. → Place Azure Firewall in the hub’s AzureFirewallSubnet and point each spoke’s UDR 0.0.0.0/0 → firewall for central inspection. Protect public web with a WAF on Front Door/Application Gateway, and keep intra-VNet least-privilege with NSG/ASG.

Note

FAQ: Q. With NSGs, do I still need Azure Firewall? → A. Different roles—NSGs are distributed L3/L4 allow/deny; Firewall is central, stateful, FQDN/IDPS. Most designs use both. Q. WAF on App Gateway or Front Door? → A. App Gateway for regional, Front Door for global delivery.

Warning

Trap: “DDoS Protection blocks SQL injection” is wrong—L7 app attacks are the WAF’s job; DDoS mitigates volumetric. Also “NSGs can do FQDN-based egress control” is wrong—FQDN rules are Azure Firewall application rules; NSGs are IP/port only.

4.1.2Section summary

  • Layered defense = NSG/ASG (L3/L4) + Firewall (central) + WAF (L7) + DDoS (volumetric)
  • Choose the right service by layer and scope

Sign in to track progress — Log in.

Quick check

(just a quick review)

Q1. Which performs L3/L4 (IP/port) filtering at subnet/NIC level?

Q2. Which stateful service centrally manages VNet traffic with FQDN-based rules?

Q3. Which mitigates volumetric attacks that flood a service to take it down?

Check your understandingPractice questions for Chapter 4: Secure and Monitor Networks

Keep track of your progress

The full study guide is free to read. Sign up free to practice with the question bank, track what you have read, review your mistakes, and highlight passages.