All Questions
Guardrails And Safety hard

A healthcare intake chatbot writes every raw request and response to a centralized log store. Logs are kept for one year and about 200 engineers can read them. Next, the request goes to the model. A nightly batch job then redacts PII from the logs. An audit flags this pipeline. What is the best remediation?

  1. A Run the redaction job hourly instead of nightly so raw PII sits in the log store for at most sixty minutes before removal.
  2. B Restrict the log store with role-based access so that only the on-call team can read raw conversation records.
  3. C Redact PII inline before the log write and the model call, keeping a vaulted token map for authorized re-identification.
  4. D Encrypt log entries at rest with a managed key and keep the nightly redaction job as a second compliance layer.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions