Backend Engineer: interview prep

Interview prep for backend and API engineering roles. Curated by the hone.sh team.

Backend interviews usually go deep on APIs and HTTP, databases and transactions, how services behave in production, and a system design round, plus behavioural questions. Here you practise explaining those decisions out loud under follow-up questions, the way an interviewer probes them. Most loops also include a coding round where you write the code, which this list doesn't replace.

34 challenges

11 free · sign in to track your progress
  • APIs and HTTP: 8
  • Databases: 8
  • Services in production: 7
  • System design: 7
  • Behavioural: 4

APIs and HTTP

Requests, status codes, validation, idempotency and pagination: APIs clients can rely on.

  1. 01

    Anatomy of an HTTP Request

    • easy
  2. 02

    Design a REST API

    • easy
  3. 03

    Validate Request Input

    • easy
  4. 04

    Choose the Status Code

    • easy
    • Pro
  5. 05

    Make Requests Idempotent

    • medium
    • Pro
  6. 06

    Paginate a Large List

    • medium
    • Pro
  7. 07

    REST, GraphQL or gRPC?

    • medium
    • Pro
  8. 08

    Receive Webhooks Reliably

    • medium
    • Pro

Databases

Keys, indexes, transactions and query plans, and changing a schema without downtime.

  1. 09

    Choose a Primary Key

    • easy
  2. 10

    How a B-Tree Index Works

    • easy
  3. 11

    The Lost Update

    • easy
  4. 12

    Isolation Levels

    • medium
    • Pro
  5. 13

    Fix N Plus One Queries

    • medium
    • Pro
  6. 14

    Read a Query Plan

    • medium
    • Pro
  7. 15

    Diagnose a Slow Query

    • hard
    • Pro
  8. 16

    Change a Schema Without Downtime

    • hard
    • Pro

Services in production

Auth, background jobs, connection pools and tracing: what keeps a service correct under load.

  1. 17

    Follow a Login

    • easy
  2. 18

    Move Work Out of the Request

    • easy
  3. 19

    Connection Pooling

    • medium
    • Pro
  4. 20

    Idempotent Job Handlers

    • medium
    • Pro
  5. 21

    Trace a Request with IDs

    • medium
    • Pro
  6. 22

    The Outbox Pattern

    • hard
    • Pro
  7. 23

    Graceful Shutdown

    • hard
    • Pro

System design

Backend systems end to end: estimates, service boundaries, queues and surviving spikes.

  1. 24

    Design a URL Shortener

    • easy
  2. 25

    Monolith or Microservices?

    • easy
  3. 26

    Estimate the Load

    • easy
    • Pro
  4. 27

    Design a Rate Limiter

    • medium
    • Pro
  5. 28

    Design a Background Job Queue

    • medium
    • Pro
  6. 29

    Design a Notification Service

    • medium
    • Pro
  7. 30

    Survive a Traffic Spike

    • hard
    • Pro

Behavioural

Solving hard problems, working through ambiguity and owning mistakes. Answer with a real example: the situation, what you did, and the result.

  1. 31

    A Time You Solved a Problem

    • easy
  2. 32

    Handling Ambiguity

    • medium
    • Pro
  3. 33

    A Conflict with a Colleague

    • medium
    • Pro
  4. 34

    A Time You Failed

    • medium
    • Pro