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 50

Question 490

A development team's security automation uses a generative AI assistant to write IAM policies and applies its output directly as a privileged cloud change. What is the most directly relevant limitation of the immediate fix?

  1. A generated IAM policy might be overrestrictive and interrupt a legitimate service during staged rollout.
  2. A subtle privilege-escalation path might evade policy tests if the test corpus is incomplete.
  3. An engineer could approve a generated policy that is safe in staging but misapplies a resource path in production.
  4. A valid policy-as-code check could miss an identity inherited from a separate external group.

Explanation

Correct Answer

B:

The remedy cannot eliminate every downstream risk. The directly relevant remaining issue is: A subtle privilege-escalation path might evade policy tests if the test corpus is incomplete. This needs monitoring or a separate follow-up after implementing Run generated changes through policy-as-code tests, independent approval, least-privilege diff analysis and staged deployment.

Incorrect Answers

A:

Functional availability is important, but the keyed continuing risk is subtle privilege escalation escaping an incomplete policy test corpus.

C:

Environment drift needs checks, yet the source's specific residual is hidden escalation logic not covered by tests.

D:

Inheritance gaps are real, but the keyed risk emphasizes incomplete tests for a privilege-escalation path generated by the assistant.

Question 491

A log-enrichment workflow retries failed API calls without idempotency keys, creating duplicate incident tickets and repeated account suspensions. Which response should the senior security engineer prioritize?

  1. Use unbounded retries so network timeouts cannot fail
  2. Introduce idempotent transaction keys, bounded retry policies and separation of enrichment from disruptive response.
  3. Mark every duplicate webhook as a distinct security incident
  4. Retry an account-suspension workflow without idempotency tracking

Explanation

Correct Answer

B:

The case shows: A log-enrichment workflow retries failed API calls without idempotency keys, creating duplicate incident tickets and repeated account suspensions. The preferred intervention—Introduce idempotent transaction keys, bounded retry policies and separation of enrichment from disruptive response—directly corrects that deficiency. The security reason is that retries are normal in distributed automation but can repeat side effects unless workflow state is durable and deduplicated. It is scoped to an enforceable control decision, unlike a policy label or unrelated improvement.

Incorrect Answers

A:

Selecting 'Use unbounded retries so network timeouts cannot fail' 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: Retries are normal in distributed automation but can repeat side effects unless workflow state is durable and deduplicated. The more defensible control is Introduce idempotent transaction keys, bounded retry policies and separation of enrichment from disruptive response.

C:

Selecting 'Mark every duplicate webhook as a distinct security incident' 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: Retries are normal in distributed automation but can repeat side effects unless workflow state is durable and deduplicated. The more defensible control is Introduce idempotent transaction keys, bounded retry policies and separation of enrichment from disruptive response.

D:

Selecting 'Retry an account-suspension workflow without idempotency tracking' 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: Retries are normal in distributed automation but can repeat side effects unless workflow state is durable and deduplicated. The more defensible control is Introduce idempotent transaction keys, bounded retry policies and separation of enrichment from disruptive response.

Question 492

A log-enrichment workflow retries failed API calls without idempotency keys, creating duplicate incident tickets and repeated account suspensions. What underlying security principle most directly explains the risk?

  1. Every retry creates independent investigative evidence
  2. A transient timeout guarantees the previous action did not execute
  3. At-least-once message delivery automatically means exactly-once side effects
  4. Retries are normal in distributed automation but can repeat side effects unless workflow state is durable and deduplicated.

Explanation

Correct Answer

D:

The observed facts point to the causal security principle: Retries are normal in distributed automation but can repeat side effects unless workflow state is durable and deduplicated. This is why the proportionate implementation response is introduce idempotent transaction keys, bounded retry policies and separation of enrichment from disruptive response. The other answers either invent additional facts or mistake documentation or an adjacent safeguard for the actual cause.

Incorrect Answers

A:

The statement 'Every retry creates independent investigative evidence' 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: Retries are normal in distributed automation but can repeat side effects unless workflow state is durable and deduplicated. This distinction determines why introduce idempotent transaction keys, bounded retry policies and separation of enrichment from disruptive response.

B:

The statement 'A transient timeout guarantees the previous action did not execute' 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: Retries are normal in distributed automation but can repeat side effects unless workflow state is durable and deduplicated. This distinction determines why introduce idempotent transaction keys, bounded retry policies and separation of enrichment from disruptive response.

C:

The statement 'At-least-once message delivery automatically means exactly-once side effects' 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: Retries are normal in distributed automation but can repeat side effects unless workflow state is durable and deduplicated. This distinction determines why introduce idempotent transaction keys, bounded retry policies and separation of enrichment from disruptive response.

Question 493

A log-enrichment workflow retries failed API calls without idempotency keys, creating duplicate incident tickets and repeated account suspensions. Which finding is the strongest acceptance evidence for the recommended control?

  1. A simulated transient timeout creates one incident and one authorized action despite multiple delivery attempts.
  2. A genuine later incident is suppressed by an overly broad duplicate key
  3. One source alert creates several suspensions
  4. A duplicate delivery generates a second ticket

Explanation

Correct Answer

A:

The decisive acceptance evidence is: A simulated transient timeout creates one incident and one authorized action despite multiple delivery attempts. It demonstrates that the intervention—Introduce idempotent transaction keys, bounded retry policies and separation of enrichment from disruptive response—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 genuine later incident is suppressed by an overly broad duplicate key' 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 simulated transient timeout creates one incident and one authorized action despite multiple delivery attempts. That measures the actual result of introduce idempotent transaction keys, bounded retry policies and separation of enrichment from disruptive response.

C:

Observing 'One source alert creates several suspensions' 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 simulated transient timeout creates one incident and one authorized action despite multiple delivery attempts. That measures the actual result of introduce idempotent transaction keys, bounded retry policies and separation of enrichment from disruptive response.

D:

Observing 'A duplicate delivery generates a second ticket' 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 simulated transient timeout creates one incident and one authorized action despite multiple delivery attempts. That measures the actual result of introduce idempotent transaction keys, bounded retry policies and separation of enrichment from disruptive response.

Question 494

A log-enrichment workflow retries failed API calls without idempotency keys, creating duplicate incident tickets and repeated account suspensions. Which continuing exposure should not be dismissed by the response team?

  1. A deduplication key might be reused accidentally for unrelated security incidents from the same source.
  2. A retry may arrive after the original ticket's retention period, creating a duplicate record.
  3. An enrichment provider could update a risk score after the first incident record was created.
  4. An incorrectly scoped deduplication window may suppress a distinct later genuine incident.

Explanation

Correct Answer

D:

The remedy cannot eliminate every downstream risk. The directly relevant remaining issue is: An incorrectly scoped deduplication window may suppress a distinct later genuine incident. This needs monitoring or a separate follow-up after implementing Introduce idempotent transaction keys, bounded retry policies and separation of enrichment from disruptive response.

Incorrect Answers

A:

Key collisions are related, but the keyed residual is an incorrectly scoped time window that suppresses a later genuinely distinct incident.

B:

Late retries can duplicate work, but the specified follow-on concern is overaggressive deduplication hiding new attacks.

C:

Score freshness matters, but the residual is that suppression rules could misclassify a fresh event as an old replay.

Question 495

A bank considers moving all data encryption to a post-quantum algorithm but still depends on classical ECDH to exchange transport session secrets. What is the best risk-informed control decision for this specific scenario?

  1. Assume one quantum-resistant cipher makes every network key exchange quantum safe
  2. Inventory cryptographic dependencies and plan hybrid or approved PQC migration, prioritizing vulnerable key-establishment paths.
  3. Switch production algorithms without testing client interoperability or authentication
  4. Replace only disk encryption while keeping classical key establishment for long-lived sessions

Explanation

Correct Answer

B:

The case shows: A bank considers moving all data encryption to a post-quantum algorithm but still depends on classical ECDH to exchange transport session secrets. The preferred intervention—Inventory cryptographic dependencies and plan hybrid or approved PQC migration, prioritizing vulnerable key-establishment paths—directly corrects that deficiency. The security reason is that protecting stored ciphertext with one algorithm does not remove quantum exposure from classical public-key negotiation. It is scoped to an enforceable control decision, unlike a policy label or unrelated improvement.

Incorrect Answers

A:

Selecting 'Assume one quantum-resistant cipher makes every network key exchange quantum safe' 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: Protecting stored ciphertext with one algorithm does not remove quantum exposure from classical public-key negotiation. The more defensible control is Inventory cryptographic dependencies and plan hybrid or approved PQC migration, prioritizing vulnerable key-establishment paths.

C:

Selecting 'Switch production algorithms without testing client interoperability or authentication' 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: Protecting stored ciphertext with one algorithm does not remove quantum exposure from classical public-key negotiation. The more defensible control is Inventory cryptographic dependencies and plan hybrid or approved PQC migration, prioritizing vulnerable key-establishment paths.

D:

Selecting 'Replace only disk encryption while keeping classical key establishment for long-lived sessions' 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: Protecting stored ciphertext with one algorithm does not remove quantum exposure from classical public-key negotiation. The more defensible control is Inventory cryptographic dependencies and plan hybrid or approved PQC migration, prioritizing vulnerable key-establishment paths.

Question 496

A bank considers moving all data encryption to a post-quantum algorithm but still depends on classical ECDH to exchange transport session secrets. Which statement correctly distinguishes the observed control weakness?

  1. PQC migration of one stored-data cipher upgrades all public-key handshakes
  2. Hybrid migration removes the need for inventory and cryptographic agility
  3. Protecting stored ciphertext with one algorithm does not remove quantum exposure from classical public-key negotiation.
  4. An ECDH negotiation provides indefinite post-quantum confidentiality

Explanation

Correct Answer

C:

The observed facts point to the causal security principle: Protecting stored ciphertext with one algorithm does not remove quantum exposure from classical public-key negotiation. This is why the proportionate implementation response is inventory cryptographic dependencies and plan hybrid or approved PQC migration, prioritizing vulnerable key-establishment paths. The other answers either invent additional facts or mistake documentation or an adjacent safeguard for the actual cause.

Incorrect Answers

A:

The statement 'PQC migration of one stored-data cipher upgrades all public-key handshakes' 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: Protecting stored ciphertext with one algorithm does not remove quantum exposure from classical public-key negotiation. This distinction determines why inventory cryptographic dependencies and plan hybrid or approved PQC migration, prioritizing vulnerable key-establishment paths.

B:

The statement 'Hybrid migration removes the need for inventory and cryptographic agility' 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: Protecting stored ciphertext with one algorithm does not remove quantum exposure from classical public-key negotiation. This distinction determines why inventory cryptographic dependencies and plan hybrid or approved PQC migration, prioritizing vulnerable key-establishment paths.

D:

The statement 'An ECDH negotiation provides indefinite post-quantum confidentiality' 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: Protecting stored ciphertext with one algorithm does not remove quantum exposure from classical public-key negotiation. This distinction determines why inventory cryptographic dependencies and plan hybrid or approved PQC migration, prioritizing vulnerable key-establishment paths.

Question 497

A bank considers moving all data encryption to a post-quantum algorithm but still depends on classical ECDH to exchange transport session secrets. What result would demonstrate that the principal risk has been addressed?

  1. An interoperability test records approved hybrid key-establishment behavior without downgrading endpoint authentication.
  2. Clients silently fall back to an unapproved handshake
  3. A migration test breaks certificate authentication for older clients
  4. Captured long-lived traffic still uses classical key exchange

Explanation

Correct Answer

A:

The decisive acceptance evidence is: An interoperability test records approved hybrid key-establishment behavior without downgrading endpoint authentication. It demonstrates that the intervention—Inventory cryptographic dependencies and plan hybrid or approved PQC migration, prioritizing vulnerable key-establishment paths—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 'Clients silently fall back to an unapproved handshake' 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 interoperability test records approved hybrid key-establishment behavior without downgrading endpoint authentication. That measures the actual result of inventory cryptographic dependencies and plan hybrid or approved PQC migration, prioritizing vulnerable key-establishment paths.

C:

Observing 'A migration test breaks certificate authentication for older clients' 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 interoperability test records approved hybrid key-establishment behavior without downgrading endpoint authentication. That measures the actual result of inventory cryptographic dependencies and plan hybrid or approved PQC migration, prioritizing vulnerable key-establishment paths.

D:

Observing 'Captured long-lived traffic still uses classical key exchange' would not prove that the proposed security fix succeeded. This is a counterexample to successful enforcement: a prohibited action still succeeds or an expected boundary remains untested. To accept the remediation, the test must demonstrate: An interoperability test records approved hybrid key-establishment behavior without downgrading endpoint authentication. That measures the actual result of inventory cryptographic dependencies and plan hybrid or approved PQC migration, prioritizing vulnerable key-establishment paths.

Question 498

A bank considers moving all data encryption to a post-quantum algorithm but still depends on classical ECDH to exchange transport session secrets. Even if the primary action succeeds, which specific risk may remain?

  1. Long-lived captured traffic could remain vulnerable where historical key agreements lacked quantum-resistant protection.
  2. Hybrid key-establishment handshakes may exceed latency budgets on older clients.
  3. The new PQC implementation could contain a side-channel flaw despite using an approved primitive.
  4. A partner endpoint may not yet support the selected post-quantum cipher suite.

Explanation

Correct Answer

A:

The remedy cannot eliminate every downstream risk. The directly relevant remaining issue is: Long-lived captured traffic could remain vulnerable where historical key agreements lacked quantum-resistant protection. This needs monitoring or a separate follow-up after implementing Inventory cryptographic dependencies and plan hybrid or approved PQC migration, prioritizing vulnerable key-establishment paths.

Incorrect Answers

B:

Compatibility and handshake performance are migration costs, not the specifically irreversible exposure of historically recorded classical-key exchanges.

C:

Implementation security remains important, but the case-derived residual concerns old encrypted captures already exposed under classical ECDH.

D:

Interoperability can delay rollout, whereas the keyed risk is prior recorded sessions lacking quantum-resistant negotiation.

Question 499

A payroll application uses fast unsalted SHA-256 hashes of employee passwords and argues that SHA-256 is cryptographically secure. Which response should the senior security engineer prioritize?

  1. Keep unsalted SHA-256 password hashes because the output looks random
  2. Use unique salts with an appropriately costed password-specific KDF such as Argon2id under a tested migration plan.
  3. Hash the password twice with SHA-256 and call it a password-specific KDF
  4. Increase password length in policy but keep fast hash storage

Explanation

Correct Answer

B:

The case shows: A payroll application uses fast unsalted SHA-256 hashes of employee passwords and argues that SHA-256 is cryptographically secure. The preferred intervention—Use unique salts with an appropriately costed password-specific KDF such as Argon2id under a tested migration plan—directly corrects that deficiency. The security reason is that a fast general-purpose hash allows inexpensive offline guessing even if collision resistance is good. It is scoped to an enforceable control decision, unlike a policy label or unrelated improvement.

Incorrect Answers

A:

Selecting 'Keep unsalted SHA-256 password hashes because the output looks random' 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 fast general-purpose hash allows inexpensive offline guessing even if collision resistance is good. The more defensible control is Use unique salts with an appropriately costed password-specific KDF such as Argon2id under a tested migration plan.

C:

Selecting 'Hash the password twice with SHA-256 and call it a password-specific KDF' 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 fast general-purpose hash allows inexpensive offline guessing even if collision resistance is good. The more defensible control is Use unique salts with an appropriately costed password-specific KDF such as Argon2id under a tested migration plan.

D:

Selecting 'Increase password length in policy but keep fast hash storage' 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 fast general-purpose hash allows inexpensive offline guessing even if collision resistance is good. The more defensible control is Use unique salts with an appropriately costed password-specific KDF such as Argon2id under a tested migration plan.

Question 500

A payroll application uses fast unsalted SHA-256 hashes of employee passwords and argues that SHA-256 is cryptographically secure. What underlying security principle most directly explains the risk?

  1. A fast general-purpose hash allows inexpensive offline guessing even if collision resistance is good.
  2. A single shared salt is equivalent to per-password unique salt
  3. General-purpose hash speed is a desirable property for resisting offline password guessing
  4. Collision resistance by itself prevents high-throughput dictionary attacks

Explanation

Correct Answer

A:

The observed facts point to the causal security principle: A fast general-purpose hash allows inexpensive offline guessing even if collision resistance is good. This is why the proportionate implementation response is use unique salts with an appropriately costed password-specific KDF such as Argon2id under a tested migration plan. The other answers either invent additional facts or mistake documentation or an adjacent safeguard for the actual cause.

Incorrect Answers

B:

The statement 'A single shared salt is equivalent to per-password unique salt' 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: A fast general-purpose hash allows inexpensive offline guessing even if collision resistance is good. This distinction determines why use unique salts with an appropriately costed password-specific KDF such as Argon2id under a tested migration plan.

C:

The statement 'General-purpose hash speed is a desirable property for resisting offline password guessing' 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 fast general-purpose hash allows inexpensive offline guessing even if collision resistance is good. This distinction determines why use unique salts with an appropriately costed password-specific KDF such as Argon2id under a tested migration plan.

D:

The statement 'Collision resistance by itself prevents high-throughput dictionary attacks' 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 fast general-purpose hash allows inexpensive offline guessing even if collision resistance is good. This distinction determines why use unique salts with an appropriately costed password-specific KDF such as Argon2id under a tested migration plan.

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