QuestionQ82

VerifiedDetection

A company hosts an application on a fleet of Amazon EC2 instances. Users worldwide can access the application. The company associates an AWS WAF web ACL with an Application Load Balancer (ALB) that directs traffic to the EC2 instances.

A security engineer is investigating a sudden traffic increase to the application. The engineer identifies a substantial number of potentially malicious requests originating from hundreds of IP addresses in two countries. The engineer needs to quickly restrict the potentially malicious requests without blocking legitimate users from accessing the application.

Which solution meets these requirements?

Explanation

An AWS WAF rate-based rule counts and rate-limits requests using configured aggregation criteria; by default, it aggregates by source IP address. Setting an appropriate threshold blocks only IP addresses that exceed the permitted rate, reducing malicious high-volume traffic while allowing legitimate requests that remain below the threshold. Geographic blocking would deny all users in the selected countries, and ALB security groups do not provide geographic match rules or deny rules.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!