AWS Certified SysOps Administrator – Associate (legacy) — Question 691

You are currently hosting multiple applications in a VPC and have logged numerous port scans coming in from a specific IP address block. Your security team has requested that all access from the offending IP address block be denied for the next 24 hours.
Which of the following is the best method to quickly and temporarily deny access from the specified IP address block?

Answer options

Correct answer: B

Explanation

Network ACLs (NACLs) operate at the subnet level and support explicit "deny" rules, making them the quickest and most effective way to block a specific IP address block. Security Groups do not support "deny" rules, as they only allow traffic by default and deny everything else. Modifying host-based Windows Firewalls or AMIs is highly inefficient, slow to propagate, and complex compared to a centralized NACL change.