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 12

Question 110

A SaaS platform's asset exposure inventory includes public DNS names but not unauthenticated storage APIs published by temporary development accounts. Which explanation best identifies the security failure implied by these facts?

  1. Only centrally registered DNS records can expose resources
  2. Temporary development credentials cannot hold persistent privileges
  3. A cloud API is safe when it has no corporate branding
  4. A public digital footprint is incomplete when shadow identities and APIs exist outside the central inventory.

Explanation

Correct Answer

D:

The observed facts point to the causal security principle: A public digital footprint is incomplete when shadow identities and APIs exist outside the central inventory. This is why the proportionate implementation response is discover unsanctioned cloud resources, map their trust boundaries, and test abuse cases before reducing exposed attack surface. The other answers either invent additional facts or mistake documentation or an adjacent safeguard for the actual cause.

Incorrect Answers

A:

The statement 'Only centrally registered DNS records can expose resources' 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 public digital footprint is incomplete when shadow identities and APIs exist outside the central inventory. This distinction determines why discover unsanctioned cloud resources, map their trust boundaries, and test abuse cases before reducing exposed attack surface.

B:

The statement 'Temporary development credentials cannot hold persistent privileges' 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 public digital footprint is incomplete when shadow identities and APIs exist outside the central inventory. This distinction determines why discover unsanctioned cloud resources, map their trust boundaries, and test abuse cases before reducing exposed attack surface.

C:

The statement 'A cloud API is safe when it has no corporate branding' 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 public digital footprint is incomplete when shadow identities and APIs exist outside the central inventory. This distinction determines why discover unsanctioned cloud resources, map their trust boundaries, and test abuse cases before reducing exposed attack surface.

Question 111

A SaaS platform's asset exposure inventory includes public DNS names but not unauthenticated storage APIs published by temporary development accounts. How should the organization validate the intended security outcome?

  1. A controlled cloud-account discovery reveals the temporary API and confirms its unapproved access was removed.
  2. A deleted account leaves untracked data in a linked service
  3. A temporary account retains an unauthenticated object API
  4. Cloud inventory excludes a public endpoint seen by external discovery

Explanation

Correct Answer

A:

The decisive acceptance evidence is: A controlled cloud-account discovery reveals the temporary API and confirms its unapproved access was removed. It demonstrates that the intervention—Discover unsanctioned cloud resources, map their trust boundaries, and test abuse cases before reducing exposed attack surface—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 deleted account leaves untracked data in a linked service' 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 controlled cloud-account discovery reveals the temporary API and confirms its unapproved access was removed. That measures the actual result of discover unsanctioned cloud resources, map their trust boundaries, and test abuse cases before reducing exposed attack surface.

C:

Observing 'A temporary account retains an unauthenticated object API' 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 controlled cloud-account discovery reveals the temporary API and confirms its unapproved access was removed. That measures the actual result of discover unsanctioned cloud resources, map their trust boundaries, and test abuse cases before reducing exposed attack surface.

D:

Observing 'Cloud inventory excludes a public endpoint seen by external discovery' 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 controlled cloud-account discovery reveals the temporary API and confirms its unapproved access was removed. That measures the actual result of discover unsanctioned cloud resources, map their trust boundaries, and test abuse cases before reducing exposed attack surface.

Question 112

A SaaS platform's asset exposure inventory includes public DNS names but not unauthenticated storage APIs published by temporary development accounts. Even if the primary action succeeds, which specific risk may remain?

  1. The newly discovered API could have stored cached exports even after access is disabled.
  2. An approved security test account may remain active longer than its scheduled lease.
  3. A rate-limit policy might not cover one alternate route on the audited endpoint.
  4. A future self-service deployment can recreate hidden access unless continuous discovery operates.

Explanation

Correct Answer

D:

The remedy cannot eliminate every downstream risk. The directly relevant remaining issue is: A future self-service deployment can recreate hidden access unless continuous discovery operates. This needs monitoring or a separate follow-up after implementing Discover unsanctioned cloud resources, map their trust boundaries, and test abuse cases before reducing exposed attack surface.

Incorrect Answers

A:

Existing data exposure requires separate review, but the keyed residual is that future self-service changes recreate hidden APIs if discovery stops.

B:

Test identity lifecycle matters, though it is separate from ongoing unsanctioned API creation outside the inventory.

C:

Authorization and abuse limits warrant review, but the main residual is new deployments avoiding centralized discovery entirely.

Question 113

An AI assistant receives a customer-supplied document that tells it to export payroll records using a tool with privileged credentials. Which implementation decision addresses the primary problem without overreaching?

  1. Treat retrieved content as untrusted, separate instructions from data, and gate sensitive tool calls with least privilege and authorization checks.
  2. Block only a suspicious phrase while leaving privileged tool calls unguarded
  3. Grant the assistant unrestricted payroll export so requests can complete faster
  4. Obey instructions embedded in retrieved documents as if they came from the system

Explanation

Correct Answer

A:

The case shows: An AI assistant receives a customer-supplied document that tells it to export payroll records using a tool with privileged credentials. The preferred intervention—Treat retrieved content as untrusted, separate instructions from data, and gate sensitive tool calls with least privilege and authorization checks—directly corrects that deficiency. The security reason is that prompt injection becomes dangerous when untrusted text can steer an agent with excessive authority over internal systems. It is scoped to an enforceable control decision, unlike a policy label or unrelated improvement.

Incorrect Answers

B:

Selecting 'Block only a suspicious phrase while leaving privileged tool calls unguarded' 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: Prompt injection becomes dangerous when untrusted text can steer an agent with excessive authority over internal systems. The more defensible control is Treat retrieved content as untrusted, separate instructions from data, and gate sensitive tool calls with least privilege and authorization checks.

C:

Selecting 'Grant the assistant unrestricted payroll export so requests can complete faster' 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: Prompt injection becomes dangerous when untrusted text can steer an agent with excessive authority over internal systems. The more defensible control is Treat retrieved content as untrusted, separate instructions from data, and gate sensitive tool calls with least privilege and authorization checks.

D:

Selecting 'Obey instructions embedded in retrieved documents as if they came from the system' 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: Prompt injection becomes dangerous when untrusted text can steer an agent with excessive authority over internal systems. The more defensible control is Treat retrieved content as untrusted, separate instructions from data, and gate sensitive tool calls with least privilege and authorization checks.

Question 114

An AI assistant receives a customer-supplied document that tells it to export payroll records using a tool with privileged credentials. What is the most defensible causal explanation for the exposure?

  1. The model's conversational confidence substitutes for tool-level authorization
  2. Retrieved document text can authorize high-privilege API execution
  3. Prompt text is safe because it arrived through an approved search connector
  4. Prompt injection becomes dangerous when untrusted text can steer an agent with excessive authority over internal systems.

Explanation

Correct Answer

D:

The observed facts point to the causal security principle: Prompt injection becomes dangerous when untrusted text can steer an agent with excessive authority over internal systems. This is why the proportionate implementation response is treat retrieved content as untrusted, separate instructions from data, and gate sensitive tool calls with least privilege and authorization checks. The other answers either invent additional facts or mistake documentation or an adjacent safeguard for the actual cause.

Incorrect Answers

A:

The statement 'The model's conversational confidence substitutes for tool-level authorization' 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: Prompt injection becomes dangerous when untrusted text can steer an agent with excessive authority over internal systems. This distinction determines why treat retrieved content as untrusted, separate instructions from data, and gate sensitive tool calls with least privilege and authorization checks.

B:

The statement 'Retrieved document text can authorize high-privilege API execution' 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: Prompt injection becomes dangerous when untrusted text can steer an agent with excessive authority over internal systems. This distinction determines why treat retrieved content as untrusted, separate instructions from data, and gate sensitive tool calls with least privilege and authorization checks.

C:

The statement 'Prompt text is safe because it arrived through an approved search connector' 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: Prompt injection becomes dangerous when untrusted text can steer an agent with excessive authority over internal systems. This distinction determines why treat retrieved content as untrusted, separate instructions from data, and gate sensitive tool calls with least privilege and authorization checks.

Question 115

An AI assistant receives a customer-supplied document that tells it to export payroll records using a tool with privileged credentials. Which test or observation would provide the clearest evidence that the correction worked?

  1. A malicious plugin call succeeds using the assistant's broad identity
  2. Ordinary user search cannot run without admin access even after the guardrails
  3. The test document triggers a payroll export without an approval
  4. A malicious test document fails to trigger unauthorized payroll export while legitimate search tasks still work.

Explanation

Correct Answer

D:

The decisive acceptance evidence is: A malicious test document fails to trigger unauthorized payroll export while legitimate search tasks still work. It demonstrates that the intervention—Treat retrieved content as untrusted, separate instructions from data, and gate sensitive tool calls with least privilege and authorization checks—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 malicious plugin call succeeds using the assistant's broad identity' 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: A malicious test document fails to trigger unauthorized payroll export while legitimate search tasks still work. That measures the actual result of treat retrieved content as untrusted, separate instructions from data, and gate sensitive tool calls with least privilege and authorization checks.

B:

Observing 'Ordinary user search cannot run without admin access even after the guardrails' 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 malicious test document fails to trigger unauthorized payroll export while legitimate search tasks still work. That measures the actual result of treat retrieved content as untrusted, separate instructions from data, and gate sensitive tool calls with least privilege and authorization checks.

C:

Observing 'The test document triggers a payroll export without an approval' 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 malicious test document fails to trigger unauthorized payroll export while legitimate search tasks still work. That measures the actual result of treat retrieved content as untrusted, separate instructions from data, and gate sensitive tool calls with least privilege and authorization checks.

Question 116

An AI assistant receives a customer-supplied document that tells it to export payroll records using a tool with privileged credentials. Which residual security concern should remain explicitly tracked after remediation?

  1. Other tools or chained prompts may bypass a guardrail not enforced at each authorization boundary.
  2. A document filter may falsely label a legitimate payroll reference as hostile.
  3. A single malicious document could contain obfuscated instructions that evade pattern detection.
  4. A service credential might expire during a legitimate assistant task.

Explanation

Correct Answer

A:

The remedy cannot eliminate every downstream risk. The directly relevant remaining issue is: Other tools or chained prompts may bypass a guardrail not enforced at each authorization boundary. This needs monitoring or a separate follow-up after implementing Treat retrieved content as untrusted, separate instructions from data, and gate sensitive tool calls with least privilege and authorization checks.

Incorrect Answers

B:

False positives affect usability, but the directly relevant residual is chained tool calls escaping an authorization gate elsewhere.

C:

Content recognition gaps matter, but the safeguard must still enforce per-action authorization when other tools are chained.

D:

Credential availability is operational, not the failure of authorization enforcement across connected agent tools.

Question 117

An insurance company trains a model on customer files and assumes the model cannot reveal memorized personal data because users see only generated text. What is the best risk-informed control decision for this specific scenario?

  1. Apply data minimization, access controls, privacy testing for memorization and extraction, and retention governance before deployment.
  2. Permit unlimited repeated extraction queries because individual outputs look short
  3. Remove sensitive training files only after the model checkpoint is published
  4. Assume private data cannot be extracted because no raw table is exposed

Explanation

Correct Answer

A:

The case shows: An insurance company trains a model on customer files and assumes the model cannot reveal memorized personal data because users see only generated text. The preferred intervention—Apply data minimization, access controls, privacy testing for memorization and extraction, and retention governance before deployment—directly corrects that deficiency. The security reason is that generated outputs can disclose sensitive training examples through memorization or model inversion even without raw-data access. It is scoped to an enforceable control decision, unlike a policy label or unrelated improvement.

Incorrect Answers

B:

Selecting 'Permit unlimited repeated extraction queries because individual outputs look short' 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: Generated outputs can disclose sensitive training examples through memorization or model inversion even without raw-data access. The more defensible control is Apply data minimization, access controls, privacy testing for memorization and extraction, and retention governance before deployment.

C:

Selecting 'Remove sensitive training files only after the model checkpoint is published' 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: Generated outputs can disclose sensitive training examples through memorization or model inversion even without raw-data access. The more defensible control is Apply data minimization, access controls, privacy testing for memorization and extraction, and retention governance before deployment.

D:

Selecting 'Assume private data cannot be extracted because no raw table is exposed' 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: Generated outputs can disclose sensitive training examples through memorization or model inversion even without raw-data access. The more defensible control is Apply data minimization, access controls, privacy testing for memorization and extraction, and retention governance before deployment.

Question 118

An insurance company trains a model on customer files and assumes the model cannot reveal memorized personal data because users see only generated text. What underlying security principle most directly explains the risk?

  1. Redacting one prompt guarantees previous checkpoints contain no sensitive attributes
  2. Text generation cannot reveal memorized training samples
  3. Model inversion risk exists only with direct database credentials
  4. Generated outputs can disclose sensitive training examples through memorization or model inversion even without raw-data access.

Explanation

Correct Answer

D:

The observed facts point to the causal security principle: Generated outputs can disclose sensitive training examples through memorization or model inversion even without raw-data access. This is why the proportionate implementation response is apply data minimization, access controls, privacy testing for memorization and extraction, and retention governance before deployment. The other answers either invent additional facts or mistake documentation or an adjacent safeguard for the actual cause.

Incorrect Answers

A:

The statement 'Redacting one prompt guarantees previous checkpoints contain no sensitive attributes' 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: Generated outputs can disclose sensitive training examples through memorization or model inversion even without raw-data access. This distinction determines why apply data minimization, access controls, privacy testing for memorization and extraction, and retention governance before deployment.

B:

The statement 'Text generation cannot reveal memorized training samples' 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: Generated outputs can disclose sensitive training examples through memorization or model inversion even without raw-data access. This distinction determines why apply data minimization, access controls, privacy testing for memorization and extraction, and retention governance before deployment.

C:

The statement 'Model inversion risk exists only with direct database credentials' 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: Generated outputs can disclose sensitive training examples through memorization or model inversion even without raw-data access. This distinction determines why apply data minimization, access controls, privacy testing for memorization and extraction, and retention governance before deployment.

Question 119

An insurance company trains a model on customer files and assumes the model cannot reveal memorized personal data because users see only generated text. Which validation evidence is most directly connected to this particular scenario?

  1. The deployed model still emits training rows after dataset deletion
  2. Controlled extraction tests and logging demonstrate that unauthorized prompts cannot expose sampled sensitive attributes.
  3. Rate limits exist but targeted extraction tests are absent
  4. A red-team prompt recovers a memorized patient identifier

Explanation

Correct Answer

B:

The decisive acceptance evidence is: Controlled extraction tests and logging demonstrate that unauthorized prompts cannot expose sampled sensitive attributes. It demonstrates that the intervention—Apply data minimization, access controls, privacy testing for memorization and extraction, and retention governance before deployment—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 'The deployed model still emits training rows after dataset deletion' 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: Controlled extraction tests and logging demonstrate that unauthorized prompts cannot expose sampled sensitive attributes. That measures the actual result of apply data minimization, access controls, privacy testing for memorization and extraction, and retention governance before deployment.

C:

Observing 'Rate limits exist but targeted extraction tests are absent' 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: Controlled extraction tests and logging demonstrate that unauthorized prompts cannot expose sampled sensitive attributes. That measures the actual result of apply data minimization, access controls, privacy testing for memorization and extraction, and retention governance before deployment.

D:

Observing 'A red-team prompt recovers a memorized patient identifier' 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: Controlled extraction tests and logging demonstrate that unauthorized prompts cannot expose sampled sensitive attributes. That measures the actual result of apply data minimization, access controls, privacy testing for memorization and extraction, and retention governance before deployment.

Question 120

An insurance company trains a model on customer files and assumes the model cannot reveal memorized personal data because users see only generated text. Which follow-up uncertainty should be recorded in the risk register?

  1. Previously published model checkpoints may retain sensitive representations after a dataset is removed.
  2. The model could still give an inaccurate answer about policy without revealing memorized records.
  3. An internal user with authorized access might share an output in error.
  4. Reidentification could occur by combining several seemingly harmless outputs.

Explanation

Correct Answer

A:

The remedy cannot eliminate every downstream risk. The directly relevant remaining issue is: Previously published model checkpoints may retain sensitive representations after a dataset is removed. This needs monitoring or a separate follow-up after implementing Apply data minimization, access controls, privacy testing for memorization and extraction, and retention governance before deployment.

Incorrect Answers

B:

General correctness matters, but the specifically remaining privacy issue is sensitive representations in already published checkpoints.

C:

Human disclosure can occur, but it does not remove embedded memorized data from previously distributed model snapshots.

D:

Inference attacks deserve separate controls, while the keyed limitation is persistent private representations in released model versions.

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