AWS Certified Security – Specialty — Question 130

A company's Developers plan to migrate their on-premises applications to Amazon EC2 instances running Amazon Linux AMIs. The applications are accessed by a group of partner companies. The Security Engineer needs to implement the following host-based security measures for these instances:
✑ Block traffic from documented known bad IP addresses.
✑ Detect known software vulnerabilities and CIS Benchmarks compliance.
Which solution addresses these requirements?

Answer options

Correct answer: D

Explanation

Option D is correct because it effectively blocks traffic from known bad IP addresses using iptables and scans for vulnerabilities and compliance with Amazon Inspector. Option A is incorrect as GuardDuty is not designed to utilize a user-uploaded threat list from Secrets Manager. Option B is wrong since it does not utilize iptables and relies on NACLs, which can be less flexible. Option C is also incorrect as it uses security groups instead of directly blocking specific bad IP addresses.