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.
- 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.
| Topic | Share | Questions |
|---|---|---|
| Security engineering | 30% | 30 |
| Security operations | 25% | 25 |
| Security architecture | 23% | 23 |
| Governance, risk, and compliance | 22% | 22 |
CAS-005 cost and format
| Exam code | CAS-005 |
|---|---|
| Certification | CompTIA SecurityX |
| Vendor | CompTIA |
| Level | Expert |
| Status | Active |
| Languages | English, Japanese |
| Released | December 17, 2024 |
| Retires | January 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.
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?
- AWorkload identity with short-lived tokens issued by a workload identity provider, validated by the API gateway
- BBasic authentication with a password stored in the container configuration file and passed to the API gateway as a base64 header
- CA shared API key stored in an environment variable baked into the image during the build step
- DSource IP allowlisting of the cluster egress NAT address on the gateway using a static /24 CIDR rule
Show answer and explanationHide answer
Correct answer: AShort-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.
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?
- AWait a week and monitor whether the failed login pattern repeats later
- BDisable or lock the account pending verification, and review recent session activity
- CClose the alert because the login succeeded with valid credentials and an approved MFA prompt on record
- DShare the account password in the incident channel to speed up review of the session records
Show answer and explanationHide answer
Correct answer: BLocking the account and reviewing session activity contains a likely account takeover quickly. Waiting, closing the alert and exposing credentials all increase the damage.
Question 3Security architecture
An enterprise is designing a zero-trust network for remote employees accessing internal applications. Which principle should guide the design?
- ATrust is granted per request based on identity, device posture, and context rather than network location
- BPerimeter firewalls with strict ingress rules are the primary control required at the edge
- CUsers connected through the corporate VPN are trusted by default and their subnet is internal
- DAccess is granted once at login and the session is then trusted without reevaluation for its lifetime, even after device changes
Show answer and explanationHide answer
Correct answer: AZero 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.
Question 4Governance, risk, and compliance
A regulated company must demonstrate that access to sensitive systems is reviewed regularly. Which control best provides this evidence?
- ADeleting logs after a week to free storage on the collectors and shorten index rebuilds
- BPeriodic access reviews with documented approvals, removals, and retained records
- CGranting administrator rights to every staff member by default so helpdesk tickets close faster
- DAn undocumented verbal agreement with managers reviewed once a year
Show answer and explanationHide answer
Correct answer: BPeriodic, documented access reviews with retained records give auditors evidence of control operation. Verbal agreements, broad rights and short log retention fail the requirement.
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?
- ARelying on TLS to protect data stored at rest, since the bucket uses HTTPS
- BEncrypting files with a password written in the same bucket as the objects
- CProvider-managed keys with no rotation policy, so the tenant has no direct key revocation path for the bucket
- DCustomer-managed keys in a KMS with a key policy that can be disabled to revoke access
Show answer and explanationHide answer
Correct answer: DCustomer-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
- Read the official CompTIA outline first (exam page), so you know exactly what is in scope.
- Give the most time to Security engineering and Security operations: together they make up 55% of the questions.
- Take the free 30-question practice test and note which topics you miss.
- 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.
The full 100-question bank for CAS-005 is in final review. The free practice test is open now.
Start the free practice testCAS-005 FAQ
Related exams
| Exam | Vendor | Level |
|---|---|---|
| CS0-004: CompTIA CySA+ (V4) | CompTIA | Professional |
| PT0-003: CompTIA PenTest+ | CompTIA | Professional |
| SY0-801: CompTIA Security+ (V8) | CompTIA | Associate |
| SY0-701: CompTIA Security+ | CompTIA | Associate |
| CS0-003: CompTIA CySA+ (V3) | CompTIA | Professional |
| SOT-001: CompTIA SecOT+ | CompTIA | Professional |