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 →
- 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 - Identify the rule (for example a SQLi rule matching a field
comments) - Add an exclusion on the WAF policy for that request body field and rule, or a per-URI policy for
/checkout - 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.
More on Networking Design
Design the network for a new three-tier app in Central India that must be private except for the web front end.IntermediateSpoke A can't talk to spoke B, both peered to the hub. What design change makes it work?BeginnerWorkloads must reach Azure SQL privately, including from on-prem over ExpressRoute. How do you set it up?AdvancedYou need all outbound traffic from AKS to go through Azure Firewall. How do you do it?AdvancedA partner needs to whitelist a single egress IP from your App Service and AKS workloads. How?IntermediateYou're asked to expose an internal API to a customer's Azure tenant without VNet peering. How?Advanced