DataDriven
LearnPracticeInterviewDiscussDailyJobs

Cloud Cost Breakdown by Provider

A hard SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.

Domain
SQL
Difficulty
hard
Seniority
L4

Problem

The FinOps team wants a multi-year cost breakdown from 2022 through 2025. For each cost category and year in the allocation records, show the total spend, the spend specifically in the us-east-1 region, and the number of line items, from the highest total spend down.

Summary

Cloud costs, provider by provider.

Practice This Problem

Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.

Related

  • All Practice Problems
  • Mock Interview Mode
  • SQL Interview Questions
  • Data Engineering Interview Prep Guide
  • Daily Challenge
  • Data Engineering Lessons