AWS Certified Security – Specialty — Question 381

A company's public website consists of an Application Load Balancer (ALB), a set of Amazon EC2 instances that run a stateless application behind the ALB, and an Amazon DynamoDB table from which the application reads data. The company is concerned about malicious scanning and DDoS attacks. The company wants to impose a restriction in which each client IP address can read the data only 3 times in any 5-minute period.

Which solution will meet this requirement with the LEAST effort?

Answer options

Correct answer: A

Explanation

AWS WAF natively supports rate-based rules, which can automatically track and block requests from individual IP addresses that exceed a specified limit within a sliding 5-minute window, making it the solution with the least operational effort. Implementing this logic within the EC2 application code or using DynamoDB writes adds unnecessary complexity and overhead to the backend resources. Using CloudWatch and Lambda is overly complex and does not natively block the malicious traffic inline before it reaches the application.