Quick Decision Rule: When You must explicitly deny a specific malicious source IP block at the subnet boundary, choose Network ACL with a lower-numbered DENY rule evaluated before broader ALLOW rules.
| Trigger Condition | You must explicitly deny a specific malicious source IP block at the subnet boundary |
|---|---|
| Recommended Choice | Network ACL with a lower-numbered DENY rule evaluated before broader ALLOW rules |
| Classic Trap | Security groups are stateful and support ALLOW rules only; they cannot express explicit DENY rules for a single bad IP. |
| Verification | Audited on 2026-11-23 · Guide v1.1 (2026-10-29) |
30-SECOND DECISION TRAP CHECK · SECURITY
A public web subnet is receiving abusive traffic from a single IPv4 CIDR block. You must block only that CIDR at the subnet layer while keeping HTTPS open to everyone else. What should you configure?
Network ACLs are evaluated in rule-number order and support explicit DENY rules; Security Groups only support ALLOW rules.
Trap: Security groups cannot express explicit DENY rules; NACLs handle subnet-level explicit denies.