CS FundamentalsVery hardGATE CS · TCS NQT Prime · Product Company SDE

A feature flag (feature toggle) used alongside continuous deployment allows a team to:

  1. A. Permanently prevent any feature from ever being released
  2. B. Deploy new code to production while keeping the new feature hidden or disabled for most users, enabling it selectively (e.g. for internal testing or gradual rollout) without a separate deployment
  3. C. Guarantee that a feature has zero bugs before release
  4. D. Replace the need for version control entirely

Correct answer: B. Deploy new code to production while keeping the new feature hidden or disabled for most users, enabling it selectively (e.g. for internal testing or gradual rollout) without a separate deployment

Feature flags decouple deployment (code reaching production) from release (the feature being visible/active), letting teams deploy continuously while still controlling exactly when and for whom a feature becomes active.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic