Interview Prep/Azure/Networking Design

Your App Gateway WAF in Prevention mode starts blocking a legitimate checkout POST. How do you handle it?

IntermediateScenarioNetworking Design
Answer

Situation read → False positive. Find the rule, add a narrow exclusion, keep Prevention on.

What I'd do →

  1. Query the firewall log:
    AzureDiagnostics
    | where Category == "ApplicationGatewayFirewallLog" and action_s == "Blocked"
    | where requestUri_s has "/checkout"
    | project TimeGenerated, ruleId_s, details_message_s, details_data_s
    
  2. Identify the rule (for example a SQLi rule matching a field comments)
  3. Add an exclusion on the WAF policy for that request body field and rule, or a per-URI policy for /checkout
  4. Replay the request; confirm blocks stop and other traffic is still inspected

Why → Narrow exclusions preserve protection; switching the whole WAF to Detection removes it.

Interview tip → Say you'd never disable an entire rule group for one field.

Azure All Azure questions Roadmap: Azure core services

More on Networking Design