CompTIA CySA+ (CS0-003) CS0-003 Practice Test 57
Question 560
A web application lets users upload scripts into a directory served as executable content. The necessary response and prerequisite corrective actions have been implemented; their effectiveness remains unproven. Management will accept closure only with a demonstrated result, not a claimed fix. Which follow-up check best verifies the security outcome?
- Verify uploaded script files are served with executable interpretation rather than inert download
- Store uploads outside executable roots with allowlists, scanning and forced download headers
- Inspect upload storage, MIME headers and web-server handler mappings
- Upload harmless test scripts and verify they cannot execute on the server
Explanation
Correct Answer
D:Upload harmless test scripts and verify they cannot execute on the server. This addresses the recorded condition: A web application lets users upload scripts into a directory served as executable content. It demonstrates that the corrective decision achieved its intended effect, identifies any remaining uncertainty and provides auditable closure evidence.
Incorrect Answers
A:The alternative to verify uploaded script files are served with executable interpretation rather than inert download could help with diagnosing the evidence in this case. An initial diagnostic comparison does not show that the approved response worked.
B:The alternative to store uploads outside executable roots with allowlists, scanning and forced download headers could help with implementing a lasting control in this case. A preventive design may be sound but does not prove that it was implemented and tested.
C:The alternative to inspect upload storage, MIME headers and web-server handler mappings could help with collecting trustworthy source data in this case. A collection technique gathers information but alone does not prove the intended post-change outcome.
Question 561
A cryptographic service uses a hard-coded encryption key shared across customer tenants. The relevant initial records have already been collected; the analyst is evaluating their meaning. The case has not yet been attributed to a cause. Which targeted comparison most directly resolves the key evidentiary uncertainty?
- Inspect secret-management records and safe per-tenant ciphertext tests
- Restrict key access and begin controlled rotation for potentially exposed tenant secrets
- Generate unique tenant-scoped keys in a managed KMS with rotation and audit
- Confirm tenants share a hard-coded symmetric key and which encrypted records it protects
Explanation
Correct Answer
D:Confirm tenants share a hard-coded symmetric key and which encrypted records it protects. This addresses the recorded condition: A cryptographic service uses a hard-coded encryption key shared across customer tenants. It interprets the evidence needed to decide whether the observation is malicious, benign, or a monitoring defect before another step changes the environment.
Incorrect Answers
A:The alternative to inspect secret-management records and safe per-tenant ciphertext tests could help with collecting trustworthy source data in this case. Collecting additional source records can be useful, but this scenario calls for interpreting the evidence and selecting the discriminating comparison.
B:The alternative to restrict key access and begin controlled rotation for potentially exposed tenant secrets could help with choosing the immediate disposition in this case. A risk disposition before resolving the diagnostic uncertainty can misattribute the event.
C:The alternative to generate unique tenant-scoped keys in a managed KMS with rotation and audit could help with implementing a lasting control in this case. A permanent redesign cannot establish what caused the current observation.
Question 562
A cryptographic service uses a hard-coded encryption key shared across customer tenants. The team has formed a hypothesis but has not yet collected the necessary primary evidence. Investigators have agreed on the hypothesis but still need suitable primary records. Which scoped collection method will best establish facts with minimal disruption?
- Inspect secret-management records and safe per-tenant ciphertext tests
- Restrict key access and begin controlled rotation for potentially exposed tenant secrets
- Generate unique tenant-scoped keys in a managed KMS with rotation and audit
- Verify one tenant cannot decrypt another's data and retired keys cannot be reused
Explanation
Correct Answer
A:Inspect secret-management records and safe per-tenant ciphertext tests. This addresses the recorded condition: A cryptographic service uses a hard-coded encryption key shared across customer tenants. It obtains the records, telemetry, or controlled test outcome at the relevant technical boundary rather than assuming the records are already complete.
Incorrect Answers
B:The alternative to restrict key access and begin controlled rotation for potentially exposed tenant secrets could help with choosing the immediate disposition in this case. A containment or prioritization decision does not provide the missing collection method.
C:The alternative to generate unique tenant-scoped keys in a managed KMS with rotation and audit could help with implementing a lasting control in this case. An architectural control is a later intervention, not a low-impact evidence collection method.
D:The alternative to verify one tenant cannot decrypt another's data and retired keys cannot be reused could help with proving the outcome in this case. A completion test assumes that collection and the necessary corrective work have already occurred.
Question 563
A cryptographic service uses a hard-coded encryption key shared across customer tenants. Triage findings are documented and the incident lead must now make an operational risk decision. Responders must choose the next operational action, distinguishing confirmed exposure from an unproven suspicion. Which immediate response is most appropriate?
- Generate unique tenant-scoped keys in a managed KMS with rotation and audit
- Verify one tenant cannot decrypt another's data and retired keys cannot be reused
- Confirm tenants share a hard-coded symmetric key and which encrypted records it protects
- Restrict key access and begin controlled rotation for potentially exposed tenant secrets
Explanation
Correct Answer
D:Restrict key access and begin controlled rotation for potentially exposed tenant secrets. This addresses the recorded condition: A cryptographic service uses a hard-coded encryption key shared across customer tenants. It selects a proportionate immediate action from the evidence while respecting safety, availability, authorization, and preservation needs.
Incorrect Answers
A:The alternative to generate unique tenant-scoped keys in a managed KMS with rotation and audit could help with implementing a lasting control in this case. A durable fix follows an immediate risk decision and may require separate change authority.
B:The alternative to verify one tenant cannot decrypt another's data and retired keys cannot be reused could help with proving the outcome in this case. Testing closure before the immediate response would be premature.
C:The alternative to confirm tenants share a hard-coded symmetric key and which encrypted records it protects could help with diagnosing the evidence in this case. Further diagnosis alone leaves the requested near-term risk disposition undecided.
Question 564
A cryptographic service uses a hard-coded encryption key shared across customer tenants. The immediate response decision has already been made and authorized. With the acute response complete, engineering can change policy or architecture. Which enduring control is most directly linked to this root cause?
- Inspect secret-management records and safe per-tenant ciphertext tests
- Verify one tenant cannot decrypt another's data and retired keys cannot be reused
- Generate unique tenant-scoped keys in a managed KMS with rotation and audit
- Confirm tenants share a hard-coded symmetric key and which encrypted records it protects
Explanation
Correct Answer
C:Generate unique tenant-scoped keys in a managed KMS with rotation and audit. This addresses the recorded condition: A cryptographic service uses a hard-coded encryption key shared across customer tenants. It changes the underlying access path, control, collection capability, or process so the same failure does not recur simply after the ticket closes.
Incorrect Answers
A:The alternative to inspect secret-management records and safe per-tenant ciphertext tests could help with collecting trustworthy source data in this case. A data-gathering method improves visibility but does not itself eliminate the recurring mechanism.
B:The alternative to verify one tenant cannot decrypt another's data and retired keys cannot be reused could help with proving the outcome in this case. A validation step is needed after a sustained control exists, not in place of designing it.
D:The alternative to confirm tenants share a hard-coded symmetric key and which encrypted records it protects could help with diagnosing the evidence in this case. Evidence analysis helps establish the cause but does not implement a prevention measure.
Question 565
A cryptographic service uses a hard-coded encryption key shared across customer tenants. The necessary response and prerequisite corrective actions have been implemented; their effectiveness remains unproven. The response or authorized change is complete. Which specific outcome test best supports closure instead of relying on a ticket-status update?
- Confirm tenants share a hard-coded symmetric key and which encrypted records it protects
- Inspect secret-management records and safe per-tenant ciphertext tests
- Restrict key access and begin controlled rotation for potentially exposed tenant secrets
- Verify one tenant cannot decrypt another's data and retired keys cannot be reused
Explanation
Correct Answer
D:Verify one tenant cannot decrypt another's data and retired keys cannot be reused. This addresses the recorded condition: A cryptographic service uses a hard-coded encryption key shared across customer tenants. It demonstrates that the corrective decision achieved its intended effect, identifies any remaining uncertainty and provides auditable closure evidence.
Incorrect Answers
A:The alternative to confirm tenants share a hard-coded symmetric key and which encrypted records it protects could help with diagnosing the evidence in this case. An initial diagnostic comparison does not show that the approved response worked.
B:The alternative to inspect secret-management records and safe per-tenant ciphertext tests could help with collecting trustworthy source data in this case. A collection technique gathers information but alone does not prove the intended post-change outcome.
C:The alternative to restrict key access and begin controlled rotation for potentially exposed tenant secrets could help with choosing the immediate disposition in this case. An immediate disposition is a decision, not measured proof of final effectiveness.
Question 566
A build pipeline accepts an unsigned artifact from an unverified package mirror. The relevant initial records have already been collected; the analyst is evaluating their meaning. Initial records are available but their meaning is disputed. What analysis most directly tests the suspected cause before any claim of compromise or noncompliance?
- Attempt unsigned artifact deployment and verify the pipeline rejects it
- Enforce signed artifacts, pinned digests and trusted reproducible build provenance
- Inspect pipeline attestation, package digest and registry origin records
- Determine whether build artifacts have verifiable signatures and trusted provenance
Explanation
Correct Answer
D:Determine whether build artifacts have verifiable signatures and trusted provenance. This addresses the recorded condition: A build pipeline accepts an unsigned artifact from an unverified package mirror. It interprets the evidence needed to decide whether the observation is malicious, benign, or a monitoring defect before another step changes the environment.
Incorrect Answers
A:The alternative to attempt unsigned artifact deployment and verify the pipeline rejects it could help with proving the outcome in this case. Closure testing is appropriate after a change; it does not resolve the original unknown cause.
B:The alternative to enforce signed artifacts, pinned digests and trusted reproducible build provenance could help with implementing a lasting control in this case. A permanent redesign cannot establish what caused the current observation.
C:The alternative to inspect pipeline attestation, package digest and registry origin records could help with collecting trustworthy source data in this case. Collecting additional source records can be useful, but this scenario calls for interpreting the evidence and selecting the discriminating comparison.
Question 567
A build pipeline accepts an unsigned artifact from an unverified package mirror. The team has formed a hypothesis but has not yet collected the necessary primary evidence. The analyst needs a defensible technical method to obtain the necessary source information, before deciding containment or changing permanent controls. Which method is best?
- Attempt unsigned artifact deployment and verify the pipeline rejects it
- Determine whether build artifacts have verifiable signatures and trusted provenance
- Quarantine unsigned releases and suspend promotion from the untrusted mirror
- Inspect pipeline attestation, package digest and registry origin records
Explanation
Correct Answer
D:Inspect pipeline attestation, package digest and registry origin records. This addresses the recorded condition: A build pipeline accepts an unsigned artifact from an unverified package mirror. It obtains the records, telemetry, or controlled test outcome at the relevant technical boundary rather than assuming the records are already complete.
Incorrect Answers
A:The alternative to attempt unsigned artifact deployment and verify the pipeline rejects it could help with proving the outcome in this case. A completion test assumes that collection and the necessary corrective work have already occurred.
B:The alternative to determine whether build artifacts have verifiable signatures and trusted provenance could help with diagnosing the evidence in this case. An investigative comparison describes what to assess but not how the required primary records should be acquired.
C:The alternative to quarantine unsigned releases and suspend promotion from the untrusted mirror could help with choosing the immediate disposition in this case. A containment or prioritization decision does not provide the missing collection method.
Question 568
A build pipeline accepts an unsigned artifact from an unverified package mirror. Triage findings are documented and the incident lead must now make an operational risk decision. Security and service owners need a near-term risk decision under current constraints. Which action should take precedence now, not after system redesign?
- Inspect pipeline attestation, package digest and registry origin records
- Enforce signed artifacts, pinned digests and trusted reproducible build provenance
- Determine whether build artifacts have verifiable signatures and trusted provenance
- Quarantine unsigned releases and suspend promotion from the untrusted mirror
Explanation
Correct Answer
D:Quarantine unsigned releases and suspend promotion from the untrusted mirror. This addresses the recorded condition: A build pipeline accepts an unsigned artifact from an unverified package mirror. It selects a proportionate immediate action from the evidence while respecting safety, availability, authorization, and preservation needs.
Incorrect Answers
A:The alternative to inspect pipeline attestation, package digest and registry origin records could help with collecting trustworthy source data in this case. Collecting another dataset can inform the decision but does not select the proportionate operational response.
B:The alternative to enforce signed artifacts, pinned digests and trusted reproducible build provenance could help with implementing a lasting control in this case. A durable fix follows an immediate risk decision and may require separate change authority.
C:The alternative to determine whether build artifacts have verifiable signatures and trusted provenance could help with diagnosing the evidence in this case. Further diagnosis alone leaves the requested near-term risk disposition undecided.
Question 569
A build pipeline accepts an unsigned artifact from an unverified package mirror. The immediate response decision has already been made and authorized. The immediate risk has been triaged and engineering must prevent recurrence. Which sustainable control corrects the underlying failure mode rather than merely collecting more evidence?
- Enforce signed artifacts, pinned digests and trusted reproducible build provenance
- Inspect pipeline attestation, package digest and registry origin records
- Quarantine unsigned releases and suspend promotion from the untrusted mirror
- Attempt unsigned artifact deployment and verify the pipeline rejects it
Explanation
Correct Answer
A:Enforce signed artifacts, pinned digests and trusted reproducible build provenance. This addresses the recorded condition: A build pipeline accepts an unsigned artifact from an unverified package mirror. It changes the underlying access path, control, collection capability, or process so the same failure does not recur simply after the ticket closes.
Incorrect Answers
B:The alternative to inspect pipeline attestation, package digest and registry origin records could help with collecting trustworthy source data in this case. A data-gathering method improves visibility but does not itself eliminate the recurring mechanism.
C:The alternative to quarantine unsigned releases and suspend promotion from the untrusted mirror could help with choosing the immediate disposition in this case. A temporary or immediate disposition may lower risk now without providing a durable corrective control.
D:The alternative to attempt unsigned artifact deployment and verify the pipeline rejects it could help with proving the outcome in this case. A validation step is needed after a sustained control exists, not in place of designing it.
Question 570
A build pipeline accepts an unsigned artifact from an unverified package mirror. The necessary response and prerequisite corrective actions have been implemented; their effectiveness remains unproven. A reviewer requests evidence of effectiveness and residual limitations after remediation. Which validation is most persuasive?
- Determine whether build artifacts have verifiable signatures and trusted provenance
- Quarantine unsigned releases and suspend promotion from the untrusted mirror
- Enforce signed artifacts, pinned digests and trusted reproducible build provenance
- Attempt unsigned artifact deployment and verify the pipeline rejects it
Explanation
Correct Answer
D:Attempt unsigned artifact deployment and verify the pipeline rejects it. This addresses the recorded condition: A build pipeline accepts an unsigned artifact from an unverified package mirror. It demonstrates that the corrective decision achieved its intended effect, identifies any remaining uncertainty and provides auditable closure evidence.
Incorrect Answers
A:The alternative to determine whether build artifacts have verifiable signatures and trusted provenance could help with diagnosing the evidence in this case. An initial diagnostic comparison does not show that the approved response worked.
B:The alternative to quarantine unsigned releases and suspend promotion from the untrusted mirror could help with choosing the immediate disposition in this case. An immediate disposition is a decision, not measured proof of final effectiveness.
C:The alternative to enforce signed artifacts, pinned digests and trusted reproducible build provenance could help with implementing a lasting control in this case. A preventive design may be sound but does not prove that it was implemented and tested.