CompTIA Security+ SY0-701 (V7) Practice Question

A developer is updating a customer-facing web form that collects an account number, date of birth, and email address. To reduce the risk of SQL injection and data-entry errors, the developer adds logic on both the client and server that rejects any submission unless each field matches predefined patterns (for example, the account number must be exactly 10 digits). Which secure coding control is the developer implementing?

  • Patch management

  • Input validation

  • Output encoding

  • Data-at-rest encryption

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