All jobs / DevOps / SRE / cloud / CI/CD
DevOps / SRE / cloud interview question · 1–3 years
What is a canary deploy, as opposed to blue/green?
The strongest answer
A small slice of real traffic on the new bits, watch the SLO, then expand or abort — I do not call a 100% Friday a canary
Why it works
Exactly. Small real traffic, watch, expand. 100% is not a canary.
What a good answer covers
- Small real traffic.
- Watch the SLO.
- Expand or abort.
- 100% is not a canary.
Answers that fall short
- Close, but not the strongest: A deploy we do not watch
Unwatched is a dice roll. - Weak: A second colour of load balancer
Colour is blue/green language. - Red flag: A test user only; real traffic would be dangerous
Test-user-only is a smoke, not a canary.
Who gets asked this
More CI/CD questions
- 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?
- Squads go around your CI templates. What is the diagnosis?