Lowest CPU Pods per Namespace
A hard SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- hard
- Seniority
- L4
Problem
For each Kubernetes namespace, surface the 5 pods with the lowest CPU usage. If pods are tied, they should share the same rank without creating gaps. Show each pod's name, namespace, CPU, and memory usage.
Summary
The five lightest pods per namespace.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.