Backend Developer Interview Questions

Likely questions and prep pointers, drawn from current hiring patterns.

About Backend Developer interviews

Backend Developer interviews typically run across three to five stages and are designed to probe both your hands-on coding ability and your judgement around designing reliable, maintainable server-side systems. Expect to start with a recruiter screen covering motivation, salary and stack alignment, followed by a hiring manager conversation that explores your experience with the team's specific languages (often Java, Python, Go, Node.js or C#), databases and cloud platform. The technical loop usually contains a live coding exercise (data structures, API design or debugging), a system design round (designing something like a URL shortener, rate limiter or order processing service), and a deeper dive into your past projects — schema design choices, API contracts, concurrency handling, observability. A final round typically focuses on collaboration, code review culture and engineering values. Candidates most often stumble in two places: jumping to code before clarifying requirements and edge cases in the coding round, and in system design, designing a 'happy path' architecture without addressing failure modes, consistency trade-offs, scaling bottlenecks or operational concerns like monitoring and deployment. Interviewers are screening for pragmatic engineers who can write clean code under pressure, reason about distributed systems trade-offs honestly, and demonstrate ownership of production systems — not just feature delivery, but what happens when things break at 3am.

Typical stages

  • Recruiter screen
  • Hiring manager interview
  • Live coding round
  • System design interview
  • Past project deep-dive
  • Final / values interview

Common formats

  • Behavioral STAR
  • Live coding
  • System design whiteboard
  • Take-home assignment
  • Code review exercise
  • Past project deep-dive

What hiring managers screen for

  • Fluency in at least one backend language plus solid grasp of SQL and at least one NoSQL store
  • Ability to reason about API design, idempotency, error handling and backwards compatibility
  • Distributed systems literacy — caching, queues, consistency models, failure handling
  • Operational mindset: logging, monitoring, on-call experience, incident response
  • Pragmatic trade-off reasoning rather than dogmatic 'best practice' answers

Red flags to avoid

  • Coding straight away without clarifying requirements or edge cases
  • System designs that ignore failure modes, scale limits or data consistency
  • Vague descriptions of past work with no ownership of specific decisions or outcomes
  • Treating databases as a black box — unable to explain indexing, transactions or query plans
  • Dismissive attitude toward testing, code review or documentation

Primary questions (15)

Behavioural

Tell me about a production incident you were directly involved in resolving. What was the root cause and what did you change afterwards?

Why this comes up: Backend engineers own services that fail in production, and interviewers want evidence of incident ownership and learning loops.

Prep pointers
  • Pick an incident where you held meaningful ownership, not one where you were a bystander
  • STAR Situation: set the blast radius — users affected, services down, business impact
  • STAR Action: separate immediate mitigation from root cause investigation; show both
  • STAR Result: emphasise the systemic fix (alerting, runbook, test, architectural change), not just 'we restarted the service'
  • Avoid blaming individuals or other teams — interviewers screen heavily for blameless culture
Technical

Walk me through how you would design a REST API for a resource that needs to support partial updates, optimistic concurrency and bulk operations.

Why this comes up: API design is core daily work and reveals depth on HTTP semantics, idempotency and real-world edge cases.

Prep pointers
  • Be ready to discuss PATCH vs PUT semantics and JSON Patch / Merge Patch trade-offs
  • Cover ETags or version numbers for optimistic concurrency and how the server responds on conflict
  • Discuss whether bulk endpoints should be transactional or partial-success, and how errors are reported
  • Mention idempotency keys for safe retries on bulk writes
  • Don't get trapped in 'REST purity' — show pragmatism about when to deviate
Technical

Design a system that ingests 50,000 events per second, stores them durably, and serves aggregated dashboards with sub-second latency.

Why this comes up: This is a canonical system design prompt that tests understanding of streaming, storage tiering and read/write separation.

Prep pointers
  • Clarify before designing: event size, retention period, query patterns, consistency requirements
  • Separate the write path (queue → stream processor → durable store) from the read path (precomputed aggregates / OLAP store)
  • Be explicit about back-pressure, partitioning strategy and what happens when a consumer falls behind
  • Discuss specific technology choices (Kafka, Flink, ClickHouse, etc.) but justify why, not just name-drop
  • Address failure modes: duplicate events, out-of-order arrival, hot partitions
Technical

You have a slow database query that's degrading API response times. How do you diagnose and fix it?

Why this comes up: Database performance debugging is bread-and-butter backend work and separates engineers who 'use' databases from those who understand them.

Prep pointers
  • Start with measurement: query logs, EXPLAIN plans, slow query log, APM traces — not guesses
  • Walk through the diagnostic ladder: missing indexes, bad join order, table scans, lock contention, connection pool exhaustion
  • Discuss fixes in increasing cost order: query rewrite → index → schema change → caching → denormalisation → read replicas
  • Mention the trade-offs of each (write amplification from indexes, staleness from caches)
  • Avoid jumping straight to 'add a cache' — interviewers see this as a tell for shallow database knowledge
Behavioural

Describe a time you had to make a significant trade-off between code quality and shipping speed. How did you decide?

Why this comes up: Backend developers constantly navigate technical debt versus delivery pressure, and interviewers want to see mature judgement.

Prep pointers
  • Choose an example where you genuinely chose speed — not one where you secretly did everything 'right'
  • STAR Task: name the explicit business pressure and the specific quality compromise
  • STAR Action: show how you contained the debt (feature flag, isolated module, TODO with a ticket, follow-up commitment)
  • STAR Result: be honest about whether the debt was actually paid down later
  • Avoid framing this as a moral story — interviewers want pragmatism, not perfectionism
Situational

A downstream service your API depends on becomes intermittently unavailable. How do you protect your service and your callers?

Why this comes up: Resilience patterns are essential for backend services and this tests whether you've thought about them in practice, not just in theory.

Prep pointers
  • Cover timeouts first — most candidates skip this and it's the most common production failure
  • Discuss retries with exponential backoff and jitter, and when NOT to retry (non-idempotent calls)
  • Bring up circuit breakers, bulkheads and fallback behaviour (cached data, degraded responses)
  • Address what callers see: clear error codes, retry-after headers, no cascading failures
  • Mention observability: how would you know this is happening before customers tell you
Competency

Walk me through how you approach code review — both giving and receiving feedback.

Why this comes up: Code review is the primary quality gate on most backend teams and reflects how you'll show up daily.

Prep pointers
  • Distinguish between blocking issues (correctness, security, data integrity) and stylistic preferences
  • Talk about the tone you use — questions over commands, explaining the why, linking to docs
  • On receiving: show you separate ego from code and engage genuinely with disagreement
  • Mention what you do BEFORE review — self-review, descriptive PR description, small focused diffs
  • Avoid generic answers; ground each point in something you actually do
Behavioural

Tell me about a system or service you owned end-to-end. What were the most important decisions you made?

Why this comes up: This probes depth of ownership and whether you can articulate engineering decisions rather than just implementation.

Prep pointers
  • Choose a system where you can speak to design, build, deploy, monitor and evolve
  • Have 2–3 concrete decisions ready, each with the alternatives you considered and rejected
  • STAR Result: include both technical outcomes (latency, reliability) and business outcomes
  • Be prepared for deep follow-ups — interviewers will probe specific files, schemas, query plans
  • Avoid vague phrases like 'we built a scalable system' — quantify everything you can
Technical

Explain how you'd implement rate limiting for a public API, including the trade-offs between algorithms.

Why this comes up: Rate limiting is a common backend feature that tests understanding of algorithms, distributed state and trade-offs.

Prep pointers
  • Compare token bucket, leaky bucket, fixed window and sliding window — know the trade-offs
  • Discuss where the counter lives: in-process (fast, not shared), Redis (shared, network hop), or at the edge
  • Cover how you identify the caller (API key, IP, user ID) and the implications of each
  • Mention what the response looks like: 429 status, Retry-After header, quota headers
  • Be ready for the follow-up: 'what happens when your Redis goes down?'
Situational

You discover that a database migration you deployed last week has been silently corrupting a small percentage of records. What do you do?

Why this comes up: This tests incident response judgement, communication and how you balance speed with thoroughness under pressure.

Prep pointers
  • First step is always: stop the bleeding — halt further corruption before investigating
  • Talk about who you escalate to and when: manager, on-call, affected stakeholders
  • Cover the order of operations: assess scope → contain → communicate → remediate → post-mortem
  • Discuss data recovery options: backups, audit logs, event sourcing, reconstruction from upstream
  • Avoid heroic solo behaviour — interviewers want to see appropriate escalation and transparency
Competency

How do you decide what to test, at what level, for a backend service?

Why this comes up: Testing strategy reveals engineering maturity and how you balance confidence with development velocity.

Prep pointers
  • Reference the test pyramid but be ready to defend or critique it for your context
  • Distinguish unit, integration, contract and end-to-end tests — know what each catches and misses
  • Talk about testing the boundaries: database, external APIs, message brokers (and using fakes vs real instances)
  • Mention what you DON'T test heavily and why (trivial getters, framework code, third-party libraries)
  • Show you've thought about flaky tests and how to keep the suite trustworthy
Situational

A teammate proposes introducing a new technology — say, a graph database — to solve a problem you think SQL handles fine. How do you handle the disagreement?

Why this comes up: Backend teams constantly weigh new tools against existing stack complexity, and this tests collaborative technical judgement.

Prep pointers
  • Lead with curiosity — understand the problem they're seeing before pushing back
  • Frame the discussion around concrete criteria: query patterns, operational cost, team familiarity, hiring
  • Show you'd run a small spike or write a benchmark rather than arguing from opinion
  • Mention how you'd document the decision (ADR, RFC) so the trade-off is visible to the team
  • Avoid framing it as 'winning' — the goal is the right decision, not your decision
Behavioural

Tell me about a time you significantly improved the performance of a system. What was the bottleneck and how did you find it?

Why this comes up: Performance work is a strong signal of depth and rigour — interviewers want to see methodology, not heroics.

Prep pointers
  • Lead with how you measured — profilers, flame graphs, APM, database explain plans
  • STAR Action: show the hypothesis-test-measure loop, including dead ends
  • Be specific about the improvement: p50, p95, p99 latencies, throughput numbers
  • Discuss why the bottleneck existed in the first place — was it a design flaw, growth, or new usage pattern?
  • Avoid claiming '10x improvements' without grounding in real numbers
Culture fit

What kind of engineering culture do you do your best work in, and what kind drains you?

Why this comes up: Mutual fit matters — backend teams vary widely in process maturity, autonomy and on-call expectations.

Prep pointers
  • Be honest — misrepresenting your preferences leads to a bad fit on both sides
  • Anchor preferences in concrete examples from past roles, not abstract ideals
  • Cover dimensions like async vs synchronous work, code review rigour, on-call rotation, autonomy
  • Show self-awareness about your own friction points without sounding bitter about past employers
  • Have a few questions ready to probe their actual culture — this is a two-way conversation
Culture fit

What's a strongly held technical opinion you've changed your mind on in the last few years?

Why this comes up: This screens for intellectual humility and ongoing growth — critical traits in a fast-moving technical field.

Prep pointers
  • Pick something substantive — microservices vs monolith, ORMs, NoSQL, TDD — not a trivial preference
  • Explain the original belief, the experience that challenged it, and the nuanced view you hold now
  • Show you didn't just flip — you developed a more contextual understanding
  • Avoid bandwagon answers ('I used to love microservices, now I love monoliths') without depth
  • Be ready for the follow-up: 'what belief do you hold strongly now that you might revise?'

More practice questions (14)

Technical

Explain the difference between optimistic and pessimistic locking and when you'd use each.

Why this comes up: Concurrency control is fundamental to backend correctness and frequently asked in database-heavy interviews.

Technical

How do database indexes work, and when can adding an index hurt performance?

Why this comes up: Tests whether candidates understand databases beyond surface-level usage.

Technical

Walk me through what happens when a client makes an HTTPS request to your backend service.

Why this comes up: Reveals depth across the network stack — DNS, TLS, TCP, load balancers, app servers.

Technical

When would you choose a message queue over a direct synchronous API call between services?

Why this comes up: Tests understanding of coupling, back-pressure and asynchronous architectures.

Technical

Explain eventual consistency and give an example of when it's acceptable and when it isn't.

Why this comes up: Core distributed systems concept that separates senior from junior backend engineers.

Technical

How would you securely store and verify user passwords?

Why this comes up: Security fundamentals are non-negotiable for backend roles and a common screening question.

Behavioural

Tell me about a time you disagreed with a senior engineer or architect. How did it resolve?

Why this comes up: Probes how you handle conflict constructively in technical settings.

Behavioural

Describe a project that didn't go to plan. What did you learn?

Why this comes up: Screens for self-awareness and the ability to extract lessons from failure.

Situational

Your service's error rate suddenly spikes after a deploy with no obvious bad change. What's your debugging approach?

Why this comes up: Tests systematic debugging methodology under pressure.

Situational

A product manager wants a feature that you believe will create significant technical debt. How do you handle it?

Why this comes up: Probes cross-functional communication and ability to make trade-offs visible.

Competency

How do you stay current with backend technologies and decide which ones are worth investing time in?

Why this comes up: Reveals learning habits and signal-versus-noise judgement.

Competency

How do you approach writing maintainable code in a codebase you didn't create?

Why this comes up: Most backend work is on existing systems — this matters more than greenfield ability.

Technical

What's the difference between authentication and authorization, and how have you implemented them?

Why this comes up: Common backend concern with frequent design pitfalls; interviewers want to see real implementation experience.

Culture fit

How do you feel about being on-call?

Why this comes up: On-call is a reality for most backend roles and a frequent source of attrition if expectations don't align.

Get a prep pack tailored to your experience

describe.me matches these questions against your real work history, flags your prep priorities, and gives you a STAR scaffold per question.

Start free →

Your prep stays yours. Opt-in by design, never shared without your say-so. Read the data promise