Endpoint Ranking
A medium SQL mock interview question on DataDriven, with an AI interviewer who asks follow-up questions and a hire or no-hire decision at the end.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L4
Interview Prompt
The SRE team is surfacing the slowest endpoints for a performance review. For each endpoint in api_calls, count its calls and compute its average latency, then order them slowest first with a position, returning the endpoint, call count, average latency, and position.
Summary
The slowest endpoints. Called to the principal's office.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write and run your SQL against a real database
- Answer the interviewer's follow-up questions, then get a hire or no-hire decision