Long-Running Feature Flags
A medium SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L4
Interview Prompt
We're running a feature flag hygiene audit. Find flags created more than 730 days before May 1, 2026. For each, show the flag name, owner, whether it's still enabled ('Yes' or 'No'), and how many years it's been since creation. Flags with no updated timestamp should be treated as still active.
Summary
Flags that have been on for too long.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your sql solution with real code execution
- Get instant feedback and a hire/no-hire decision