AWS Certified Security – Specialty (SCS-C02) — Question 167

A company has a web-based application that runs behind an Application Load Balancer (ALB). The application is experiencing a credential stuffing attack that is producing many failed login attempts. The attack is coming from many IP addresses. The login attempts are using a user agent string of a known mobile device emulator.

A security engineer needs to implement a solution to mitigate the credential stuffing attack. The solution must still allow legitimate logins to the application.

Which solution will meet these requirements?

Answer options

Correct answer: C

Explanation

The correct answer is C because creating an AWS WAF web ACL with a rule to block requests containing the specific user agent string directly addresses the credential stuffing attack while allowing legitimate users to log in. Option A does not block the attack but only provides notifications, option B may block legitimate traffic by denying IPs, and option D allows potentially harmful requests by only filtering based on legitimate user agents.