All jobs / DevOps / SRE / cloud
DevOps / SRE / cloud interview question · 3–5 years
Active-passive versus active-active across regions — what does active-active cost you beyond money?
The strongest answer
Data consistency: two regions taking writes means conflict resolution, replication lag and a data model that tolerates both, so active-active is a design constraint on the application, not only a bigger bill
Why it works
Right. The hard part is the data; the compute is the easy part.
What a good answer covers
- Active-active means writes in two places.
- Conflict resolution and lag are yours.
- Design the data model for it.
- Active-passive keeps one truth.
Answers that fall short
- Close, but not the strongest: Nothing; it is only more expensive
The price is the visible cost; the consistency model is the real one. - Weak: It is slower for every user
Users are usually closer to a region, so it is often faster. - Red flag: It requires a different programming language
Language is irrelevant.
Who gets asked this
- Backend developer
- Full-stack developer
- DevOps / SRE / cloud
- Data engineer
- Cybersecurity
- Solutions / cloud architect
More DevOps / SRE / cloud questions
- A hot cache key expires and 5,000 requests miss at once. Design against it.
- How do you limit the blast radius of a failure in a system serving millions?
- Your DR runbook is a document. How do you make it real?
- A user has an allow policy for an action and their group has a deny for it. What happens?
- URL shortener: how do you generate the short code?
- A service on a VM needs to read from a storage bucket. How does it get permission?
- Design a rate limiter: which algorithm and where does its state live?