Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon SCS-C03 Exam - Topic 5 Question 11 Discussion

Posted by Sharika on Jun 02, 2026 at 07:31 AM

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?

Suggested Answer: C

A credential stuffing attack at the ALB is aLayer 7problem and is best mitigated withAWS WAF. The attacker is distributed across many IPs, so blocking by IP in a security group (Option B) is ineffective and operationally heavy. A CloudWatch alarm (Option A) only alerts; it does not block or mitigate requests.

Because the malicious traffic uses a distinctive, knownUser-Agentstring associated with a mobile device emulator, AWS WAF can quickly reduce the attack by inspecting the User-Agent header and blocking matching requests. This approach is targeted: it blocks the identified automated attack pattern while allowing legitimate users who do not present that emulator User-Agent to continue logging in. The WAF rule can be deployed immediately on the existing ALB-associated web ACL and can be further refined (for example, applied only to /login paths, combined with rate-based rules, or integrated with Bot Control) to minimize false positives.

Option D is risky because ''allow only legitimate user agents'' is brittle: user agents are diverse and change frequently, and a strict allow-list can accidentally block real users. Therefore, a WAF custom block rule for the known malicious User-Agent string is the correct solution.


Get Premium SCS-C03 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
20 comments · newest first
FA
Fatima Sheikh 7 days ago
C makes the most sense here because a WAF rule blocking the emulator UA handles layer 7 abuse without blocking real users.
VI
Vikram Mishra 4 days ago
↳ replying to Fatima Sheikh
Yes, that's how I understood it too, and adding a rate-based rule could curb rapid login attempts.
BE
Bev 27 days ago
Exactly! C is the way to go for real protection.
JE
Jettie 1 month ago
Right, A doesn’t stop the attack. We need action, not just notifications.
WI
Willodean 1 month ago
What about A? It just sends alerts, not a real fix.
CA
Caitlin 1 month ago
I like C as well. It’s specific and minimizes false positives.
SH
Shawna 2 months ago
True, C is more proactive. We need to stop the attack at the source.
IL
Iluminada 2 months ago
I feel like option B isn't effective. Denying IPs won't stop new ones.
BE
Bev 2 months ago
Option D could work too, but it might be too broad.
IZ
Izetta 2 months ago
Agreed! Blocking the emulator user agent is smart.
JE
Jettie 2 months ago
I think option C is the best choice. It directly targets the attack.
DO
Donette 2 months ago
Definitely go with option C, it targets the specific threat directly.
MU
Murray 3 months ago
Blocking those IPs in option B won't stop the attack if they keep changing.
WI
Wilda 3 months ago
Surprised they didn't mention rate limiting as a solution!
TY
Tyisha 3 months ago
I disagree, option D could be more effective for legit users.
MA
Marguerita 3 months ago
Option C seems like the best choice to block those emulators.
JU
Justine 3 months ago
I recall that creating alarms in CloudWatch is more about monitoring than actually stopping the attack. So, I don't think option A would be effective here.
FR
Frederica 3 months ago
I practiced a similar question where we had to mitigate attacks using WAF rules. I think option D could work, but it might be too broad and let some bad traffic through.
KR
Kris 4 months ago
I'm not entirely sure, but I feel like just blocking IPs in option B could lead to issues with legitimate users if they happen to share an IP.
JU
Jutta 4 months ago
I remember studying about AWS WAF and how it can be used to block specific user agents. I think option C might be the right choice.
0/2000 characters

Save Cancel