Interview practice question
A deploy needs a database change
System Design · Reliability · Intermediate
Your new release adds a required column and changes queries. How do you deploy it safely with zero downtime?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Expand-contract migration.
- Add nullable column first.
- Deploy code that writes it.
- Backfill, then add constraint.
- Rollback-safe at each step.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.