ANS-C01 Network Security, Compliance and Governance Practice Question
A company is using AWS WAF to protect its web application. The security team wants to block requests that contain SQL injection patterns. Which WAF rule type should be used?
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
✓
SQL injection match condition
AWS WAF provides a SQL injection match condition that inspects incoming requests for patterns indicative of SQL injection attacks. This condition can be used in a rule to block or allow requests. Option B is incorrect because geographic match rules block based on the geographic origin of the request, not SQL injection. Option C is incorrect because IP set rules block based on source IP addresses. Option D is incorrect because rate-based rules limit the rate of requests from an IP, not detect SQL injection.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
SQL injection match condition
Why this is correct
AWS WAF includes managed rule groups specifically for SQL injection detection.
- ✗
Geographic match rule
Why it's wrong here
Geo-match rules block or allow based on country of origin.
- ✗
IP set rule
Why it's wrong here
IP set rules block or allow based on IP addresses.
- ✗
Rate-based rule
Why it's wrong here
Rate-based rules limit the number of requests from an IP, not detect SQL injection.
Go deeper
Related to this question
About these practice questions
One of 1,621 original ANS-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This ANS-C01 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 ANS-C01 exam.