Lesson 25 of 30
Knowing what a feature flag is gets you nowhere in a system design interview. The question being tested is whether you'd design rollout risk management into the architecture from the start, or bolt it on after something breaks.
12 min read
Every option explains itself — why the right one is right, and why each wrong one is wrong. Miss one and it comes back later on a spaced-repetition schedule.
Question 1 of 3
What turns 'gradual rollout' from a buzzword into an actual, usable plan in a system design answer?
Hints without spoilers, and a plain explanation of why a wrong answer was wrong — answered only from this lesson. Free account, no card.
Sign up freeWhat interviewers actually ask about this, and what a strong answer has to cover.
A strong answer covers
Likely follow-ups
The Feature Flags lesson elsewhere in this platform covers what a flag actually is — a runtime switch, evaluated per request or per user. This lesson assumes that and asks a system design question instead: how do you use flags to manage rollout risk at scale, as an architectural decision made up front, not an implementation detail added after a launch goes wrong?
Three pieces make up the system-design answer:
A redesigned checkout flow is a textbook case for rollout risk, because checkout failures directly cost the business money and directly damage user trust. The system-design answer: flag the new flow behind a percentage rollout, starting at a small slice of traffic; watch checkout completion rate and error rate at each step before increasing the percentage; and treat the flag as a kill switch from day one — if completion rate drops at 10%, the team flips the flag off instantly and every affected user falls back to the old, known-working flow within seconds, not after an emergency deploy.
"How would you safely ship a risky change to a critical flow?" is a real, common follow-up in this genre, and the strong answer treats gradual rollout and a kill switch as requirements designed into the architecture up front, tied explicitly to the broader resilience story, not an afterthought bolted on at launch.