CompTIA PenTest+ PT0-002 Practice Question

During a penetration testing engagement, your team has identified an application that is vulnerable to command injection due to insufficient input validation. In your final report, what is the most appropriate process-level remediation recommendation to address this specific vulnerability?

  • Instruct the client to configure the existing Web Application Firewall (WAF) to block command injection attacks.

  • Suggest increasing the complexity of input validation rules within the application code.

  • Advise the client to update their application frameworks to the latest versions to avoid command injection.

  • Recommend the implementation of proper input sanitization and the use of prepared statements or parameterized queries.

CompTIA PenTest+ PT0-002
Reporting and Communication
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