Mock interviews
Free timed backend mock interviews: answer out loud, take the follow-ups, then score yourself against the rubric.
How a mock works
- TimedAbout 3 minutes a question, with a visible clock you can pause.
- Out loudAnswer as you would in the room. Nothing is recorded.
- Follow-upsThen the follow-up questions an interviewer would ask.
- RubricTick the key points you covered; that is your score.
Mock sets (34)
Transactions, isolation and locking mock 1
Transactions, isolation and locking · 5 questions · about 25 min
- Isolation levels in PostgreSQL
- The lost update problem
- SELECT FOR UPDATE and SKIP LOCKED
- Optimistic vs pessimistic locking
- Deadlocks and lock ordering
Start this mock on the Transactions, isolation and locking page
Transactions, isolation and locking mock 2
Transactions, isolation and locking · 5 questions · about 25 min
- Why long transactions hurt
- Errors inside a transaction
- Where transactions begin and end in code
- Write skew under REPEATABLE READ
- Retrying serialization failures
Start this mock on the Transactions, isolation and locking page
SQL, indexing and PostgreSQL mock 1
SQL, indexing and PostgreSQL · 5 questions · about 25 min
SQL, indexing and PostgreSQL mock 2
SQL, indexing and PostgreSQL · 5 questions · about 25 min
Distributed systems mock 1
Distributed systems · 5 questions · about 25 min
Distributed systems mock 2
Distributed systems · 5 questions · about 25 min
Distributed systems mock 3
Distributed systems · 5 questions · about 25 min
API design: REST, HTTP, GraphQL and gRPC mock 1
API design: REST, HTTP, GraphQL and gRPC · 5 questions · about 25 min
- Idempotency keys for POST
- ETags and conditional requests
- Paginating API responses
- Versioning an API
- Which API changes are breaking
Start this mock on the API design: REST, HTTP, GraphQL and gRPC page
API design: REST, HTTP, GraphQL and gRPC mock 2
API design: REST, HTTP, GraphQL and gRPC · 5 questions · about 25 min
- Rate limiting with a token bucket
- When GraphQL fits and what it costs
- gRPC vs REST
- Designing reliable webhooks
- Long-running operations: 202 and polling
Start this mock on the API design: REST, HTTP, GraphQL and gRPC page
API design: REST, HTTP, GraphQL and gRPC mock 3
API design: REST, HTTP, GraphQL and gRPC · 5 questions · about 25 min
- PATCH: merge patch vs JSON Patch
- Uploading large files
- Polling, SSE and WebSockets
- Batch and bulk endpoints
- What an API gateway does
Start this mock on the API design: REST, HTTP, GraphQL and gRPC page
API design: REST, HTTP, GraphQL and gRPC mock 4
API design: REST, HTTP, GraphQL and gRPC · 5 questions · about 25 min
- Designing REST resources
- Safe and idempotent HTTP methods
- Choosing HTTP status codes
- A consistent error format
- 429, Retry-After and rate-limit headers
Start this mock on the API design: REST, HTTP, GraphQL and gRPC page
Caching and Redis mock 1
Caching and Redis · 5 questions · about 25 min
Caching and Redis mock 2
Caching and Redis · 5 questions · about 25 min
Queues, Kafka and event-driven systems mock 1
Queues, Kafka and event-driven systems · 5 questions · about 25 min
- Background job queues
- Kafka partitions, keys and ordering
- Consumer groups and rebalancing
- Keeping messages in order
- Dead-letter queues and poison messages
Start this mock on the Queues, Kafka and event-driven systems page
Queues, Kafka and event-driven systems mock 2
Queues, Kafka and event-driven systems · 5 questions · about 25 min
- Backpressure when consumers fall behind
- Kafka or RabbitMQ?
- Scheduled jobs that run once
- Monitoring consumer lag
- Committing offsets: at-most-once vs at-least-once
Start this mock on the Queues, Kafka and event-driven systems page
NoSQL and choosing a database mock 1
NoSQL and choosing a database · 5 questions · about 25 min
NoSQL and choosing a database mock 2
NoSQL and choosing a database · 5 questions · about 25 min
Concurrency in Python services mock 1
Concurrency in Python services · 5 questions · about 25 min
Concurrency in Python services mock 2
Concurrency in Python services · 5 questions · about 25 min
Authentication and authorization mock 1
Authentication and authorization · 5 questions · about 25 min
- Validating a JWT properly
- Access tokens, refresh tokens and rotation
- OAuth 2.0 authorization code with PKCE
- OpenID Connect and ID tokens
- MFA and TOTP codes
Start this mock on the Authentication and authorization page
Authentication and authorization mock 2
Authentication and authorization · 5 questions · about 25 min
- API keys done right
- RBAC, ABAC and resource ownership
- Revoking tokens and sessions
- Authenticating service-to-service calls
- Server sessions vs stateless tokens
Start this mock on the Authentication and authorization page
Backend security mock 1
Backend security · 5 questions · about 25 min
Backend security mock 2
Backend security · 5 questions · about 25 min
Performance and scaling mock 1
Performance and scaling · 5 questions · about 25 min
Performance and scaling mock 2
Performance and scaling · 5 questions · about 25 min
Observability and operations mock 1
Observability and operations · 5 questions · about 25 min
Observability and operations mock 2
Observability and operations · 5 questions · about 25 min
Testing backends mock 1
Testing backends · 5 questions · about 25 min
Testing backends mock 2
Testing backends · 5 questions · about 25 min
Cloud, deploys and infrastructure mock 1
Cloud, deploys and infrastructure · 5 questions · about 25 min
- Expand and contract changes
- Graceful shutdown
- Kubernetes basics for backend developers
- Blue-green and canary releases
- Feature flags on the server
Start this mock on the Cloud, deploys and infrastructure page
Cloud, deploys and infrastructure mock 2
Cloud, deploys and infrastructure · 5 questions · about 25 min
- Infrastructure as code
- When serverless fits
- Backups, RPO, RTO and multi-region
- Containers and images
- Configuration across environments
Start this mock on the Cloud, deploys and infrastructure page
System design mock 1
System design · 5 questions · about 25 min
System design mock 2
System design · 5 questions · about 25 min
Backends for mobile apps mock 1
Backends for mobile apps · 5 questions · about 25 min
Behavioral round
8 prompts interviewers use for the behavioral part, each with a STAR rubric: what a strong answer covers, what they listen for and the red flags. There are no sample answers, because good answers come from your own experience.