Skip to main content

CLF-C02 practice question · Security and Compliance

Which AWS service helps protect web applications from common exploits such as SQL injection and cross-site scripting by…

Which AWS service helps protect web applications from common exploits such as SQL injection and cross-site scripting by letting you configure rules that filter HTTP/HTTPS requests?

  • AAWS WAF
  • BAmazon Macie
  • CAWS Config
  • DAmazon Inspector
Show the answer and explanation

Correct answer: A) AWS WAF

Why each option is right or wrong

  • A) Correct. AWS WAF inspects Layer 7 web requests and lets you write rules (or use managed rule groups) to block SQL injection, XSS, and other common attack patterns.
  • B) Incorrect. Macie discovers and classifies sensitive data in Amazon S3; it does not filter web requests.
  • C) Incorrect. AWS Config tracks resource configuration compliance; it does not inspect application traffic.
  • D) Incorrect. Inspector assesses workloads for software vulnerabilities and unintended network exposure, not live web-request filtering.
Exam domain
Security and Compliance · 30% of CLF-C02
Question type
Multiple choice (one answer)

Practise the full CLF-C02 exam

This question is one of a small free sample from the CertRidge CLF-C02 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with AWS; never copied from the real exam.