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
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your sql solution with real code execution
- Get instant feedback and a hire/no-hire decision