Interview practice question
Encryption key may be compromised
Backend Engineering · Auth and Security · Experienced
You suspect the data encryption key used for customer records has been exposed. How do you re-encrypt data without downtime?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Envelope encryption makes rotation cheaper.
- New key version; encrypt new writes with it.
- Background re-encryption job in batches.
- Store key version with each record.
- Revoke old key after migration; audit access.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.