Quarterly Peak Cloud Costs
A hard SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- SQL
- Difficulty
- hard
- Seniority
- L4
Interview Prompt
A cloud service racks up many separate charges each month across providers and regions. For a quarterly cost review, total each service's charges by calendar month, then report its highest monthly total for Q1, Q2, Q3, and Q4 as separate columns, with services listed alphabetically.
Summary
Every quarter has a peak bill.
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