CompTIA CySA+ (CS0-003) CS0-003 Practice Test 56
Question 550
A production deployment exposes verbose error pages containing internal stack traces. 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?
- Remove public exposure of sensitive diagnostics without suppressing incident evidence
- Determine whether public error pages disclose stack paths, credentials or implementation details
- Prove public clients receive sanitized errors while authorized operators retain trace context
- Capture controlled failure responses through the public gateway and compare internal logs
Explanation
Correct Answer
C:Prove public clients receive sanitized errors while authorized operators retain trace context. This addresses the recorded condition: A production deployment exposes verbose error pages containing internal stack traces. 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 remove public exposure of sensitive diagnostics without suppressing incident evidence could help with choosing the immediate disposition in this case. An immediate disposition is a decision, not measured proof of final effectiveness.
B:The alternative to determine whether public error pages disclose stack paths, credentials or implementation details could help with diagnosing the evidence in this case. An initial diagnostic comparison does not show that the approved response worked.
D:The alternative to capture controlled failure responses through the public gateway and compare internal logs 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 551
A client library is end-of-life and no patch exists for a newly exploited remote flaw. 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?
- Review dependency graph, runtime usage and exploit advisories
- Confirm the obsolete library is absent from released artifacts and exposed paths
- Migrate to supported libraries and inventory transitive dependencies
- Assess exploitability of the unsupported client library and whether it is loaded in production
Explanation
Correct Answer
D:Assess exploitability of the unsupported client library and whether it is loaded in production. This addresses the recorded condition: A client library is end-of-life and no patch exists for a newly exploited remote flaw. 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 review dependency graph, runtime usage and exploit advisories 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 confirm the obsolete library is absent from released artifacts and exposed paths could help with proving the outcome in this case. Closure testing is appropriate after a change; it does not resolve the original unknown cause.
C:The alternative to migrate to supported libraries and inventory transitive dependencies could help with implementing a lasting control in this case. A permanent redesign cannot establish what caused the current observation.
Question 552
A client library is end-of-life and no patch exists for a newly exploited remote flaw. 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?
- Review dependency graph, runtime usage and exploit advisories
- Confirm the obsolete library is absent from released artifacts and exposed paths
- Contain exploitable reachability using access restrictions while replacement is designed
- Assess exploitability of the unsupported client library and whether it is loaded in production
Explanation
Correct Answer
A:Review dependency graph, runtime usage and exploit advisories. This addresses the recorded condition: A client library is end-of-life and no patch exists for a newly exploited remote flaw. 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 confirm the obsolete library is absent from released artifacts and exposed paths could help with proving the outcome in this case. A completion test assumes that collection and the necessary corrective work have already occurred.
C:The alternative to contain exploitable reachability using access restrictions while replacement is designed could help with choosing the immediate disposition in this case. A containment or prioritization decision does not provide the missing collection method.
D:The alternative to assess exploitability of the unsupported client library and whether it is loaded in production 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.
Question 553
A client library is end-of-life and no patch exists for a newly exploited remote flaw. 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?
- Contain exploitable reachability using access restrictions while replacement is designed
- Review dependency graph, runtime usage and exploit advisories
- Assess exploitability of the unsupported client library and whether it is loaded in production
- Migrate to supported libraries and inventory transitive dependencies
Explanation
Correct Answer
A:Contain exploitable reachability using access restrictions while replacement is designed. This addresses the recorded condition: A client library is end-of-life and no patch exists for a newly exploited remote flaw. It selects a proportionate immediate action from the evidence while respecting safety, availability, authorization, and preservation needs.
Incorrect Answers
B:The alternative to review dependency graph, runtime usage and exploit advisories 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.
C:The alternative to assess exploitability of the unsupported client library and whether it is loaded in production could help with diagnosing the evidence in this case. Further diagnosis alone leaves the requested near-term risk disposition undecided.
D:The alternative to migrate to supported libraries and inventory transitive dependencies could help with implementing a lasting control in this case. A durable fix follows an immediate risk decision and may require separate change authority.
Question 554
A client library is end-of-life and no patch exists for a newly exploited remote flaw. 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?
- Review dependency graph, runtime usage and exploit advisories
- Confirm the obsolete library is absent from released artifacts and exposed paths
- Migrate to supported libraries and inventory transitive dependencies
- Contain exploitable reachability using access restrictions while replacement is designed
Explanation
Correct Answer
C:Migrate to supported libraries and inventory transitive dependencies. This addresses the recorded condition: A client library is end-of-life and no patch exists for a newly exploited remote flaw. 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 review dependency graph, runtime usage and exploit advisories 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 confirm the obsolete library is absent from released artifacts and exposed paths 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 contain exploitable reachability using access restrictions while replacement is designed 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.
Question 555
A client library is end-of-life and no patch exists for a newly exploited remote flaw. 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?
- Assess exploitability of the unsupported client library and whether it is loaded in production
- Migrate to supported libraries and inventory transitive dependencies
- Confirm the obsolete library is absent from released artifacts and exposed paths
- Contain exploitable reachability using access restrictions while replacement is designed
Explanation
Correct Answer
C:Confirm the obsolete library is absent from released artifacts and exposed paths. This addresses the recorded condition: A client library is end-of-life and no patch exists for a newly exploited remote flaw. 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 assess exploitability of the unsupported client library and whether it is loaded in production 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 migrate to supported libraries and inventory transitive dependencies 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.
D:The alternative to contain exploitable reachability using access restrictions while replacement is designed could help with choosing the immediate disposition in this case. An immediate disposition is a decision, not measured proof of final effectiveness.
Question 556
A web application lets users upload scripts into a directory served as executable content. The relevant initial records have already been collected; the analyst is evaluating their meaning. At triage, analysts have conflicting explanations and must decide what evidence distinguishes them, rather than take corrective action yet. What is the best analysis?
- Disable dangerous upload execution paths and preserve suspicious artifacts
- Upload harmless test scripts and verify they cannot execute on the server
- Inspect upload storage, MIME headers and web-server handler mappings
- Verify uploaded script files are served with executable interpretation rather than inert download
Explanation
Correct Answer
D:Verify uploaded script files are served with executable interpretation rather than inert download. This addresses the recorded condition: A web application lets users upload scripts into a directory served as executable content. 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 disable dangerous upload execution paths and preserve suspicious artifacts could help with choosing the immediate disposition in this case. A risk disposition before resolving the diagnostic uncertainty can misattribute the event.
B:The alternative to upload harmless test scripts and verify they cannot execute on the server could help with proving the outcome in this case. Closure testing is appropriate after a change; it does not resolve the original unknown cause.
C:The alternative to inspect upload storage, MIME headers and web-server handler mappings 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 557
A web application lets users upload scripts into a directory served as executable content. The team has formed a hypothesis but has not yet collected the necessary primary evidence. The lead has authorized limited data collection, not a production redesign. What technique most directly gathers the records required for this case?
- Disable dangerous upload execution paths and preserve suspicious artifacts
- Store uploads outside executable roots with allowlists, scanning and forced download headers
- Verify uploaded script files are served with executable interpretation rather than inert download
- Inspect upload storage, MIME headers and web-server handler mappings
Explanation
Correct Answer
D:Inspect upload storage, MIME headers and web-server handler mappings. This addresses the recorded condition: A web application lets users upload scripts into a directory served as executable content. 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 disable dangerous upload execution paths and preserve suspicious artifacts could help with choosing the immediate disposition in this case. A containment or prioritization decision does not provide the missing collection method.
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. An architectural control is a later intervention, not a low-impact evidence collection method.
C: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 investigative comparison describes what to assess but not how the required primary records should be acquired.
Question 558
A web application lets users upload scripts into a directory served as executable content. Triage findings are documented and the incident lead must now make an operational risk decision. The investigation has reached the immediate response decision. Which disposition is most proportionate to the evidence and business impact, before designing a long-term fix?
- Inspect upload storage, MIME headers and web-server handler mappings
- Disable dangerous upload execution paths and preserve suspicious artifacts
- Upload harmless test scripts and verify they cannot execute on the server
- Store uploads outside executable roots with allowlists, scanning and forced download headers
Explanation
Correct Answer
B:Disable dangerous upload execution paths and preserve suspicious artifacts. This addresses the recorded condition: A web application lets users upload scripts into a directory served as executable content. It selects a proportionate immediate action from the evidence while respecting safety, availability, authorization, and preservation needs.
Incorrect Answers
A:The alternative to inspect upload storage, MIME headers and web-server handler mappings 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.
C:The alternative to upload harmless test scripts and verify they cannot execute on the server could help with proving the outcome in this case. Testing closure before the immediate response would be premature.
D: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 durable fix follows an immediate risk decision and may require separate change authority.
Question 559
A web application lets users upload scripts into a directory served as executable content. The immediate response decision has already been made and authorized. The incident or finding is stabilized. The team is selecting a durable preventive design that respects legitimate business operation. Which change best fits?
- 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
- Upload harmless test scripts and verify they cannot execute on the server
- Disable dangerous upload execution paths and preserve suspicious artifacts
Explanation
Correct Answer
B:Store uploads outside executable roots with allowlists, scanning and forced download headers. This addresses the recorded condition: A web application lets users upload scripts into a directory served as executable content. 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 verify uploaded script files are served with executable interpretation rather than inert download could help with diagnosing the evidence in this case. Evidence analysis helps establish the cause but does not implement a prevention measure.
C:The alternative to upload harmless test scripts and verify they cannot execute on the server 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 disable dangerous upload execution paths and preserve suspicious artifacts 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.
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.