Design Secure Architectures

A subnet's network ACL has rule 100 allowing all IPv4 traffic in each direction, and its instances have established connections with a malicious CIDR. Which change immediately blocks traffic in both directions for that CIDR, including established connections, while preserving other traffic?

Show the answer

Correct answerA. Add inbound and outbound network ACL deny rules numbered 90 for the malicious CIDR.

AWhy this is right: Lower-numbered deny rules take precedence and block matching packets in both directions, including established flows.

BWhy not this: AWS WAF filters supported application requests, not all inbound and outbound IP traffic for a subnet.

CWhy not this: Security group rule changes do not reliably terminate existing tracked connections immediately.

DWhy not this: Rule 100 allows the traffic before evaluation can reach deny rules numbered 110.

Network ACLs evaluate rules in ascending numerical order and apply to packets in both new and established connections. Deny rules numbered 90 take precedence over rule 100; rules numbered 110 would never match because rule 100 already allows the traffic.