DataDriven
LearnPracticeInterviewDiscussDailyJobs

Retried Failed API Calls

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
L5

Interview Prompt

Reliability wants to spot clients retrying after errors. A retry is a call that comes within 5 minutes after the same user's previous call to the same endpoint when that previous call returned a non-200 status. Return user_id, endpoint, and the retry count, sorted by retry count descending, then user_id, then endpoint.

Summary

Spot users who retry API calls within 5 minutes of a failure.

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

Related

  • All Mock Interviews
  • Practice Mode (untimed)
  • SQL Interview Questions
  • Data Engineering Interview Prep Guide
  • Practice Problems
  • Daily Challenge