The Budget Line
A easy SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- L5
Interview Prompt
The FinOps team needs to flag every service-region combination as 'over', 'under', or 'on_target' by comparing the actual cloud cost against the budgeted allocation for that same service and region. Show the service, region, actual cost, budget, and the flag.
Summary
Some rows are over. Some are under. Label every one.
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