All jobs / Database administrator / High Availability
Database administrator interview question · 0–1 years
What is a read replica for, and what is it not?
The strongest answer
It offloads read traffic and gives you a warm copy for failover; it is not a backup, because a bad DELETE replicates in seconds
Why it works
Exactly — replicas are for reads and availability, never a substitute for backups.
What a good answer covers
- Replicas serve reads and failover.
- A replica is not a backup.
- Mistakes replicate too.
- Writes still go to one place.
Answers that fall short
- Close, but not the strongest: It is mainly a backup that stays up to date
A replica faithfully copies mistakes; a backup is a point in time you can go back to. - Weak: It is for running writes in a second region
A read replica does not accept writes. - Red flag: It doubles the write throughput of the primary
Replication adds no write capacity — every write still happens on the primary.
Who gets asked this
More High Availability questions
- Synchronous versus asynchronous replication — how do you choose?
- Finance says the end-of-day report, which reads from a replica, is missing the last few minutes of orders…
- With replication and clustering available, when is log shipping still the right answer?
- There is a standby but nobody has ever failed over to it. What do you propose?
- A product needs high availability for its main relational database. How do you pick the topology?
- What can go wrong with automatic failover, and how do you guard against it?
- Analysts run heavy ad-hoc queries against the production primary and slow the application. What do you set up?
- The data platform wants a change feed from the database. Physical or logical replication, and why?