Interview practice question
Keeping an audit history of changes
Backend Engineering · Relational Databases · Intermediate
Compliance requires a full history of every change to customer records: who changed what and when. How would you implement it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Audit table with old/new values, actor, timestamp.
- Write in same transaction.
- Triggers or application layer.
- CDC as alternative.
- Append-only, restricted access.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.