Average Latency by Health Status
A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- L3
Problem
After an on-call page last night, the SRE team wants to quantify how much latency worsens as service health deteriorates. Show the average latency for health checks in the 'healthy', 'degraded', and 'critical' buckets so they can set alert thresholds.
Summary
Healthy versus degraded. The latency gap is real.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.