Interview practice question
Leaked credentials incident
System Design · Reliability · Experienced
An API key with admin access to production was accidentally committed to a public repository. What do you do immediately and long term?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Revoke/rotate key immediately.
- Check audit logs for misuse.
- Remove from history, assume compromised.
- Secret scanning in CI.
- Short-lived credentials, least privilege.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.