DataDriven
LearnPracticeInterviewDiscussDailyJobs

The Loudest Neighbor

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

Domain
SQL
Difficulty
hard
Seniority
L4

Problem

In our multi-tenant Kubernetes cluster we hunt the noisy neighbor in each namespace: the pod using the most memory. Some pods are still starting up and haven't reported memory yet, so ignore those and list each namespace's top consumer with its memory, heaviest first.

Summary

In every namespace, one pod does most of the eating.

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