Loading interview...

Top Regions by Effective Uptime

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

Domain
SQL
Difficulty
medium
Seniority
mid

Interview Prompt

The SRE dashboard tracks effective uptime by region. Effective uptime hours equals uptime minus (latency / 10); treat negative results as zero. Round to 2 decimal places. Return the top 3 regions by total effective uptime hours, where tied regions share the same rank. Show region and total effective hours.

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