Interview glossary / Tech team vocabulary
Feature flag
Also called: Feature toggle · Kill switch
A switch in code or configuration that turns a feature on or off without a new deployment, so releases can be gradual and reversible.
Feature flags separate deploying code from releasing it. Teams use them to release to a few users first, run experiments, and switch off a problem feature in seconds. Old flags left in the code become technical debt.
In an interview
Mention flags when explaining how you released a risky change safely, and how you cleaned them up afterwards.
Related terms
Interview questions that use it
- A feature flag flips the hero after hydrate (flicker). How do you prevent it?
- A feature flag has been on for everyone for four months. Both code paths are still there. When is the flag…
- QA, staging, and demo have three different feature flags. A bug is “fine in QA.” What is the lesson?
- Where do base URLs, users, and feature flags for tests live?
- A feature flag is off in staging and on in the PR preview. How do tests cope?
- The team deployed the new checkout to production on Tuesday behind a feature flag that is still off. Has the…
- The interviewer asks: “A bad deploy took all regions with it. What architecture would have contained it?”…
- The interviewer asks: “A new ranking feature is burning CPU in production. What do you want already built?”…