SCS-C03 Infrastructure Security Practice Question
A company is experiencing a high volume of SQL injection attempts against its web application. The application is behind an Application Load Balancer (ALB). The security team wants to block these attacks while ensuring that legitimate traffic containing technical documentation (which may include SQL-like snippets) is not accidentally blocked. What is the best approach?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Deploy the SQLi managed rule in Count mode, analyze the logs, and then apply a scope-down statement to exclude specific documentation paths.
AWS WAF Managed Rules provide robust protection against common threats like SQL injection. However, to avoid false positives on legitimate technical content, running rules in 'Count' mode first allows for analysis of the impact. Once legitimate patterns are identified, exclusions or scope-down statements can be implemented before switching the rule to 'Block' mode.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Enable the AWS Managed Rules SQL database rule set and immediately set the action to Block.
Why it's wrong here
Immediately setting the rule to Block is risky because legitimate traffic containing technical strings might match the SQLi patterns, leading to false positives. Without a testing phase, the application's availability for valid users could be compromised by over-eager security constraints that do not account for specific business use cases.
- ✗
Create a custom WAF rule with a regex pattern for SQL keywords and apply it to the ALB.
Why it's wrong here
Creating custom regex patterns for SQL injection is complex and difficult to maintain. It is easy to miss sophisticated obfuscation techniques used by attackers. Managed rules are updated by AWS experts to handle evolving threats, making them a much more reliable and scalable choice for standard attack vectors.
- ✓
Deploy the SQLi managed rule in Count mode, analyze the logs, and then apply a scope-down statement to exclude specific documentation paths.
Why this is correct
Using Count mode allows the team to monitor which requests would have been blocked without impacting users. By analyzing WAF logs, they can identify legitimate documentation paths that trigger the rule and use scope-down statements to exempt those specific paths, ensuring high security with minimal false positives.
- ✗
Use a Network ACL to block the source IP addresses of the attackers identified in the ALB access logs.
Why it's wrong here
Blocking IPs at the NACL level is ineffective against distributed attacks and doesn't address the root cause of the SQL injection attempt. Attackers can easily rotate IPs, and NACLs are stateless and limited in the number of rules they can support, making them unsuitable for dynamic application-layer protection.
About these practice questions
Courseiva writes every SCS-C03 question from scratch — 99 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Amazon Web Services exam blueprint
This SCS-C03 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SCS-C03 exam.