CompTIA CySA+ CS0-003 Practice Question

A cybersecurity analyst is reviewing the code of a legacy web application and discovers a function handling user input without proper size checks, which can potentially allow more data than anticipated. What type of control should the analyst recommend to mitigate the risk associated with this vulnerability?

  • Upgrade the cryptographic algorithms used by the application.

  • Enforce stricter password complexity requirements for user accounts.

  • Increase the size of the buffer to accommodate more data.

  • Implement input validation to enforce proper input size and content.

CompTIA CySA+ CS0-003
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.

Bash, the Crucial Exams Chat Bot
AI Bot