Interview Prep/Azure/Networking Design

You must block a known malicious IP range from all public endpoints quickly.

IntermediateScenarioNetworking Design
Answer

Situation read → Block at the edge first (Front Door or App Gateway WAF custom rule), then NSGs if needed.

What I'd do →

  1. Add a WAF custom rule with IPMatch and action Block at priority 1 on the WAF policy
  2. For non-HTTP endpoints, add an NSG deny rule at low priority number or an AVNM security admin rule across VNets
  3. Confirm blocks in WAF logs
  4. Remove or review the rule after the incident

Why → WAF policies apply to every attached listener instantly; editing many NSGs by hand is slow.

Interview tip → Mention rate-limit custom rules for the next time.

Azure All Azure questions Roadmap: Azure core services

More on Networking Design