All jobs / Database administrator / Migrations
Database administrator interview question · 5+ years
You are moving a critical on-premises database to a cloud-managed service with minimal downtime. Plan?
The strongest answer
Assess compatibility and unsupported features, seed the target from a backup, keep it in sync with replication, rehearse the cut-over with timings and a rollback, then switch in a short window at zero lag
Why it works
Exactly — seed, sync, rehearse, switch, with a way back.
What a good answer covers
- Assess compatibility.
- Seed, then replicate.
- Rehearse the cut-over.
- Keep a rollback to on-prem.
Answers that fall short
- Close, but not the strongest: Take a backup, restore it in the cloud, and repoint the application
Backup and restore alone means downtime for the whole transfer and no rehearsal. - Weak: Run both in parallel and let the application write to both
Dual writes from the application create divergence the moment one write fails. - Red flag: Move the virtual machine as it is and call it done
Lifting a VM is not a migration to a managed service and brings every old problem with it.
Who gets asked this
More Migrations questions
- Teams wait weeks for the DBA team to review schema changes. How do you fix the bottleneck without losing…
- Developers describe the DBA team as “the department of no”. What do you change?
- You have to load tens of millions of rows into a table tonight. How?
- A minor security patch for the database engine is out. How do you roll it out?
- A developer sends a schema script to run on production at 17:00 on Friday. Your response?
- How do you prove the data actually arrived intact?
- A migration adds a NOT NULL column with a default to a table with hundreds of millions of rows. Concern?
- You need a new index on a busy table. How do you build it?