Shadow Spend
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
The FinOps team wants a single view of cloud spend that merges the billed cost records with the internal allocation records, counting a line item that appears in both only once. Drop any row with no amount or no region, then report the total spend for each region and service pairing, highest first.
Summary
Region by region. Service by service. Where does the money go?
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