Skip to content
Preptima

DBA & Operations interview questions

Backup and recovery, replication and failover, upgrades, capacity planning, and incident response.

4 questions in Databases & SQL.

hard4

hardScenarioDesign

You are moving a sharded datastore to Cassandra with no maintenance window. How do you cut over, and how do you know both copies agree before you do?

Replicate from the source's change log rather than dual-writing from application code, backfill with each row's original write timestamp so history can never overwrite live data, then run continuous range checksums and shadow reads until divergence is understood rather than merely small. The read flip and the write flip are separate steps, each reversible.

6 minsenior, staff, lead