
CompTIASecurityX (CASP+)
Domain 4Objective 2
Vulnerabilities and Attack Surface CAS-005 Practice Questions (Page 2)
Part of the Security operations domain, which accounts for 22% of the CAS-005 exam. CompTIA does not publish an official question count, but from its 165-minute exam (~65–110 total, ~14–24 in this domain), expect 4–6 from this objective — we provide 33 practice questions to prepare you well beyond it. (estimate)
33questions here
7free pages
9concepts
22%of the exam
Questions 6–10
- 6
A security administrator is developing a patch management strategy. Which step is the most important to perform before deploying a new patch to production systems?
Select an answer first - 7
A developer is building a web form that accepts a user's age. Which input validation technique is most appropriate to ensure the value is a valid integer between 1 and 120?
Select an answer first - 8
A security audit reveals that a web server is running with directory listing enabled, default error pages that expose stack traces, and an outdated TLS configuration. The server is internet-facing. Which action should be taken first to reduce the attack surface?
Select an answer first - 9
A company wants to protect its web application from SQL injection attacks. The application is developed in-house and is hosted on a single server. Which set of controls represents a defense-in-depth approach?
Select an answer first - 10
A company's web application allows users to post comments that are displayed to other users. A security tester found that a user can submit a comment containing <script>alert('xss')</script> and it executes in other users' browsers. The application does not use any client-side frameworks. Which combination of controls should the development team implement to mitigate this vulnerability?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by CompTIA. “CAS-005” is a trademark of its owner, used for identification only.