Loading...

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
junior

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.

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.