Free · 2025

Backend Developer Interview Questions

Prepare for backend engineering interviews with questions on REST vs GraphQL, database design, message queues, auth, and zero-downtime deployments — with AI scoring.

8questions2 easy4 medium2 hard

Interview Questions

  1. 1

    Compare REST and GraphQL. What are the real tradeoffs and which would you choose for a mobile app with a complex data model?

    Medium
  2. 2

    Explain database indexing. How does a B-tree index work and when does adding an index make performance worse?

    Medium
  3. 3

    What is a message queue and when would you use one over a synchronous API call? Explain at least one failure scenario it solves.

    Medium
  4. 4

    How do you run a database schema migration in production with zero downtime on a table that has 500M rows?

    Hard
  5. 5

    Walk through the OAuth 2.0 authorization code flow. How do JWTs fit in and what are the security risks of storing them in localStorage?

    Medium
  6. 6

    What is connection pooling? What happens to your application when the pool is exhausted?

    Easy
  7. 7

    How do you design an idempotent API endpoint? Walk through a payment processing example where idempotency is critical.

    Hard
  8. 8

    Explain the difference between horizontal and vertical scaling. At what point does horizontal scaling introduce new engineering problems?

    Easy

Done reading? Time to practice.

Take a real AI mock interview and get scored on your answers.

Start Mock Interview
Top 8 Backend Developer Interview Questions (2025) — Mid & Senior Level | Zavnia | Zavnia - Hire fast & better