CompTIA CySA+ (CS0-003) CS0-003 Practice Test 55
Question 540
A payment workflow honors forged cross-site requests despite cookie-based authentication. 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?
- Show cross-origin payment attempts fail while legitimate checkout succeeds
- Disable vulnerable transaction paths if unauthorized transfers are possible
- Add anti-CSRF tokens, origin validation and appropriate SameSite cookie settings
- Determine whether a cross-site request succeeds with victim cookies but without a CSRF token
Explanation
Correct Answer
A:Show cross-origin payment attempts fail while legitimate checkout succeeds. This addresses the recorded condition: A payment workflow honors forged cross-site requests despite cookie-based authentication. It demonstrates that the corrective decision achieved its intended effect, identifies any remaining uncertainty and provides auditable closure evidence.
Incorrect Answers
B:The alternative to disable vulnerable transaction paths if unauthorized transfers are possible 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 add anti-CSRF tokens, origin validation and appropriate SameSite cookie settings 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 determine whether a cross-site request succeeds with victim cookies but without a CSRF token could help with diagnosing the evidence in this case. An initial diagnostic comparison does not show that the approved response worked.
Question 541
A business API returns records for another customer when the account ID changes in a URL. 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?
- Block exposed endpoint paths and investigate affected records on confirmed unauthorized access
- Demonstrate object-ID manipulation cannot return or modify other tenants' data
- Run approved cross-tenant object-ID tests against the business API
- Verify broken object-level authorization by requesting another customer's record as a low-privilege user
Explanation
Correct Answer
D:Verify broken object-level authorization by requesting another customer's record as a low-privilege user. This addresses the recorded condition: A business API returns records for another customer when the account ID changes in a URL. 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 block exposed endpoint paths and investigate affected records on confirmed unauthorized access 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 demonstrate object-ID manipulation cannot return or modify other tenants' data 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 run approved cross-tenant object-ID tests against the business API 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 542
A business API returns records for another customer when the account ID changes in a URL. 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?
- Block exposed endpoint paths and investigate affected records on confirmed unauthorized access
- Verify broken object-level authorization by requesting another customer's record as a low-privilege user
- Run approved cross-tenant object-ID tests against the business API
- Check requester authorization for every object server-side, independent of client IDs
Explanation
Correct Answer
C:Run approved cross-tenant object-ID tests against the business API. This addresses the recorded condition: A business API returns records for another customer when the account ID changes in a URL. 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 block exposed endpoint paths and investigate affected records on confirmed unauthorized access 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 verify broken object-level authorization by requesting another customer's record as a low-privilege user 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.
D:The alternative to check requester authorization for every object server-side, independent of client IDs could help with implementing a lasting control in this case. An architectural control is a later intervention, not a low-impact evidence collection method.
Question 543
A business API returns records for another customer when the account ID changes in a URL. 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?
- Demonstrate object-ID manipulation cannot return or modify other tenants' data
- Block exposed endpoint paths and investigate affected records on confirmed unauthorized access
- Run approved cross-tenant object-ID tests against the business API
- Check requester authorization for every object server-side, independent of client IDs
Explanation
Correct Answer
B:Block exposed endpoint paths and investigate affected records on confirmed unauthorized access. This addresses the recorded condition: A business API returns records for another customer when the account ID changes in a URL. It selects a proportionate immediate action from the evidence while respecting safety, availability, authorization, and preservation needs.
Incorrect Answers
A:The alternative to demonstrate object-ID manipulation cannot return or modify other tenants' data could help with proving the outcome in this case. Testing closure before the immediate response would be premature.
C:The alternative to run approved cross-tenant object-ID tests against the business API 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.
D:The alternative to check requester authorization for every object server-side, independent of client IDs 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 544
A business API returns records for another customer when the account ID changes in a URL. 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?
- Demonstrate object-ID manipulation cannot return or modify other tenants' data
- Block exposed endpoint paths and investigate affected records on confirmed unauthorized access
- Check requester authorization for every object server-side, independent of client IDs
- Verify broken object-level authorization by requesting another customer's record as a low-privilege user
Explanation
Correct Answer
C:Check requester authorization for every object server-side, independent of client IDs. This addresses the recorded condition: A business API returns records for another customer when the account ID changes in a URL. 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 demonstrate object-ID manipulation cannot return or modify other tenants' data 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.
B:The alternative to block exposed endpoint paths and investigate affected records on confirmed unauthorized access 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 verify broken object-level authorization by requesting another customer's record as a low-privilege user could help with diagnosing the evidence in this case. Evidence analysis helps establish the cause but does not implement a prevention measure.
Question 545
A business API returns records for another customer when the account ID changes in a URL. 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 broken object-level authorization by requesting another customer's record as a low-privilege user
- Run approved cross-tenant object-ID tests against the business API
- Demonstrate object-ID manipulation cannot return or modify other tenants' data
- Check requester authorization for every object server-side, independent of client IDs
Explanation
Correct Answer
C:Demonstrate object-ID manipulation cannot return or modify other tenants' data. This addresses the recorded condition: A business API returns records for another customer when the account ID changes in a URL. 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 broken object-level authorization by requesting another customer's record as a low-privilege user 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 run approved cross-tenant object-ID tests against the business API 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.
D:The alternative to check requester authorization for every object server-side, independent of client IDs 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.
Question 546
A production deployment exposes verbose error pages containing internal stack traces. 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?
- Capture controlled failure responses through the public gateway and compare internal logs
- Use generic external errors and restricted structured server-side diagnostics
- Remove public exposure of sensitive diagnostics without suppressing incident evidence
- Determine whether public error pages disclose stack paths, credentials or implementation details
Explanation
Correct Answer
D:Determine whether public error pages disclose stack paths, credentials or implementation details. This addresses the recorded condition: A production deployment exposes verbose error pages containing internal stack traces. 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 capture controlled failure responses through the public gateway and compare internal logs 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 use generic external errors and restricted structured server-side diagnostics could help with implementing a lasting control in this case. A permanent redesign cannot establish what caused the current observation.
C:The alternative to remove public exposure of sensitive diagnostics without suppressing incident evidence could help with choosing the immediate disposition in this case. A risk disposition before resolving the diagnostic uncertainty can misattribute the event.
Question 547
A production deployment exposes verbose error pages containing internal stack traces. 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?
- Remove public exposure of sensitive diagnostics without suppressing incident evidence
- Capture controlled failure responses through the public gateway and compare internal logs
- Prove public clients receive sanitized errors while authorized operators retain trace context
- Use generic external errors and restricted structured server-side diagnostics
Explanation
Correct Answer
B:Capture controlled failure responses through the public gateway and compare internal logs. This addresses the recorded condition: A production deployment exposes verbose error pages containing internal stack traces. 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 remove public exposure of sensitive diagnostics without suppressing incident evidence 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 prove public clients receive sanitized errors while authorized operators retain trace context could help with proving the outcome in this case. A completion test assumes that collection and the necessary corrective work have already occurred.
D:The alternative to use generic external errors and restricted structured server-side diagnostics could help with implementing a lasting control in this case. An architectural control is a later intervention, not a low-impact evidence collection method.
Question 548
A production deployment exposes verbose error pages containing internal stack traces. 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?
- Determine whether public error pages disclose stack paths, credentials or implementation details
- Prove public clients receive sanitized errors while authorized operators retain trace context
- Remove public exposure of sensitive diagnostics without suppressing incident evidence
- Use generic external errors and restricted structured server-side diagnostics
Explanation
Correct Answer
C:Remove public exposure of sensitive diagnostics without suppressing incident evidence. This addresses the recorded condition: A production deployment exposes verbose error pages containing internal stack traces. It selects a proportionate immediate action from the evidence while respecting safety, availability, authorization, and preservation needs.
Incorrect Answers
A:The alternative to determine whether public error pages disclose stack paths, credentials or implementation details could help with diagnosing the evidence in this case. Further diagnosis alone leaves the requested near-term risk disposition undecided.
B:The alternative to prove public clients receive sanitized errors while authorized operators retain trace context could help with proving the outcome in this case. Testing closure before the immediate response would be premature.
D:The alternative to use generic external errors and restricted structured server-side diagnostics 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 549
A production deployment exposes verbose error pages containing internal stack traces. 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?
- Use generic external errors and restricted structured server-side diagnostics
- Capture controlled failure responses through the public gateway and compare internal logs
- Prove public clients receive sanitized errors while authorized operators retain trace context
- Determine whether public error pages disclose stack paths, credentials or implementation details
Explanation
Correct Answer
A:Use generic external errors and restricted structured server-side diagnostics. This addresses the recorded condition: A production deployment exposes verbose error pages containing internal stack traces. 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 capture controlled failure responses through the public gateway and compare internal logs 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 prove public clients receive sanitized errors while authorized operators retain trace context 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 determine whether public error pages disclose stack paths, credentials or implementation details could help with diagnosing the evidence in this case. Evidence analysis helps establish the cause but does not implement a prevention measure.
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.