Backend Interview Questions
Practice HTTP error design, cursor pagination, input validation, idempotency keys, response compatibility, and dependency isolation with free backend interview questions. Each exercise includes hints and a checked explanation.
Practice questions
- Which HTTP status code and error format fit each API failure? · HTTP errors · 9 min
- Why does OFFSET pagination duplicate or skip rows on live feeds? · Cursor pagination · 11 min
- What must an API validate before request data hits business logic? · Input validation · 10 min
- How does an API handle retried POSTs with an Idempotency-Key? · Idempotency keys · 12 min
- How do you evolve a JSON response without breaking live clients? · API evolution · 10 min
- How do you stop one slow dependency from crashing your API? · Dependency isolation · 12 min
How to practice
Predict the result or explain what you would change before opening the hints. Then compare your reasoning with the answer and try the follow-up question.