A customer pastes sensitive data into chat by mistake. How should the system respond?

Instruction: Describe how you would handle accidental sensitive-data exposure in a chat workflow.

Context: Tests how the candidate diagnoses the problem, chooses the safest next step, and reasons through recovery. Describe how you would handle accidental sensitive-data exposure in a chat workflow.

Official answer available

Preview the opening of the answer, then unlock the full walkthrough.

The way I'd think about it is this: The system should minimize further exposure immediately: avoid echoing the sensitive data back unnecessarily, stop it from flowing into unsafe downstream tools, and apply redaction or containment in logs and traces where possible.

It should also tell the user...

Related Questions