Skip to content
Tech Interview Prep

Full-Stack Developer Interview Prep

Overview

Builds and owns product capabilities across the client, API, data model, and production path, making sound trade-offs at every boundary.

Curated: · Written: · Reviewed:

Interview Q&A
106
Practice MCQs
102

The role in one line

A full-stack developer owns one product capability from the click to the database row and back: UI state, API contract, data model, and the path that ships it.

The interview loop

RoundWhat it scores
Recruiter screenScope fit, shipped features, stated ownership
CodingArrays and hashing, two pointers, sliding window, binary search, with complexity stated
Full-stack designEnd-to-end flow, contract shape, state placement, consistency choice
FrontendReact state ownership, data fetching, loading, empty and error states
Debugging or production changeTracing a failure across layers, rollout order, rollback, observability
BehavioralSTAR stories with the decision, the trade-off, and the measured result

Five must-know areas

  • Request tracing: where each piece of state lives, and which store the page trusts after a write.
  • API contracts: resource shape, error semantics, idempotency keys, cursor pagination.
  • Authentication and authorization: cookie session versus bearer token, CSRF defence, logout across tabs.
  • Data model and consistency: keys, indexes, transactions, optimistic updates and reconciliation.
  • Incremental change: backward-compatible response evolution, flag-gated rollout, and a named rollback path.

Numbers and formulas to have ready

  • A limit of 120 requests per minute is a sustained rate of 2 requests per second: rate=12060=2 req/s\text{rate} = \frac{120}{60} = 2\ \text{req/s}
  • Concurrency sizing with Little's law (hypothetical figures): at 50 req/s and 200 ms each, about 10 requests are in flight: L=λW=50×0.2=10L = \lambda W = 50 \times 0.2 = 10
  • Retry delay with full jitter, where base and cap come from your config: sleepn=random(0, min⁡(cap, base⋅2n))\text{sleep}_n = \text{random}(0,\ \min(\text{cap},\ \text{base} \cdot 2^n))
  • 401 means unauthenticated, 403 means authenticated but not allowed, 404 hides a resource the caller may not see, 409 means the write conflicts with current state, 429 and 503 carry Retry-After.
  • Chrome treats a cookie with no SameSite attribute as Lax. Idempotency key retention is whatever window your product needs, and you should name that window.

Reference architecture

SPA state and query cache CDN for static assets Product API Primary database Cache Queue Worker and webhook delivery

The SPA owns optimistic state and reconciles it against the API response. The product API returns page-shaped payloads, so the browser does not call each service. Writes hit the primary database first; the cache is refreshed or invalidated afterwards. Anything slow or retryable goes through the queue, and workers deliver webhooks with signed payloads.

Strong vs weak answers

QuestionStrong answer sounds likeWeak answer sounds like
Refresh after a cart writeThe server response is authoritative; the page replaces its optimistic entry with the returned version.The cache will be fine because it updates quickly.
Double-click checkoutThe client sends one idempotency key per attempt, and the server returns the stored result for a repeated key.The button gets disabled, so it cannot happen.
401 versus 403401 sends the user to sign in; 403 shows a no-access state and never retries.Show an error toast for any failure.
Cookie or tokenCookie session with SameSite and CSRF tokens for a same-site SPA; logout revokes the server session and clears the cookie.Store the JWT in localStorage because it is simpler.
Slow profile screenMeasure request count and payload bytes first, then split or trim the response for that screen.Add caching everywhere.

Interview tips

  1. State the constraint first (users, write rate, consistency need), then the design, the trade-off, and how you would verify it.
  2. When you name a store, say what it is allowed to be wrong about and for how long.
  3. Name the failure you expect at each boundary and the evidence you would check: status code, trace ID, query plan, client log.
  4. For every contract change, say which side ships first and what an old client receives during the gap.
  5. Keep one STAR story ready for a rollback you did yourself, with the signal that triggered it.

Last-week checklist

  • Trace one feature end to end on paper: click, state, request, handler, query, response, render.
  • Practise the 20 Top 100 questions aloud in constraint, design, trade-off, verification order.
  • Re-derive the rate, Little's law and retry formulas without notes.
  • Walk through the SQL and indexing concepts that match your strongest project.
  • Prepare three STAR stories with a number in each result.
  • Close the concept gaps your end-to-end trace exposed, starting from the recommended concept list.

Feedback on this overview

Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.