All CompTIA exams

CompTIA CAS-005: CompTIA SecurityX

What the CAS-005 exam covers and what it costs, with a free 30-question practice test and an explanation for every answer.

At a glance
Duration
165 minutes
Questions on the exam
Maximum of 90
Passing score
Pass/fail only
Level
Expert
Topic areas
4
Free practice questions
30
Full question bank
100 questions

What the CAS-005 exam covers

The topic areas in our CAS-005 question bank, with each one's share of the 100 practice questions.

CAS-005 cost and format

Exam codeCAS-005
CertificationCompTIA SecurityX
VendorCompTIA
LevelExpert
StatusActive
LanguagesEnglish, Japanese
ReleasedDecember 17, 2024
RetiresJanuary 1, 2027

Last checked October 22, 2026 against the official CompTIA exam page.

CAS-005 sample questions

The first 5 questions from the free practice test. Open a question to see the answer and why it is right.

All 30 free questions
  1. Question 1Security engineering

    A company must allow developers to deploy containers that call a payment API. The API must accept only traffic from workloads with a verified identity, and no static API keys may be stored in images. Which control best meets this?

    1. AWorkload identity with short-lived tokens issued by a workload identity provider, validated by the API gateway
    2. BBasic authentication with a password stored in the container configuration file and passed to the API gateway as a base64 header
    3. CA shared API key stored in an environment variable baked into the image during the build step
    4. DSource IP allowlisting of the cluster egress NAT address on the gateway using a static /24 CIDR rule
    Show answer and explanation
    Correct answer: A

    Short-lived workload identities remove static secrets and let the gateway verify who is calling. A shared key in an image is exactly the secret exposure the requirement forbids, and IP allowlisting does not prove workload identity.

  2. Question 2Security operations

    A SOC analyst notices repeated failed logins followed by a successful login from an unusual country for a privileged account. Which response is the most appropriate first step?

    1. AWait a week and monitor whether the failed login pattern repeats later
    2. BDisable or lock the account pending verification, and review recent session activity
    3. CClose the alert because the login succeeded with valid credentials and an approved MFA prompt on record
    4. DShare the account password in the incident channel to speed up review of the session records
    Show answer and explanation
    Correct answer: B

    Locking the account and reviewing session activity contains a likely account takeover quickly. Waiting, closing the alert and exposing credentials all increase the damage.

  3. Question 3Security architecture

    An enterprise is designing a zero-trust network for remote employees accessing internal applications. Which principle should guide the design?

    1. ATrust is granted per request based on identity, device posture, and context rather than network location
    2. BPerimeter firewalls with strict ingress rules are the primary control required at the edge
    3. CUsers connected through the corporate VPN are trusted by default and their subnet is internal
    4. DAccess is granted once at login and the session is then trusted without reevaluation for its lifetime, even after device changes
    Show answer and explanation
    Correct answer: A

    Zero trust evaluates each access request using identity, device health and context, and it does not assume trust from network location. Perimeter-only and VPN-based trust models contradict this principle.

  4. Question 4Governance, risk, and compliance

    A regulated company must demonstrate that access to sensitive systems is reviewed regularly. Which control best provides this evidence?

    1. ADeleting logs after a week to free storage on the collectors and shorten index rebuilds
    2. BPeriodic access reviews with documented approvals, removals, and retained records
    3. CGranting administrator rights to every staff member by default so helpdesk tickets close faster
    4. DAn undocumented verbal agreement with managers reviewed once a year
    Show answer and explanation
    Correct answer: B

    Periodic, documented access reviews with retained records give auditors evidence of control operation. Verbal agreements, broad rights and short log retention fail the requirement.

  5. Question 5Security engineering

    A security engineer must protect data at rest in a cloud object store using keys that the company controls, with the ability to revoke access to the data quickly. Which approach is best?

    1. ARelying on TLS to protect data stored at rest, since the bucket uses HTTPS
    2. BEncrypting files with a password written in the same bucket as the objects
    3. CProvider-managed keys with no rotation policy, so the tenant has no direct key revocation path for the bucket
    4. DCustomer-managed keys in a KMS with a key policy that can be disabled to revoke access
    Show answer and explanation
    Correct answer: D

    Customer-managed keys let the organization disable or revoke the key, which makes the data unreadable on demand. TLS protects data in transit, not at rest, and keeping passwords beside the data defeats encryption.

How to prepare for CAS-005

  1. Read the official CompTIA outline first (exam page), so you know exactly what is in scope.
  2. Give the most time to Security engineering and Security operations: together they make up 55% of the questions.
  3. Take the free 30-question practice test and note which topics you miss.
  4. Go back to the weak topics, then test again. A practice score shows where to study; it does not predict your exam result.

Full CAS-005 question bank

All 100 questions with answers and explanations, as a PDF, an online practice exam, or both.

Full question bank
Coming to the store soon

The full 100-question bank for CAS-005 is in final review. The free practice test is open now.

Start the free practice test

CAS-005 FAQ

Related exams

ExamVendorLevel
CS0-004: CompTIA CySA+ (V4)CompTIAProfessional
PT0-003: CompTIA PenTest+CompTIAProfessional
SY0-801: CompTIA Security+ (V8)CompTIAAssociate
SY0-701: CompTIA Security+CompTIAAssociate
CS0-003: CompTIA CySA+ (V3)CompTIAProfessional
SOT-001: CompTIA SecOT+CompTIAProfessional