All jobs / DevOps / SRE / cloud / CI/CD
DevOps / SRE / cloud interview question · 1–3 years
What is blue/green, in one sentence you would say in a room?
The strongest answer
Two production environments; we switch traffic when the new one is healthy, and we can switch back — it costs two worlds and buys a fast undo
Why it works
Exactly. Two worlds, a switch, an undo. Say the cost too.
What a good answer covers
- Two prod worlds.
- Switch when healthy.
- Switch back if not.
- Name the double-cost.
Answers that fall short
- Close, but not the strongest: A colour theme for dashboards
Colours are not a deploy strategy. - Weak: Deploying to half the users at random
Random half is closer to canary / experiment. - Red flag: Running staging and prod on the same nodes
Same nodes is not two environments.
Who gets asked this
More CI/CD questions
- What is a canary deploy, as opposed to blue/green?
- A bad change is already live. The store / the cluster is slow to revert. What is faster?
- The team wants true continuous deploy to production. What do you still insist on?
- Every squad has a unique pipeline. You want a paved road. What do you standardise first?
- The runbook says “rollback.” The schema migrated forward. What do you actually do?
- Blue/green is easy for stateless pods. What do you say about the database?
- A canary looks “fine” on CPU. Users on the canary cannot check out. What was wrong?
- Who aborts a canary, and on what?