Start here. This is the direct spoken answer to practice first.
Why this question matters
A feature flag separates deploying code from releasing behavior, but it does not make an incompatible frontend, API, or database change safe by itself. This question checks whether the candidate can release one product capability across several layers while preserving a reliable off switch.
I would deploy the feature in a disabled state, then enable it gradually for internal users, a small cohort, and finally the wider audience. The UI can hide routes and entry points, but the API must independently enforce whether the user may use the feature because hiding a button is not authorization. Both enabled and disabled paths need to remain valid while rollout is in progress. I would watch errors, latency, and the intended product outcome at each stage, and disable the flag if the new path becomes unsafe.