AWS Certified Solutions Architect – Associate (SAA-C02) — Question 40

A company's website is used to sell products to the public. The site runs on Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer
(ALB). There is also an Amazon CloudFront distribution, and AWS WAF is being used to protect against SQL injection attacks. The ALB is the origin for the
CloudFront distribution. A recent review of security logs revealed an external malicious IP that needs to be blocked from accessing the website.
What should a solutions architect do to protect the application?

Answer options

Correct answer: B

Explanation

The correct answer is B because AWS WAF is specifically designed to manage web access and can easily block specific IP addresses. The other options either involve modifying network ACLs or security groups, which do not directly interface with the web application layer and thus would not effectively address the issue of blocking the malicious IP from the website.