ANS-C01 Network Security, Compliance and Governance Practice Question
A company uses AWS WAF to protect its web application. The security team wants to block requests that contain SQL injection attempts. 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 allows you to create a SQL injection match condition to inspect requests for malicious SQL code and block them. Option A is wrong because geographic match rules filter based on the geographic origin of requests, not SQL injection. Option C is wrong because IP set rules block requests from specific IP addresses, not SQL injection patterns. Option D is wrong because rate-based rules limit the rate of requests from a source, not inspect for 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.
- ✗
Geographic match rule
Why it's wrong here
Geographic rules filter by country.
- ✓
SQL injection match condition
Why this is correct
AWS WAF includes managed rules for SQL injection.
- ✗
IP set rule
Why it's wrong here
IP set rules block specific IP addresses.
- ✗
Rate-based rule
Why it's wrong here
Rate-based rules control request rate, not SQL injection.
Go deeper
Related to this question
About these practice questions
This ANS-C01 question is part of Courseiva's 1,621-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on ANS-C01
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. 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?
easy- ✓ A.SQL injection match condition
- B.Geographic match rule
- C.IP set rule
- D.Rate-based rule
Why A: 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.
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.