Security groups and network ACLs · Question 10 of 12
A network ACL has rule 100 "Allow TCP 22 from 0.0.0.0/0" and rule 200 "Deny TCP 22 from 203.0.113.5/32". What happens to SSH traffic from 203.0.113.5?
1 answer is correct. Medium Created with AI
Show answer
Answer
- B It is allowed, because rule 100 matches first and evaluation stops there
Explanation
NACL rules are evaluated in ascending number order; the first matching rule decides. To block an address, the deny rule must have a lower number than the general allow rule. Unlike IAM, there is no general precedence for deny.