Loading interview...

Intra-Region Latency Diff

A hard SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.

Domain
SQL
Difficulty
hard
Seniority
senior

Interview Prompt

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.

How This Interview Works

  1. Read the vague prompt (just like a real interview)
  2. Ask clarifying questions to the AI interviewer
  3. Write your sql solution with real code execution
  4. Get instant feedback and a hire/no-hire decision