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.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications