Pass CompTIA CAS-005 Exam in First Attempt Easily
Real CompTIA CAS-005 Exam Questions, Accurate & Verified Answers As Experienced in the Actual Test!

Verified by experts
3 products

You save $69.98

CAS-005 Premium Bundle

  • Premium File 482 Questions & Answers
  • Last Update: Oct 27, 2026
  • Training Course 180 Lectures
  • Study Guide 903 Pages
$79.99 $149.97

Purchase Individually

  • Premium File

    482 Questions & Answers
    Last Update: Oct 27, 2026

    $76.99
    $69.99
  • Training Course

    180 Lectures

    $43.99
    $39.99
  • Study Guide

    903 Pages

    $43.99
    $39.99

CompTIA SecurityX CAS-005 Practice Test 28

Question 270

A Kubernetes cluster shares the same highly privileged service account across workloads in unrelated business units. Which implementation decision addresses the primary problem without overreaching?

  1. Move the service account into another namespace without changing its role binding
  2. Issue narrowly scoped workload identities with namespace and resource boundaries, and audit API permissions.
  3. Restrict network egress only while leaving Kubernetes API privileges unchanged
  4. Share cluster-admin permissions across all pods to simplify troubleshooting

Explanation

Correct Answer

B:

The case shows: A Kubernetes cluster shares the same highly privileged service account across workloads in unrelated business units. The preferred intervention—Issue narrowly scoped workload identities with namespace and resource boundaries, and audit API permissions—directly corrects that deficiency. The security reason is that a shared overprivileged identity allows compromise of one workload to access unrelated orchestration resources. It is scoped to an enforceable control decision, unlike a policy label or unrelated improvement.

Incorrect Answers

A:

Selecting 'Move the service account into another namespace without changing its role binding' would not be the best response to this case. This treats a label, assertion, metric, or inherited trust as sufficient evidence, rather than enforcing the missing control at the security boundary. The actual gap is: A shared overprivileged identity allows compromise of one workload to access unrelated orchestration resources. The more defensible control is Issue narrowly scoped workload identities with namespace and resource boundaries, and audit API permissions.

C:

Selecting 'Restrict network egress only while leaving Kubernetes API privileges unchanged' would not be the best response to this case. This focuses on only a portion of the workflow or leaves the decisive control or evidence gap in place. The actual gap is: A shared overprivileged identity allows compromise of one workload to access unrelated orchestration resources. The more defensible control is Issue narrowly scoped workload identities with namespace and resource boundaries, and audit API permissions.

D:

Selecting 'Share cluster-admin permissions across all pods to simplify troubleshooting' would not be the best response to this case. It may affect an adjacent security task, but it does not supply the complete boundary-specific intervention demanded by these facts. The actual gap is: A shared overprivileged identity allows compromise of one workload to access unrelated orchestration resources. The more defensible control is Issue narrowly scoped workload identities with namespace and resource boundaries, and audit API permissions.

Question 271

A Kubernetes cluster shares the same highly privileged service account across workloads in unrelated business units. Which technical inference is supported by the described behavior?

  1. One shared cluster identity provides better security attribution
  2. A shared overprivileged identity allows compromise of one workload to access unrelated orchestration resources.
  3. Network segmentation prevents all Kubernetes API misuse from compromised pods
  4. Namespace labels automatically revoke cluster-scoped permission grants

Explanation

Correct Answer

B:

The observed facts point to the causal security principle: A shared overprivileged identity allows compromise of one workload to access unrelated orchestration resources. This is why the proportionate implementation response is issue narrowly scoped workload identities with namespace and resource boundaries, and audit API permissions. The other answers either invent additional facts or mistake documentation or an adjacent safeguard for the actual cause.

Incorrect Answers

A:

The statement 'One shared cluster identity provides better security attribution' does not explain the observed exposure. It ascribes the exposure to a different or unsupported cause instead of the failing trust, lifecycle, data, or inspection boundary identified in the facts. The evidence instead supports: A shared overprivileged identity allows compromise of one workload to access unrelated orchestration resources. This distinction determines why issue narrowly scoped workload identities with namespace and resource boundaries, and audit API permissions.

C:

The statement 'Network segmentation prevents all Kubernetes API misuse from compromised pods' does not explain the observed exposure. The absolute conclusion claims a guarantee that the scenario and the technical trust boundary do not support. The evidence instead supports: A shared overprivileged identity allows compromise of one workload to access unrelated orchestration resources. This distinction determines why issue narrowly scoped workload identities with namespace and resource boundaries, and audit API permissions.

D:

The statement 'Namespace labels automatically revoke cluster-scoped permission grants' does not explain the observed exposure. The absolute conclusion claims a guarantee that the scenario and the technical trust boundary do not support. The evidence instead supports: A shared overprivileged identity allows compromise of one workload to access unrelated orchestration resources. This distinction determines why issue narrowly scoped workload identities with namespace and resource boundaries, and audit API permissions.

Question 272

A Kubernetes cluster shares the same highly privileged service account across workloads in unrelated business units. Which test or observation would provide the clearest evidence that the correction worked?

  1. Audit logs cannot distinguish which workload changed a deployment
  2. An exploited test pod cannot list secrets or modify deployments outside its authorized namespace.
  3. An exploited test pod lists unrelated namespaces' secrets
  4. An ordinary service account can create cluster role bindings

Explanation

Correct Answer

B:

The decisive acceptance evidence is: An exploited test pod cannot list secrets or modify deployments outside its authorized namespace. It demonstrates that the intervention—Issue narrowly scoped workload identities with namespace and resource boundaries, and audit API permissions—works in the scenario, rather than showing only a report, nominal configuration, or absence of alerts. An adverse test result would require remediation, not signoff.

Incorrect Answers

A:

Observing 'Audit logs cannot distinguish which workload changed a deployment' would not prove that the proposed security fix succeeded. This documents missing evidence or an incomplete test, not a verified outcome that establishes the control has operated effectively. To accept the remediation, the test must demonstrate: An exploited test pod cannot list secrets or modify deployments outside its authorized namespace. That measures the actual result of issue narrowly scoped workload identities with namespace and resource boundaries, and audit API permissions.

C:

Observing 'An exploited test pod lists unrelated namespaces' secrets' would not prove that the proposed security fix succeeded. This is a proxy metric or adverse observation; it does not test both the intended security boundary and the permitted business function. To accept the remediation, the test must demonstrate: An exploited test pod cannot list secrets or modify deployments outside its authorized namespace. That measures the actual result of issue narrowly scoped workload identities with namespace and resource boundaries, and audit API permissions.

D:

Observing 'An ordinary service account can create cluster role bindings' would not prove that the proposed security fix succeeded. This is a proxy metric or adverse observation; it does not test both the intended security boundary and the permitted business function. To accept the remediation, the test must demonstrate: An exploited test pod cannot list secrets or modify deployments outside its authorized namespace. That measures the actual result of issue narrowly scoped workload identities with namespace and resource boundaries, and audit API permissions.

Question 273

A Kubernetes cluster shares the same highly privileged service account across workloads in unrelated business units. Even if the primary action succeeds, which specific risk may remain?

  1. An authorized pod could expose a secret through an overly verbose application log.
  2. A namespace RBAC rule might accidentally grant another application read permissions.
  3. An approved image could run an outdated runtime library with a known local vulnerability.
  4. A vulnerable cluster administrator component could still bypass namespace-level isolation.

Explanation

Correct Answer

D:

The remedy cannot eliminate every downstream risk. The directly relevant remaining issue is: A vulnerable cluster administrator component could still bypass namespace-level isolation. This needs monitoring or a separate follow-up after implementing Issue narrowly scoped workload identities with namespace and resource boundaries, and audit API permissions.

Incorrect Answers

A:

Secrets handling remains relevant, but the keyed bypass is compromise of the cluster-administrator component above namespace controls.

B:

Role scoping can fail, but the source case's residual is a privileged orchestration-plane exploit that transcends namespace policy.

C:

Image patching matters, yet the named continuing issue is a compromised cluster-admin component defeating workload isolation.

Question 274

A cloud analytics project encrypts all object storage using provider-managed keys but contract terms require customer-controlled revocation and access separation. What should the security team do first to correct the demonstrated weakness?

  1. Grant every platform operator control over encryption and key deletion
  2. Implement customer-managed key policies with segregated administrators and auditable key access, after validating recovery requirements.
  3. Disable provider encryption so customers can copy plaintext more quickly
  4. Keep provider-managed keys although independent tenant revocation is contractually required

Explanation

Correct Answer

B:

The case shows: A cloud analytics project encrypts all object storage using provider-managed keys but contract terms require customer-controlled revocation and access separation. The preferred intervention—Implement customer-managed key policies with segregated administrators and auditable key access, after validating recovery requirements—directly corrects that deficiency. The security reason is that provider-managed encryption at rest does not automatically give the tenant independent key-lifecycle control. It is scoped to an enforceable control decision, unlike a policy label or unrelated improvement.

Incorrect Answers

A:

Selecting 'Grant every platform operator control over encryption and key deletion' would not be the best response to this case. This weakens an existing safeguard or uses indiscriminate changes, increasing exposure instead of selectively correcting the demonstrated weakness. The actual gap is: Provider-managed encryption at rest does not automatically give the tenant independent key-lifecycle control. The more defensible control is Implement customer-managed key policies with segregated administrators and auditable key access, after validating recovery requirements.

C:

Selecting 'Disable provider encryption so customers can copy plaintext more quickly' would not be the best response to this case. This weakens an existing safeguard or uses indiscriminate changes, increasing exposure instead of selectively correcting the demonstrated weakness. The actual gap is: Provider-managed encryption at rest does not automatically give the tenant independent key-lifecycle control. The more defensible control is Implement customer-managed key policies with segregated administrators and auditable key access, after validating recovery requirements.

D:

Selecting 'Keep provider-managed keys although independent tenant revocation is contractually required' would not be the best response to this case. It may affect an adjacent security task, but it does not supply the complete boundary-specific intervention demanded by these facts. The actual gap is: Provider-managed encryption at rest does not automatically give the tenant independent key-lifecycle control. The more defensible control is Implement customer-managed key policies with segregated administrators and auditable key access, after validating recovery requirements.

Question 275

A cloud analytics project encrypts all object storage using provider-managed keys but contract terms require customer-controlled revocation and access separation. What underlying security principle most directly explains the risk?

  1. Provider-managed encryption at rest does not automatically give the tenant independent key-lifecycle control.
  2. Customer-managed keys remove the need for key recovery planning
  3. Default provider encryption necessarily gives tenant-only key revocation
  4. Cloud administrators can share key and data roles without increasing privilege risk

Explanation

Correct Answer

A:

The observed facts point to the causal security principle: Provider-managed encryption at rest does not automatically give the tenant independent key-lifecycle control. This is why the proportionate implementation response is implement customer-managed key policies with segregated administrators and auditable key access, after validating recovery requirements. The other answers either invent additional facts or mistake documentation or an adjacent safeguard for the actual cause.

Incorrect Answers

B:

The statement 'Customer-managed keys remove the need for key recovery planning' does not explain the observed exposure. It ascribes the exposure to a different or unsupported cause instead of the failing trust, lifecycle, data, or inspection boundary identified in the facts. The evidence instead supports: Provider-managed encryption at rest does not automatically give the tenant independent key-lifecycle control. This distinction determines why implement customer-managed key policies with segregated administrators and auditable key access, after validating recovery requirements.

C:

The statement 'Default provider encryption necessarily gives tenant-only key revocation' does not explain the observed exposure. It incorrectly treats a proxy, credential, or partial control as interchangeable with the missing evidence or authorization check. The evidence instead supports: Provider-managed encryption at rest does not automatically give the tenant independent key-lifecycle control. This distinction determines why implement customer-managed key policies with segregated administrators and auditable key access, after validating recovery requirements.

D:

The statement 'Cloud administrators can share key and data roles without increasing privilege risk' does not explain the observed exposure. It ascribes the exposure to a different or unsupported cause instead of the failing trust, lifecycle, data, or inspection boundary identified in the facts. The evidence instead supports: Provider-managed encryption at rest does not automatically give the tenant independent key-lifecycle control. This distinction determines why implement customer-managed key policies with segregated administrators and auditable key access, after validating recovery requirements.

Question 276

A cloud analytics project encrypts all object storage using provider-managed keys but contract terms require customer-controlled revocation and access separation. Which validation evidence is most directly connected to this particular scenario?

  1. A tenant-authorized revocation prevents further decryption while documented recovery procedures remain valid.
  2. A cloud support account can both modify ciphertext and delete all recovery keys
  3. No separate auditor can trace key-use operations
  4. A customer cannot disable decryption after a contractual stop

Explanation

Correct Answer

A:

The decisive acceptance evidence is: A tenant-authorized revocation prevents further decryption while documented recovery procedures remain valid. It demonstrates that the intervention—Implement customer-managed key policies with segregated administrators and auditable key access, after validating recovery requirements—works in the scenario, rather than showing only a report, nominal configuration, or absence of alerts. An adverse test result would require remediation, not signoff.

Incorrect Answers

B:

Observing 'A cloud support account can both modify ciphertext and delete all recovery keys' would not prove that the proposed security fix succeeded. This is a proxy metric or adverse observation; it does not test both the intended security boundary and the permitted business function. To accept the remediation, the test must demonstrate: A tenant-authorized revocation prevents further decryption while documented recovery procedures remain valid. That measures the actual result of implement customer-managed key policies with segregated administrators and auditable key access, after validating recovery requirements.

C:

Observing 'No separate auditor can trace key-use operations' would not prove that the proposed security fix succeeded. This is a proxy metric or adverse observation; it does not test both the intended security boundary and the permitted business function. To accept the remediation, the test must demonstrate: A tenant-authorized revocation prevents further decryption while documented recovery procedures remain valid. That measures the actual result of implement customer-managed key policies with segregated administrators and auditable key access, after validating recovery requirements.

D:

Observing 'A customer cannot disable decryption after a contractual stop' would not prove that the proposed security fix succeeded. This documents missing evidence or an incomplete test, not a verified outcome that establishes the control has operated effectively. To accept the remediation, the test must demonstrate: A tenant-authorized revocation prevents further decryption while documented recovery procedures remain valid. That measures the actual result of implement customer-managed key policies with segregated administrators and auditable key access, after validating recovery requirements.

Question 277

A cloud analytics project encrypts all object storage using provider-managed keys but contract terms require customer-controlled revocation and access separation. Even if the primary action succeeds, which specific risk may remain?

  1. A cloud object could be copied between tenants before key revocation is enforced.
  2. A signed recovery policy might permit decryption during a narrowly approved legal hold.
  3. A key administrator could revoke the wrong region's encryption key during a failover.
  4. A previously exported plaintext copy stays exposed even after the managed key is disabled.

Explanation

Correct Answer

D:

The remedy cannot eliminate every downstream risk. The directly relevant remaining issue is: A previously exported plaintext copy stays exposed even after the managed key is disabled. This needs monitoring or a separate follow-up after implementing Implement customer-managed key policies with segregated administrators and auditable key access, after validating recovery requirements.

Incorrect Answers

A:

Cross-tenant copying is a potential loss path; the specific residual is existing plaintext exports unaffected by later key disablement.

B:

Authorized recovery is by design, not the primary confidentiality risk from plaintext already outside the encrypted store.

C:

Operational key mistakes can harm availability, but the keyed limitation is that ciphertext controls cannot claw back exported cleartext.

Question 278

A serverless billing function trusts all JSON fields from a public webhook and uses a broad cloud role to write invoices and audit logs. Which implementation decision addresses the primary problem without overreaching?

  1. Authenticate webhook origin and replay resistance, validate payload schemas, and scope the function's permissions to required operations.
  2. Accept replayed signed events as separate invoices indefinitely
  3. Trust all public webhook fields because the function executes inside the cloud account
  4. Give the function administrator access so any incoming event can be handled

Explanation

Correct Answer

A:

The case shows: A serverless billing function trusts all JSON fields from a public webhook and uses a broad cloud role to write invoices and audit logs. The preferred intervention—Authenticate webhook origin and replay resistance, validate payload schemas, and scope the function's permissions to required operations—directly corrects that deficiency. The security reason is that event-driven execution magnifies untrusted input when a broadly privileged workload treats each event as authorized. It is scoped to an enforceable control decision, unlike a policy label or unrelated improvement.

Incorrect Answers

B:

Selecting 'Accept replayed signed events as separate invoices indefinitely' would not be the best response to this case. It may affect an adjacent security task, but it does not supply the complete boundary-specific intervention demanded by these facts. The actual gap is: Event-driven execution magnifies untrusted input when a broadly privileged workload treats each event as authorized. The more defensible control is Authenticate webhook origin and replay resistance, validate payload schemas, and scope the function's permissions to required operations.

C:

Selecting 'Trust all public webhook fields because the function executes inside the cloud account' would not be the best response to this case. This treats a label, assertion, metric, or inherited trust as sufficient evidence, rather than enforcing the missing control at the security boundary. The actual gap is: Event-driven execution magnifies untrusted input when a broadly privileged workload treats each event as authorized. The more defensible control is Authenticate webhook origin and replay resistance, validate payload schemas, and scope the function's permissions to required operations.

D:

Selecting 'Give the function administrator access so any incoming event can be handled' would not be the best response to this case. It may affect an adjacent security task, but it does not supply the complete boundary-specific intervention demanded by these facts. The actual gap is: Event-driven execution magnifies untrusted input when a broadly privileged workload treats each event as authorized. The more defensible control is Authenticate webhook origin and replay resistance, validate payload schemas, and scope the function's permissions to required operations.

Question 279

A serverless billing function trusts all JSON fields from a public webhook and uses a broad cloud role to write invoices and audit logs. What underlying security principle most directly explains the risk?

  1. Event-driven execution magnifies untrusted input when a broadly privileged workload treats each event as authorized.
  2. A valid historical signature proves the sender intended repeated transactions
  3. A broad IAM role is harmless if the function executes briefly
  4. An internet webhook is authenticated merely because it reached a cloud API gateway

Explanation

Correct Answer

A:

The observed facts point to the causal security principle: Event-driven execution magnifies untrusted input when a broadly privileged workload treats each event as authorized. This is why the proportionate implementation response is authenticate webhook origin and replay resistance, validate payload schemas, and scope the function's permissions to required operations. The other answers either invent additional facts or mistake documentation or an adjacent safeguard for the actual cause.

Incorrect Answers

B:

The statement 'A valid historical signature proves the sender intended repeated transactions' does not explain the observed exposure. It incorrectly treats a proxy, credential, or partial control as interchangeable with the missing evidence or authorization check. The evidence instead supports: Event-driven execution magnifies untrusted input when a broadly privileged workload treats each event as authorized. This distinction determines why authenticate webhook origin and replay resistance, validate payload schemas, and scope the function's permissions to required operations.

C:

The statement 'A broad IAM role is harmless if the function executes briefly' does not explain the observed exposure. It ascribes the exposure to a different or unsupported cause instead of the failing trust, lifecycle, data, or inspection boundary identified in the facts. The evidence instead supports: Event-driven execution magnifies untrusted input when a broadly privileged workload treats each event as authorized. This distinction determines why authenticate webhook origin and replay resistance, validate payload schemas, and scope the function's permissions to required operations.

D:

The statement 'An internet webhook is authenticated merely because it reached a cloud API gateway' does not explain the observed exposure. It ascribes the exposure to a different or unsupported cause instead of the failing trust, lifecycle, data, or inspection boundary identified in the facts. The evidence instead supports: Event-driven execution magnifies untrusted input when a broadly privileged workload treats each event as authorized. This distinction determines why authenticate webhook origin and replay resistance, validate payload schemas, and scope the function's permissions to required operations.

Question 280

A serverless billing function trusts all JSON fields from a public webhook and uses a broad cloud role to write invoices and audit logs. What result would demonstrate that the principal risk has been addressed?

  1. A test event updates unrelated storage resources outside its intended scope
  2. Replaying the same request writes multiple invoices
  3. Invalid signatures and replayed requests are rejected and valid events can update only the intended invoice resource.
  4. A forged event modifies a customer's invoice

Explanation

Correct Answer

C:

The decisive acceptance evidence is: Invalid signatures and replayed requests are rejected and valid events can update only the intended invoice resource. It demonstrates that the intervention—Authenticate webhook origin and replay resistance, validate payload schemas, and scope the function's permissions to required operations—works in the scenario, rather than showing only a report, nominal configuration, or absence of alerts. An adverse test result would require remediation, not signoff.

Incorrect Answers

A:

Observing 'A test event updates unrelated storage resources outside its intended scope' would not prove that the proposed security fix succeeded. This is a proxy metric or adverse observation; it does not test both the intended security boundary and the permitted business function. To accept the remediation, the test must demonstrate: Invalid signatures and replayed requests are rejected and valid events can update only the intended invoice resource. That measures the actual result of authenticate webhook origin and replay resistance, validate payload schemas, and scope the function's permissions to required operations.

B:

Observing 'Replaying the same request writes multiple invoices' would not prove that the proposed security fix succeeded. This is a proxy metric or adverse observation; it does not test both the intended security boundary and the permitted business function. To accept the remediation, the test must demonstrate: Invalid signatures and replayed requests are rejected and valid events can update only the intended invoice resource. That measures the actual result of authenticate webhook origin and replay resistance, validate payload schemas, and scope the function's permissions to required operations.

D:

Observing 'A forged event modifies a customer's invoice' would not prove that the proposed security fix succeeded. This is a proxy metric or adverse observation; it does not test both the intended security boundary and the permitted business function. To accept the remediation, the test must demonstrate: Invalid signatures and replayed requests are rejected and valid events can update only the intended invoice resource. That measures the actual result of authenticate webhook origin and replay resistance, validate payload schemas, and scope the function's permissions to required operations.

CompTIA SecurityX (CAS-005) Practice Tests

Purchase Individually

  • Premium File

    482 Questions & Answers
    Last Update: Oct 27, 2026

    $76.99
    $69.99
  • Training Course

    180 Lectures

    $43.99
    $39.99
  • Study Guide

    903 Pages

    $43.99
    $39.99

SPECIAL OFFER: GET 10% OFF
This is ONE TIME OFFER

You save
10%

Enter Your Email Address to Receive Your 10% Off Discount Code

SPECIAL OFFER: GET 10% OFF

You save
10%

Use Discount Code:

A confirmation link was sent to your e-mail.

Please check your mailbox for a message from support@examlabs.com and follow the directions.

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your email address below to get started with our interactive software demo of your free trial.

  • Realistic exam simulation and exam editor with preview functions
  • Whole exam in a single file with several different question types
  • Customizable exam-taking mode & detailed score reports