CompTIA CySA+ CS0-003 (V3) Practice Question

A cybersecurity analyst is reviewing a vulnerability scan report for a legacy web application. The report flags a critical SQL injection vulnerability on the user login page where the code dynamically constructs a query by concatenating user-provided input. Which of the following recommendations offers the most effective and secure long-term mitigation for this specific vulnerability?

  • Implement a web application firewall (WAF) with rules to block common SQL injection patterns.

  • Encrypt the user credentials stored in the database.

  • Refactor the database queries to use parameterized statements.

  • Apply strict input validation using a denylist to filter special characters like apostrophes and semicolons.

CompTIA CySA+ CS0-003 (V3)
Vulnerability Management
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

SAVE $51
$425.00 $374.00
SAVE $57
CompTIA Cybersecurity Analyst Voucher with Retake
CySA+ / v3 / CS0-003
Includes Retake
$474.00 $417.00
Bash, the Crucial Exams Chat Bot
AI Bot