AWS Certified Solutions Architect – Associate (SAA-C03) — Question 708

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

AWS WAF allows the creation of IP match conditions (or IP sets) to block web requests originating from specific IP addresses at the application edge. Since AWS WAF is already in use for this architecture, updating its configuration is the most appropriate way to block the malicious IP. Security groups do not support explicit deny rules, and CloudFront does not use network ACLs, making the other options incorrect.