CompTIA CySA+ (CS0-003) CS0-003 Practice Test 14
Question 130
A SaaS app issues OAuth tokens to an unreviewed publisher requesting mailbox read permission. 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 revoked tokens fail and only approved applications retain mailbox permissions
- Link publisher consent, OAuth scopes and token activity to mailbox reads and approved integrations
- Revoke unreviewed high-risk consent and sessions, then investigate mailbox access
- Audit enterprise-app grants, sign-ins and mailbox access logs with publisher identity
Explanation
Correct Answer
A:Confirm revoked tokens fail and only approved applications retain mailbox permissions. This addresses the recorded condition: A SaaS app issues OAuth tokens to an unreviewed publisher requesting mailbox read permission. 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 link publisher consent, OAuth scopes and token activity to mailbox reads and approved integrations could help with diagnosing the evidence in this case. An initial diagnostic comparison does not show that the approved response worked.
C:The alternative to revoke unreviewed high-risk consent and sessions, then investigate mailbox access could help with choosing the immediate disposition in this case. An immediate disposition is a decision, not measured proof of final effectiveness.
D:The alternative to audit enterprise-app grants, sign-ins and mailbox access logs with publisher identity 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 131
A production database process creates archive files and opens an outbound TLS connection. 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?
- Prove sensitive archives no longer leave and required backup exports still complete
- Tie archive creation to query/audit history and the specific remote TLS destination
- Limit database export permissions and egress destinations with alerting on bulk extraction
- Inspect DB audit trails, file-creation events and process-network correlation
Explanation
Correct Answer
B:Tie archive creation to query/audit history and the specific remote TLS destination. This addresses the recorded condition: A production database process creates archive files and opens an outbound TLS connection. 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 prove sensitive archives no longer leave and required backup exports still complete 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 limit database export permissions and egress destinations with alerting on bulk extraction could help with implementing a lasting control in this case. A permanent redesign cannot establish what caused the current observation.
D:The alternative to inspect DB audit trails, file-creation events and process-network correlation 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 132
A production database process creates archive files and opens an outbound TLS connection. 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?
- Tie archive creation to query/audit history and the specific remote TLS destination
- Block unauthorized outbound transfer and preserve suspect archives before destructive cleanup
- Prove sensitive archives no longer leave and required backup exports still complete
- Inspect DB audit trails, file-creation events and process-network correlation
Explanation
Correct Answer
D:Inspect DB audit trails, file-creation events and process-network correlation. This addresses the recorded condition: A production database process creates archive files and opens an outbound TLS connection. 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 tie archive creation to query/audit history and the specific remote TLS destination 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.
B:The alternative to block unauthorized outbound transfer and preserve suspect archives before destructive cleanup 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 sensitive archives no longer leave and required backup exports still complete could help with proving the outcome in this case. A completion test assumes that collection and the necessary corrective work have already occurred.
Question 133
A production database process creates archive files and opens an outbound TLS connection. 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?
- Tie archive creation to query/audit history and the specific remote TLS destination
- Limit database export permissions and egress destinations with alerting on bulk extraction
- Inspect DB audit trails, file-creation events and process-network correlation
- Block unauthorized outbound transfer and preserve suspect archives before destructive cleanup
Explanation
Correct Answer
D:Block unauthorized outbound transfer and preserve suspect archives before destructive cleanup. This addresses the recorded condition: A production database process creates archive files and opens an outbound TLS connection. It selects a proportionate immediate action from the evidence while respecting safety, availability, authorization, and preservation needs.
Incorrect Answers
A:The alternative to tie archive creation to query/audit history and the specific remote TLS destination could help with diagnosing the evidence in this case. Further diagnosis alone leaves the requested near-term risk disposition undecided.
B:The alternative to limit database export permissions and egress destinations with alerting on bulk extraction 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 inspect DB audit trails, file-creation events and process-network correlation 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.
Question 134
A production database process creates archive files and opens an outbound TLS connection. 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?
- Limit database export permissions and egress destinations with alerting on bulk extraction
- Inspect DB audit trails, file-creation events and process-network correlation
- Block unauthorized outbound transfer and preserve suspect archives before destructive cleanup
- Prove sensitive archives no longer leave and required backup exports still complete
Explanation
Correct Answer
A:Limit database export permissions and egress destinations with alerting on bulk extraction. This addresses the recorded condition: A production database process creates archive files and opens an outbound TLS connection. 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 DB audit trails, file-creation events and process-network correlation 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 block unauthorized outbound transfer and preserve suspect archives before destructive cleanup 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 prove sensitive archives no longer leave and required backup exports still complete 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 135
A production database process creates archive files and opens an outbound TLS connection. 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?
- Tie archive creation to query/audit history and the specific remote TLS destination
- Block unauthorized outbound transfer and preserve suspect archives before destructive cleanup
- Limit database export permissions and egress destinations with alerting on bulk extraction
- Prove sensitive archives no longer leave and required backup exports still complete
Explanation
Correct Answer
D:Prove sensitive archives no longer leave and required backup exports still complete. This addresses the recorded condition: A production database process creates archive files and opens an outbound TLS connection. 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 tie archive creation to query/audit history and the specific remote TLS destination 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 block unauthorized outbound transfer and preserve suspect archives before destructive cleanup 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 limit database export permissions and egress destinations with alerting on bulk extraction 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 136
An internal API returns different response codes after a suspiciously crafted request pattern. 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?
- Throttle or block demonstrably abusive request patterns without suppressing normal traffic
- Contrast crafted API requests with approved test traffic and authentication outcome patterns
- Replay safe malformed-request tests and verify expected rejections and normal API behavior
- Examine API gateway WAF logs, response codes and request identifiers
Explanation
Correct Answer
B:Contrast crafted API requests with approved test traffic and authentication outcome patterns. This addresses the recorded condition: An internal API returns different response codes after a suspiciously crafted request pattern. 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 throttle or block demonstrably abusive request patterns without suppressing normal traffic 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 replay safe malformed-request tests and verify expected rejections and normal API behavior could help with proving the outcome in this case. Closure testing is appropriate after a change; it does not resolve the original unknown cause.
D:The alternative to examine API gateway WAF logs, response codes and request identifiers 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 137
An internal API returns different response codes after a suspiciously crafted request pattern. 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?
- Contrast crafted API requests with approved test traffic and authentication outcome patterns
- Add validated input handling, rate controls and observable API abuse rules
- Throttle or block demonstrably abusive request patterns without suppressing normal traffic
- Examine API gateway WAF logs, response codes and request identifiers
Explanation
Correct Answer
D:Examine API gateway WAF logs, response codes and request identifiers. This addresses the recorded condition: An internal API returns different response codes after a suspiciously crafted request pattern. 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 contrast crafted API requests with approved test traffic and authentication outcome patterns 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.
B:The alternative to add validated input handling, rate controls and observable API abuse rules 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 throttle or block demonstrably abusive request patterns without suppressing normal traffic could help with choosing the immediate disposition in this case. A containment or prioritization decision does not provide the missing collection method.
Question 138
An internal API returns different response codes after a suspiciously crafted request pattern. 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?
- Add validated input handling, rate controls and observable API abuse rules
- Replay safe malformed-request tests and verify expected rejections and normal API behavior
- Examine API gateway WAF logs, response codes and request identifiers
- Throttle or block demonstrably abusive request patterns without suppressing normal traffic
Explanation
Correct Answer
D:Throttle or block demonstrably abusive request patterns without suppressing normal traffic. This addresses the recorded condition: An internal API returns different response codes after a suspiciously crafted request pattern. It selects a proportionate immediate action from the evidence while respecting safety, availability, authorization, and preservation needs.
Incorrect Answers
A:The alternative to add validated input handling, rate controls and observable API abuse rules 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 replay safe malformed-request tests and verify expected rejections and normal API behavior could help with proving the outcome in this case. Testing closure before the immediate response would be premature.
C:The alternative to examine API gateway WAF logs, response codes and request identifiers 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.
Question 139
An internal API returns different response codes after a suspiciously crafted request pattern. 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?
- Contrast crafted API requests with approved test traffic and authentication outcome patterns
- Replay safe malformed-request tests and verify expected rejections and normal API behavior
- Add validated input handling, rate controls and observable API abuse rules
- Throttle or block demonstrably abusive request patterns without suppressing normal traffic
Explanation
Correct Answer
C:Add validated input handling, rate controls and observable API abuse rules. This addresses the recorded condition: An internal API returns different response codes after a suspiciously crafted request pattern. 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 contrast crafted API requests with approved test traffic and authentication outcome patterns could help with diagnosing the evidence in this case. Evidence analysis helps establish the cause but does not implement a prevention measure.
B:The alternative to replay safe malformed-request tests and verify expected rejections and normal API behavior 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 throttle or block demonstrably abusive request patterns without suppressing normal traffic 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 140
An internal API returns different response codes after a suspiciously crafted request pattern. 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?
- Replay safe malformed-request tests and verify expected rejections and normal API behavior
- Examine API gateway WAF logs, response codes and request identifiers
- Add validated input handling, rate controls and observable API abuse rules
- Contrast crafted API requests with approved test traffic and authentication outcome patterns
Explanation
Correct Answer
A:Replay safe malformed-request tests and verify expected rejections and normal API behavior. This addresses the recorded condition: An internal API returns different response codes after a suspiciously crafted request pattern. 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 examine API gateway WAF logs, response codes and request identifiers 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 add validated input handling, rate controls and observable API abuse rules 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 contrast crafted API requests with approved test traffic and authentication outcome patterns could help with diagnosing the evidence in this case. An initial diagnostic comparison does not show that the approved response worked.