DataDriven
LearnPracticeInterviewDiscussDailyJobs

Intra-Region Latency Diff

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

Domain
SQL
Difficulty
hard
Seniority
L5

Problem

The infra team tracks node-level latency within regions. For each service node (svc_name), compute the average absolute latency difference between it and every other node in the same region, but only when both nodes have a status of 'healthy' and their uptime values are within 5 percentage points of each other.

Summary

Same region. Different latency.

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