Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
CompTIA logo

CompTIASecurityX (CASP+)

Domain 4Objective 2

Vulnerabilities and Attack Surface CAS-005 Practice Questions (Page 5)

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 21–25

  1. 21foundation · easy

    A security analyst discovers that a website's search feature reflects user input directly into the HTML page without proper encoding. An attacker crafts a URL that, when clicked by a victim, executes JavaScript in the victim's browser to steal session cookies. Which type of XSS vulnerability is this?

    Select an answer first
  2. 22application · medium

    A security scan of a web server reveals that it is using an outdated version of OpenSSL that is vulnerable to a known exploit. The server also has a default admin account enabled. Which action should be taken first?

    Select an answer first
  3. 23expert · hard

    A security engineer is reviewing a web application that accepts a JSON payload from an API. The application uses the payload to construct a NoSQL query. The engineer is concerned about NoSQL injection. Which control is most effective at preventing this?

    Select an answer first
  4. 24foundation · easy

    A security architect is designing a network for a financial institution. The design includes a firewall, an intrusion prevention system (IPS), and endpoint protection on all workstations. Which security principle is being implemented?

    Select an answer first
  5. 25expert · medium

    A company is migrating its on-premises database to a cloud provider. The database contains sensitive customer data. The security team must ensure that data is encrypted at rest and in transit. Which combination of controls should be implemented?

    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.