All jobs / Backend developer / Security

Backend developer interview question · 3–5 years

The interviewer asks: “What must never land in logs or traces?” Strongest answer?

The strongest answer

Secrets, session tokens, passwords, full card numbers, and anything our retention policy treats as sensitive PII unless it's hashed or tokenised. I redact at the logger, not by hoping people remember.

Why it works

Exactly. Logs are a datastore with weak access control and long copies. Redaction libraries and allow-listed fields beat folklore.

What a good answer covers

Answers that fall short

Who gets asked this

More Security questions