System Design · Junior · Question 39 of 75
What is a feature flag?
- ✓Correct answer: A switch that turns a feature on without a new deploy - for some or all users
- 2A flag in
package.jsonthat enables experimental Node.js features - 3A "new" badge next to a new feature in the UI
Explanation
Flags let you ship code switched off, enable a feature gradually, run A/B tests and quickly disable something broken. Old flags must be removed, or the code accumulates branches.