CompTIA Security+ SY0-701 (V7) Practice Question

A developer is designing a new customer-facing e-commerce portal that will receive search queries and form submissions from untrusted Internet users. To minimize the risk of SQL or command injection, which input-validation approach should the team adopt?

  • Implement an allowlist-based input validation mechanism that accepts only specifically permitted patterns

  • Apply cryptographic hashing to all inputs to avoid storing or processing plaintext data

  • Rely on a blocklist input validation routine to exclude known dangerous characters and patterns

  • Enforce data-type constraints so inputs must match expected data types

CompTIA Security+ SY0-701 (V7)
Security Operations
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 Security+ Voucher with Retake
v7 / SY0-701
Includes Retake
$474.00 $417.00
Bash, the Crucial Exams Chat Bot
AI Bot