Loading...
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
- mid, senior
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.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a live PostgreSQL database and grades it instantly.