Full-Stack Developer Interview Prep
OverviewBuilds 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
Top 100 Full-Stack Developer Interview Questions and Answers
The questions most likely to actually be asked, ranked by likelihood, with pro-level model answers.106 Q&ATop 100 Full-Stack Developer Practice MCQs
Quick multiple-choice self-checks covering the same high-value ground, with an explanation for every answer.102 MCQsThe 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
| Round | What it scores |
|---|---|
| Recruiter screen | Scope fit, shipped features, stated ownership |
| Coding | Arrays and hashing, two pointers, sliding window, binary search, with complexity stated |
| Full-stack design | End-to-end flow, contract shape, state placement, consistency choice |
| Frontend | React state ownership, data fetching, loading, empty and error states |
| Debugging or production change | Tracing a failure across layers, rollout order, rollback, observability |
| Behavioral | STAR 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:
- Concurrency sizing with Little's law (hypothetical figures): at 50 req/s and 200 ms each, about 10 requests are in flight:
- Retry delay with full jitter, where base and cap come from your config:
- 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
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
| Question | Strong answer sounds like | Weak answer sounds like |
|---|---|---|
| Refresh after a cart write | The 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 checkout | The 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 403 | 401 sends the user to sign in; 403 shows a no-access state and never retries. | Show an error toast for any failure. |
| Cookie or token | Cookie 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 screen | Measure request count and payload bytes first, then split or trim the response for that screen. | Add caching everywhere. |
Interview tips
- State the constraint first (users, write rate, consistency need), then the design, the trade-off, and how you would verify it.
- When you name a store, say what it is allowed to be wrong about and for how long.
- Name the failure you expect at each boundary and the evidence you would check: status code, trace ID, query plan, client log.
- For every contract change, say which side ships first and what an old client receives during the gap.
- 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.