McAfee-Secured Website

Exam Bundle

Exam Code: CAS-005

Exam Name CompTIA SecurityX

Certification Provider: CompTIA

Corresponding Certification: CASP

CompTIA CAS-005 Bundle $44.99

100% CompTIA CAS-005 Guaranteed Success With Testking Training Materials

Get Real CAS-005 Exam Questions & Expert Verified Answers as Experienced on the Real Exam!

  • Questions & Answers

    CAS-005 Questions & Answers

    482 Questions & Answers

    The ultimate exam preparation tool, Questions & Answers mirrors the actual CAS-005 exam while allowing you to hone and measure every aspect of your test-taking ability.

  • CAS-005 Video Course

    CAS-005 Video Course

    180 Video Lectures

    CAS-005 Video Course is developed by CompTIA Professionals to help you pass the CAS-005 exam.

    Description

    This course will improve your knowledge and skills required to pass CompTIA SecurityX exam.
  • Study Guide

    CAS-005 Study Guide

    903 PDF Pages

    Developed by industry experts, this 903-page guide spells out in painstaking detail all of the information you need to ace CAS-005 exam.

CompTIA SecurityX (CAS-005) Practice Tests

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Total Cost: $194.97
Bundle Price: $149.98

Purchase Individually

  • Questions & Answers

    Questions & Answers

    482 Questions

    $124.99
  • CAS-005 Video Course

    Video Course

    180 Video Lectures

    $39.99
  • Study Guide

    Study Guide

    903 PDF Pages

    $29.99

CompTIA CAS-005 Practice Test 17

Question 160

A follow-up assurance review considers this problem: A supplier offers preloaded network hardware whose firmware integrity cannot be independently validated. Which outcome best shows the intended improvement?

  1. A deliberately unsafe redirect change fails before production deployment.
  2. An unauthorized role fails a documented negative test and the control maps to its original requirement.
  3. A tampered firmware image fails device attestation and the receipt is quarantined.
  4. An unsigned or altered image fails admission while the verified release is deployed.

Explanation

Correct Answer

C:

This is direct test evidence of the control objective in the case: A supplier offers preloaded network hardware whose firmware integrity cannot be independently validated. It demonstrates that the proposed response, require manufacturer-signed firmware verification and approved chain-of-custody checks at receiving., produces the measurable result a tampered firmware image fails device attestation and the receipt is quarantined. The observation tests a relevant security outcome rather than an unrelated control or reporting activity.

Incorrect Answers

A:

In “A testing team frequently skips security regression on minor user-interface updates, accidentally reintroducing unsafe redirect handling”, “A deliberately unsafe redirect change fails before production deployment” is the acceptance signal for “Include targeted security regression checks in automated pipelines based on changed components and threat coverage”. The required proof for the selected response “Require manufacturer-signed firmware verification and approved chain-of-custody checks at receiving” is “A tampered firmware image fails device attestation and the receipt is quarantined”.

B:

Observation “An unauthorized role fails a documented negative test and the control maps to its original requirement.” would be useful for “A medical IoT application has security requirements only as general text with no testable authorization behavior”, but it does not prove that the response to “A supplier offers preloaded network hardware whose firmware integrity cannot be independently validated” achieved the relevant outcome, a tampered firmware image fails device attestation and the receipt is quarantined.

D:

For the issue “A supplier offers preloaded network hardware whose firmware integrity cannot be independently validated”, measuring “An unsigned or altered image fails admission while the verified release is deployed.” would validate “A container deployment uses a publicly accessible image registry with no signature verification in production admission” instead of the required control effect: a tampered firmware image fails device attestation and the receipt is quarantined.

Question 161

An enterprise security review reports: An application uses dynamic code scanning but never tests vulnerable open-source libraries in container base images. Which response best addresses the underlying security issue?

  1. Add software composition and container image vulnerability evaluation with dependency ownership.
  2. Standardize security metadata tags for classification, ownership, environment, and recovery criticality.
  3. Require manufacturer-signed firmware verification and approved chain-of-custody checks at receiving.
  4. Perform lifecycle and vulnerability impact assessment and plan supported replacement before deployment approval.

Explanation

Correct Answer

A:

Add software composition and container image vulnerability evaluation with dependency ownership. The acceptance check is that a known vulnerable base-layer package triggers a pre-deployment remediation gate. That outcome checks whether the requirement is met, rather than treating completion of a security task as proof of effectiveness.

Incorrect Answers

B:

Although “Standardize security metadata tags for classification, ownership, environment, and recovery criticality.” is a reasonable response to “An enterprise merger results in two disparate asset tag taxonomies, preventing consistent vulnerability priority across cloud accounts”, this case instead concerns “An application uses dynamic code scanning but never tests vulnerable open-source libraries in container base images”, for which success requires that a known vulnerable base-layer package triggers a pre-deployment remediation gate.

C:

The option “Require manufacturer-signed firmware verification and approved chain-of-custody checks at receiving.” assumes an issue like “A supplier offers preloaded network hardware whose firmware integrity cannot be independently validated”, not the specific observed weakness “An application uses dynamic code scanning but never tests vulnerable open-source libraries in container base images”; it leaves the evidence goal unmet: a known vulnerable base-layer package triggers a pre-deployment remediation gate.

D:

The proposal “Perform lifecycle and vulnerability impact assessment and plan supported replacement before deployment approval” manages “A vendor supplies a cryptographic library past its end-of-support date but integration teams assume compatibility equals security”, where successful operation means “The approved build uses a maintained library and associated security regression tests pass”. The present issue instead needs “Add software composition and container image vulnerability evaluation with dependency ownership” to establish “A known vulnerable base-layer package triggers a pre-deployment remediation gate”.

Question 162

After the team responds to the following issue, which finding best demonstrates the desired security outcome? An application uses dynamic code scanning but never tests vulnerable open-source libraries in container base images.

  1. A crafted event cannot invoke unauthorized actions and vulnerable package versions are detected in the build.
  2. A known vulnerable base-layer package triggers a pre-deployment remediation gate.
  3. The emergency release preserves traceable approval and demonstrates key security checks before deployment.
  4. A deliberately vulnerable test change is flagged before merge with a tracked disposition.

Explanation

Correct Answer

B:

This is direct test evidence of the control objective in the case: An application uses dynamic code scanning but never tests vulnerable open-source libraries in container base images. It demonstrates that the proposed response, add software composition and container image vulnerability evaluation with dependency ownership., produces the measurable result a known vulnerable base-layer package triggers a pre-deployment remediation gate. The observation tests a relevant security outcome rather than an unrelated control or reporting activity.

Incorrect Answers

A:

In the problem “An application uses dynamic code scanning but never tests vulnerable open-source libraries in container base images”, evidence “A crafted event cannot invoke unauthorized actions and vulnerable package versions are detected in the build.” is not decisive because it tests “A software team assumes a serverless function cannot be attacked because it has no managed operating system”; the requested validation is a known vulnerable base-layer package triggers a pre-deployment remediation gate.

C:

“Define emergency patch exceptions retaining minimum signed approvals and automated critical security gates” should produce “The emergency release preserves traceable approval and demonstrates key security checks before deployment” in its own test case. The present requirement is instead checked by “A known vulnerable base-layer package triggers a pre-deployment remediation gate”, which validates “Add software composition and container image vulnerability evaluation with dependency ownership” rather than the alternate control.

D:

Observation “A deliberately vulnerable test change is flagged before merge with a tracked disposition.” would be useful for “A product team runs SAST only after release candidates are frozen, leaving no time to fix critical defects”, but it does not prove that the response to “An application uses dynamic code scanning but never tests vulnerable open-source libraries in container base images” achieved the relevant outcome, a known vulnerable base-layer package triggers a pre-deployment remediation gate.

Question 163

During an authorized security assessment, the team discovers: A cloud-native project deploys to production from developers' workstations without reproducible builders. What should be prioritized?

  1. Adopt time-bound subject-to-resource grants and continuous authorization checks for contractor sessions.
  2. Generate and verify SBOMs and signed build attestations during trusted pipeline execution.
  3. Establish controlled build environments, source integrity checks, and cryptographically signed deployment artifacts.
  4. Require manufacturer-signed firmware verification and approved chain-of-custody checks at receiving.

Explanation

Correct Answer

C:

Establish controlled build environments, source integrity checks, and cryptographically signed deployment artifacts. The acceptance check is that production accepts only artifacts whose build provenance and signatures validate. That outcome checks whether the requirement is met, rather than treating completion of a security task as proof of effectiveness.

Incorrect Answers

A:

The option “Adopt time-bound subject-to-resource grants and continuous authorization checks for contractor sessions.” assumes an issue like “A company grants temporary external contractors standing application access because the VPN login remains valid for 30 days”, not the specific observed weakness “A cloud-native project deploys to production from developers' workstations without reproducible builders”; it leaves the evidence goal unmet: production accepts only artifacts whose build provenance and signatures validate.

B:

“A release artifact can be traced to source, dependency versions, builder identity, and verified signatures” would be meaningful evidence for “Generate and verify SBOMs and signed build attestations during trusted pipeline execution” in the case “A CI pipeline imports dependencies without a software bill of materials or cryptographic provenance”. It does not replace “Establish controlled build environments, source integrity checks, and cryptographically signed deployment artifacts” to correct “A cloud-native project deploys to production from developers' workstations without reproducible builders” and verify “Production accepts only artifacts whose build provenance and signatures validate”.

D:

Although “Require manufacturer-signed firmware verification and approved chain-of-custody checks at receiving.” is a reasonable response to “A supplier offers preloaded network hardware whose firmware integrity cannot be independently validated”, this case instead concerns “A cloud-native project deploys to production from developers' workstations without reproducible builders”, for which success requires that production accepts only artifacts whose build provenance and signatures validate.

Question 164

Which test or documented result best shows that the underlying issue was properly addressed? A cloud-native project deploys to production from developers' workstations without reproducible builders.

  1. The approved build uses a maintained library and associated security regression tests pass.
  2. A deliberately unsafe redirect change fails before production deployment.
  3. An unauthorized open ingress rule triggers detection and approved rollback before the next production build.
  4. Production accepts only artifacts whose build provenance and signatures validate.

Explanation

Correct Answer

D:

This is direct test evidence of the control objective in the case: A cloud-native project deploys to production from developers' workstations without reproducible builders. It demonstrates that the proposed response, establish controlled build environments, source integrity checks, and cryptographically signed deployment artifacts., produces the measurable result production accepts only artifacts whose build provenance and signatures validate. The observation tests a relevant security outcome rather than an unrelated control or reporting activity.

Incorrect Answers

A:

In “A vendor supplies a cryptographic library past its end-of-support date but integration teams assume compatibility equals security”, “The approved build uses a maintained library and associated security regression tests pass” is the acceptance signal for “Perform lifecycle and vulnerability impact assessment and plan supported replacement before deployment approval”. The required proof for the selected response “Establish controlled build environments, source integrity checks, and cryptographically signed deployment artifacts” is “Production accepts only artifacts whose build provenance and signatures validate”.

B:

Observation “A deliberately unsafe redirect change fails before production deployment.” would be useful for “A testing team frequently skips security regression on minor user-interface updates, accidentally reintroducing unsafe redirect handling”, but it does not prove that the response to “A cloud-native project deploys to production from developers' workstations without reproducible builders” achieved the relevant outcome, production accepts only artifacts whose build provenance and signatures validate.

C:

In the problem “A cloud-native project deploys to production from developers' workstations without reproducible builders”, evidence “An unauthorized open ingress rule triggers detection and approved rollback before the next production build.” is not decisive because it tests “An infrastructure-as-code pipeline permits manual console changes without alerting owners to network security group drift”; the requested validation is production accepts only artifacts whose build provenance and signatures validate.

Question 165

A cross-functional security group is considering a decision: A web product cannot support a full security test in production, so engineers skip dynamic authentication testing entirely. What is the most appropriate control or investigation response?

  1. Implement server-side object-level authorization checks with automated cross-user negative tests.
  2. Establish controlled build environments, source integrity checks, and cryptographically signed deployment artifacts.
  3. Assign authenticated workload identities and enforce per-service policy at internal API boundaries.
  4. Use representative preproduction environments and safe test identities for authenticated DAST.

Explanation

Correct Answer

D:

Use representative preproduction environments and safe test identities for authenticated DAST. The acceptance check is that protected route tests reproduce access-control failures without modifying real customer data. That outcome checks whether the requirement is met, rather than treating completion of a security task as proof of effectiveness.

Incorrect Answers

A:

“A user cannot read another tenant's resource using a modified identifier” would be meaningful evidence for “Implement server-side object-level authorization checks with automated cross-user negative tests” in the case “An enterprise faces this security constraint: A product's code review finds missing authorization on resource APIs, but a general security awareness course is proposed as remediation”. It does not replace “Use representative preproduction environments and safe test identities for authenticated DAST” to correct “A cross-functional security group is considering a decision: A web product cannot support a full security test in production, so engineers skip dynamic authentication testing entirely” and verify “Protected route tests reproduce access-control failures without modifying real customer data”.

B:

Although “Establish controlled build environments, source integrity checks, and cryptographically signed deployment artifacts.” is a reasonable response to “A cloud-native project deploys to production from developers' workstations without reproducible builders”, this case instead concerns “A web product cannot support a full security test in production, so engineers skip dynamic authentication testing entirely”, for which success requires that protected route tests reproduce access-control failures without modifying real customer data.

C:

The option “Assign authenticated workload identities and enforce per-service policy at internal API boundaries.” assumes an issue like “An enterprise tracks users but not service-to-service identities, leaving internal APIs trusting all traffic from an office subnet”, not the specific observed weakness “A web product cannot support a full security test in production, so engineers skip dynamic authentication testing entirely”; it leaves the evidence goal unmet: protected route tests reproduce access-control failures without modifying real customer data.

Question 166

A follow-up assurance review considers this problem: A web product cannot support a full security test in production, so engineers skip dynamic authentication testing entirely. Which outcome best shows the intended improvement?

  1. The approved build uses a maintained library and associated security regression tests pass.
  2. An unauthorized role fails a documented negative test and the control maps to its original requirement.
  3. Contract expiry ends access to the protected application even before the VPN session expires.
  4. Protected route tests reproduce access-control failures without modifying real customer data.

Explanation

Correct Answer

D:

This is direct test evidence of the control objective in the case: A web product cannot support a full security test in production, so engineers skip dynamic authentication testing entirely. It demonstrates that the proposed response, use representative preproduction environments and safe test identities for authenticated DAST., produces the measurable result protected route tests reproduce access-control failures without modifying real customer data. The observation tests a relevant security outcome rather than an unrelated control or reporting activity.

Incorrect Answers

A:

In the problem “A web product cannot support a full security test in production, so engineers skip dynamic authentication testing entirely”, evidence “The approved build uses a maintained library and associated security regression tests pass.” is not decisive because it tests “A vendor supplies a cryptographic library past its end-of-support date but integration teams assume compatibility equals security”; the requested validation is protected route tests reproduce access-control failures without modifying real customer data.

B:

For the issue “A web product cannot support a full security test in production, so engineers skip dynamic authentication testing entirely”, measuring “An unauthorized role fails a documented negative test and the control maps to its original requirement.” would validate “A medical IoT application has security requirements only as general text with no testable authorization behavior” instead of the required control effect: protected route tests reproduce access-control failures without modifying real customer data.

C:

In “A company grants temporary external contractors standing application access because the VPN login remains valid for 30 days”, “Contract expiry ends access to the protected application even before the VPN session expires” is the acceptance signal for “Adopt time-bound subject-to-resource grants and continuous authorization checks for contractor sessions”. The required proof for the selected response “Use representative preproduction environments and safe test identities for authenticated DAST” is “Protected route tests reproduce access-control failures without modifying real customer data”.

Question 167

In a control effectiveness review, the issue is: A code reviewer finds unsafe deserialization in a critical service but only a documentation ticket is created. Which intervention is most defensible for the situation?

  1. Standardize security metadata tags for classification, ownership, environment, and recovery criticality.
  2. Implement server-side object-level authorization checks with automated cross-user negative tests.
  3. Include targeted security regression checks in automated pipelines based on changed components and threat coverage.
  4. Add unit and adversarial security regression tests that fail on forbidden object types or execution.

Explanation

Correct Answer

D:

Add unit and adversarial security regression tests that fail on forbidden object types or execution. The acceptance check is that a crafted serialized object is rejected during CI and a recorded defect is linked to the change. That outcome checks whether the requirement is met, rather than treating completion of a security task as proof of effectiveness.

Incorrect Answers

A:

The option “Standardize security metadata tags for classification, ownership, environment, and recovery criticality.” assumes an issue like “An enterprise merger results in two disparate asset tag taxonomies, preventing consistent vulnerability priority across cloud accounts”, not the specific observed weakness “A code reviewer finds unsafe deserialization in a critical service but only a documentation ticket is created”; it leaves the evidence goal unmet: a crafted serialized object is rejected during CI and a recorded defect is linked to the change.

B:

For “An enterprise faces this security constraint: A product's code review finds missing authorization on resource APIs, but a general security awareness course is proposed as remediation”, “Implement server-side object-level authorization checks with automated cross-user negative tests” has a clear validation signal: “A user cannot read another tenant's resource using a modified identifier”. But “A code reviewer finds unsafe deserialization in a critical service but only a documentation ticket is created” calls for “Add unit and adversarial security regression tests that fail on forbidden object types or execution”; the other intervention cannot demonstrate “A crafted serialized object is rejected during CI and a recorded defect is linked to the change”.

C:

“A deliberately unsafe redirect change fails before production deployment” would be meaningful evidence for “Include targeted security regression checks in automated pipelines based on changed components and threat coverage” in the case “A testing team frequently skips security regression on minor user-interface updates, accidentally reintroducing unsafe redirect handling”. It does not replace “Add unit and adversarial security regression tests that fail on forbidden object types or execution” to correct “A code reviewer finds unsafe deserialization in a critical service but only a documentation ticket is created” and verify “A crafted serialized object is rejected during CI and a recorded defect is linked to the change”.

Question 168

After the team responds to the following issue, which finding best demonstrates the desired security outcome? A code reviewer finds unsafe deserialization in a critical service but only a documentation ticket is created.

  1. A crafted serialized object is rejected during CI and a recorded defect is linked to the change.
  2. A deliberately unsafe redirect change fails before production deployment.
  3. A deliberately vulnerable test change is flagged before merge with a tracked disposition.
  4. Tampered metadata is rejected and a legitimate scheduled rollover is audited and accepted.

Explanation

Correct Answer

A:

This is direct test evidence of the control objective in the case: A code reviewer finds unsafe deserialization in a critical service but only a documentation ticket is created. It demonstrates that the proposed response, add unit and adversarial security regression tests that fail on forbidden object types or execution., produces the measurable result a crafted serialized object is rejected during CI and a recorded defect is linked to the change. The observation tests a relevant security outcome rather than an unrelated control or reporting activity.

Incorrect Answers

B:

Observation “A deliberately unsafe redirect change fails before production deployment.” would be useful for “A testing team frequently skips security regression on minor user-interface updates, accidentally reintroducing unsafe redirect handling”, but it does not prove that the response to “A code reviewer finds unsafe deserialization in a critical service but only a documentation ticket is created” achieved the relevant outcome, a crafted serialized object is rejected during CI and a recorded defect is linked to the change.

C:

In the problem “A code reviewer finds unsafe deserialization in a critical service but only a documentation ticket is created”, evidence “A deliberately vulnerable test change is flagged before merge with a tracked disposition.” is not decisive because it tests “A product team runs SAST only after release candidates are frozen, leaving no time to fix critical defects”; the requested validation is a crafted serialized object is rejected during CI and a recorded defect is linked to the change.

D:

For the issue “A code reviewer finds unsafe deserialization in a critical service but only a documentation ticket is created”, measuring “Tampered metadata is rejected and a legitimate scheduled rollover is audited and accepted.” would validate “An external partner's federation metadata changes, but trust is updated by copying the partner's unsigned emailed XML” instead of the required control effect: a crafted serialized object is rejected during CI and a recorded defect is linked to the change.

Question 169

A security architect is asked to resolve this problem: A SaaS application has a compliance rule to erase user data, but archived deployment images still contain seeded production records. Select the MOST directly relevant action.

  1. Integrate sensitive-data checks into build artifacts, seed-data handling, and lifecycle disposal.
  2. Implement server-side object-level authorization checks with automated cross-user negative tests.
  3. Perform lifecycle and vulnerability impact assessment and plan supported replacement before deployment approval.
  4. Integrate HR-authoritative lifecycle events with scoped provisioning and scheduled entitlement reviews.

Explanation

Correct Answer

A:

Integrate sensitive-data checks into build artifacts, seed-data handling, and lifecycle disposal. The acceptance check is that scanning new images finds no production personal records and archived unsafe images are remediated. That outcome checks whether the requirement is met, rather than treating completion of a security task as proof of effectiveness.

Incorrect Answers

B:

Although “Implement server-side object-level authorization checks with automated cross-user negative tests.” is a reasonable response to “A product's code review finds missing authorization on resource APIs, but a general security awareness course is proposed as remediation”, this case instead concerns “A SaaS application has a compliance rule to erase user data, but archived deployment images still contain seeded production records”, for which success requires that scanning new images finds no production personal records and archived unsafe images are remediated.

C:

The option “Perform lifecycle and vulnerability impact assessment and plan supported replacement before deployment approval.” assumes an issue like “A vendor supplies a cryptographic library past its end-of-support date but integration teams assume compatibility equals security”, not the specific observed weakness “A SaaS application has a compliance rule to erase user data, but archived deployment images still contain seeded production records”; it leaves the evidence goal unmet: scanning new images finds no production personal records and archived unsafe images are remediated.

D:

The proposal “Integrate HR-authoritative lifecycle events with scoped provisioning and scheduled entitlement reviews” manages “A university delegates account lifecycle management to departments but no one removes access when contractors change roles”, where successful operation means “A sample contractor transfer removes obsolete rights promptly and creates an auditable transition record”. The present issue instead needs “Integrate sensitive-data checks into build artifacts, seed-data handling, and lifecycle disposal” to establish “Scanning new images finds no production personal records and archived unsafe images are remediated”.

Question 170

Which test or documented result best shows that the underlying issue was properly addressed? A SaaS application has a compliance rule to erase user data, but archived deployment images still contain seeded production records.

  1. Scanning new images finds no production personal records and archived unsafe images are remediated.
  2. Test users can retrieve public records while sensitive samples require matching authorized attributes.
  3. Production accepts only artifacts whose build provenance and signatures validate.
  4. A deliberately unsafe redirect change fails before production deployment.

Explanation

Correct Answer

A:

This is direct test evidence of the control objective in the case: A SaaS application has a compliance rule to erase user data, but archived deployment images still contain seeded production records. It demonstrates that the proposed response, integrate sensitive-data checks into build artifacts, seed-data handling, and lifecycle disposal., produces the measurable result scanning new images finds no production personal records and archived unsafe images are remediated. The observation tests a relevant security outcome rather than an unrelated control or reporting activity.

Incorrect Answers

B:

For the issue “A SaaS application has a compliance rule to erase user data, but archived deployment images still contain seeded production records”, measuring “Test users can retrieve public records while sensitive samples require matching authorized attributes.” would validate “A health analytics platform applies one generic data classification label to public and confidential records” instead of the required control effect: scanning new images finds no production personal records and archived unsafe images are remediated.

C:

“Establish controlled build environments, source integrity checks, and cryptographically signed deployment artifacts” should produce “Production accepts only artifacts whose build provenance and signatures validate” in its own test case. The present requirement is instead checked by “Scanning new images finds no production personal records and archived unsafe images are remediated”, which validates “Integrate sensitive-data checks into build artifacts, seed-data handling, and lifecycle disposal” rather than the alternate control.

D:

Observation “A deliberately unsafe redirect change fails before production deployment.” would be useful for “A testing team frequently skips security regression on minor user-interface updates, accidentally reintroducing unsafe redirect handling”, but it does not prove that the response to “A SaaS application has a compliance rule to erase user data, but archived deployment images still contain seeded production records” achieved the relevant outcome, scanning new images finds no production personal records and archived unsafe images are remediated.