Full Stack Engineer · interview questions

Full Stack Engineer interview questions: how it works

From the role's core and recommended topics, most asked first. Filter by the kind of answer the question wants.

React Developer Core 50

  1. Most asked Explain React concept: JSX.
  2. Most asked Explain React concept: props.
  3. Most asked Explain React concept: state.
  4. Most asked Explain React concept: unidirectional data flow.
  5. Most asked Explain React concept: keys in lists.
  6. Most asked Explain React concept: lifting state up.
  7. Most asked Explain React concept: reconciliation.
  8. Most asked React performance: React.memo?
  9. Explain React concept: components.
  10. Discuss testing-library in React applications.
  11. Discuss accessibility (a11y) in React applications.
  12. How do Actions and `useActionState` work in React 19?
  13. Explain React concept: derived state anti-pattern.
  14. Explain React concept: pure components.
  15. Explain React concept: error boundaries.
  16. Explain React concept: Suspense.
  17. Explain React concept: lazy / code splitting.
  18. React performance: virtualization?
  19. React performance: profiling?
  20. Discuss React Router in React applications.
  21. Discuss TanStack Query in React applications.
  22. Discuss Vitest/Jest in React applications.
  23. Discuss Next.js in React applications.
  24. Discuss forms in React applications.
  25. Discuss auth patterns in React applications.
  26. How does `useOptimistic` implement optimistic UI?
  27. How did refs change in React 19?
  28. How does TanStack Query manage server state?
  29. How do server-side rendering and hydration work in React?
  30. How should React components be tested?
  31. What happens in the browser from navigation until a React page shows its data, and how do you avoid request waterfalls?
  32. Explain React concept: fragments.
  33. Explain React concept: portals.
  34. Explain React concept: Strict Mode.
  35. Explain React concept: Server Components (RSC).
  36. React performance: avoid inline object props?
  37. React performance: key remounting?
  38. React performance: batching?
  39. React performance: concurrent features?
  40. React performance: bundle analysis?
  41. Discuss CSS modules / Tailwind in React applications.
  42. How does React 19 handle `<title>`, `<meta>` and stylesheets rendered in components?
  43. How does React's event system work?
  44. How do XSS risks show up in React apps?
  45. How do error boundaries interact with async errors and event handlers?
  46. How should a React SPA handle authentication tokens securely?
  47. How do class component lifecycle methods map to hooks?
  48. In an RSC app, how do you decide what should be a Client Component?
  49. How does automatic batching work in React 18+?
  50. How does useEffect work in functional React components?

TypeScript Developer Core 20

  1. Most asked Explain `any`, `unknown` and `never`.
  2. Most asked Explain conditional types and the `infer` keyword.
  3. Most asked How do function overloads work in TypeScript and when are they better than unions?
  4. Most asked Explain `keyof`, `typeof` (in type position) and indexed access types.
  5. How does type inference work in TypeScript, and when should you annotate explicitly?
  6. How do optional chaining (`?.`) and nullish coalescing (`??`) work with types?
  7. Explain `void` as a return type and why a callback typed `() => void` can return a value.
  8. How are tuples typed in TypeScript, including labeled and variadic tuples?
  9. Can Node.js run TypeScript directly?
  10. How do path aliases (`@/components`) work, and what's the common pitfall?
  11. How does TypeScript type `this`?
  12. Explain `Exclude`, `Extract` and `NonNullable`.
  13. How are generators and iterators typed?
  14. Can you get TypeScript checking in plain JavaScript files?
  15. Can you pass a `readonly string[]` to a function expecting `string[]`?
  16. How can generics make a builder pattern type-safe (e.g., tracking which fields are set)?
  17. How can `Record<Union, T>` catch bugs when a union grows?
  18. How are getters, setters and the `accessor` keyword typed?
  19. How does the `in` operator narrow union types?
  20. How do you safely work with DOM elements in TypeScript?

HTML & CSS Core 4

  1. How do responsive images work with srcset, sizes and picture?
  2. How should headings be structured on a page?
  3. Is target="_blank" on links a security risk?
  4. Who maintains HTML today, and what is the Living Standard?

API Design Core 9

  1. Most asked How do idempotency keys work for POST requests?
  2. How should APIs format error responses?
  3. How should APIs support filtering, sorting and field selection?
  4. How should an API communicate rate limits to clients?
  5. How do APIs prevent lost updates from concurrent edits?
  6. How should APIs represent dates, times and money?
  7. How should APIs handle large file uploads and downloads?
  8. How can APIs leverage HTTP caching?
  9. How do APIs handle localization?

Databases & Transactions Core 5

  1. Most asked Explain transaction isolation levels and the anomalies they prevent.
  2. Most asked How do database indexes work and when do they help or hurt?
  3. How does database replication work, and what is replication lag?
  4. How do you scale a relational database?
  5. How does the CAP theorem apply to databases?

SQL & Databases Core 35

  1. Most asked SQL interview: explain INNER JOIN.
  2. Most asked SQL interview: explain LEFT JOIN.
  3. Most asked SQL interview: explain GROUP BY.
  4. Most asked SQL interview: explain HAVING.
  5. Most asked SQL interview: explain window functions.
  6. Most asked SQL interview: explain ACID.
  7. Most asked SQL interview: explain isolation levels.
  8. Most asked Data modeling: normalization 1NF/2NF/3NF?
  9. Most asked Indexing/performance: B-tree index?
  10. Most asked Indexing/performance: EXPLAIN / EXPLAIN ANALYZE?
  11. SQL interview: explain SELECT filtering.
  12. SQL interview: explain NULL semantics.
  13. SQL interview: explain transactions.
  14. Data modeling: primary key?
  15. Data modeling: foreign key?
  16. Data modeling: many-to-many?
  17. Indexing/performance: composite index?
  18. Indexing/performance: index write overhead?
  19. SQL interview: explain RIGHT / FULL JOIN.
  20. SQL interview: explain ORDER BY / LIMIT.
  21. SQL interview: explain subqueries.
  22. SQL interview: explain CTEs (WITH).
  23. SQL interview: explain CASE expressions.
  24. SQL interview: explain dirty/nonrepeatable/phantom reads.
  25. Data modeling: denormalization?
  26. Data modeling: constraints?
  27. Indexing/performance: covering index?
  28. Indexing/performance: cardinality?
  29. Indexing/performance: vacuum / analyze (Postgres)?
  30. SQL interview: explain CROSS JOIN.
  31. SQL interview: explain DISTINCT.
  32. Data modeling: star schema?
  33. Data modeling: 1:1 relationships?
  34. Indexing/performance: hash index?
  35. Indexing/performance: partial index?

Authentication Core 7

  1. Most asked Explain the OAuth 2.0 Authorization Code flow with PKCE.
  2. Most asked How do refresh tokens work, and how do you secure them?
  3. Most asked How should passwords be stored?
  4. How do services authenticate to each other?
  5. How should mobile apps handle authentication?
  6. How does JWKS-based key rotation work for JWTs?
  7. How does authentication change in multi-tenant B2B applications?

Next.js Developer Recommended 28

  1. Most asked Explain the App Router file conventions: page, layout, loading, error, not-found, template and route.
  2. Most asked How does data fetching work in the App Router?
  3. Most asked How did caching defaults change in Next.js 15?
  4. Most asked Explain SSR, SSG, ISR and CSR in Next.js.
  5. Most asked What happens, step by step, when a request reaches a Next.js App Router application?
  6. Most asked How do dynamic routes, catch-all and optional catch-all segments work?
  7. Most asked How does streaming with Suspense work in Next.js?
  8. Most asked How do `revalidatePath` and `revalidateTag` work?
  9. Most asked How do environment variables work in Next.js, and what is exposed to the browser?
  10. Most asked How do `getServerSideProps`, `getStaticProps` and `getStaticPaths` work in the Pages Router?
  11. How can a Client Component render Server Component content?
  12. Describe the caching layers in the Next.js App Router.
  13. How does navigation work with `<Link>` and `useRouter` in the App Router?
  14. How does error handling work in the App Router?
  15. How does `next/dynamic` work and when do you use it?
  16. How do redirects, rewrites and headers work in `next.config`?
  17. How does state management change with Server Components?
  18. How does React 19's `use()` hook help with data in Next.js?
  19. How are static assets served in Next.js?
  20. How do `redirect()`, `permanentRedirect()` and `notFound()` work?
  21. How does Next.js support TypeScript?
  22. How should errors in Server Actions be handled for good UX?
  23. How do you make a Route Handler's GET response static or cached?
  24. How do you stream a response (e.g., AI tokens) from a Route Handler?
  25. How does image optimization work when self-hosting Next.js?
  26. How do you call a Server Action from an event handler instead of a form?
  27. How do you handle runtime configuration that changes per environment without rebuilding?
  28. How does Next.js protect against XSS and where can you still introduce it?

Node.js Developer Recommended 25

  1. Most asked Explain the phases of the Node.js event loop.
  2. Most asked How has asynchronous code evolved in Node.js: callbacks, Promises and async/await?
  3. Most asked How does middleware work in Express?
  4. Most asked How do you work with relational databases efficiently in Node.js?
  5. Most asked Walk through how an Express app handles a request, including errors from async handlers.
  6. Most asked How should errors be handled in a Node.js application?
  7. Most asked How do you scale a Node.js application?
  8. How should configuration and secrets be managed in Node.js?
  9. How do `AbortController` and `AbortSignal` work in Node?
  10. Explain semantic versioning ranges like `^1.2.3` and `~1.2.3`.
  11. How does Node.js's release schedule work, and which versions should production use?
  12. How do you handle large file uploads in Node.js?
  13. How does V8's garbage collector work, and how does it affect Node apps?
  14. How do Node.js microservices communicate reliably?
  15. What happens to other requests when one request blocks the Node.js event loop?
  16. How should a Node.js process exit, and why prefer `process.exitCode` over `process.exit()`?
  17. How does Node resolve packages, and what does the `exports` field do?
  18. How can large JSON payloads hurt Node.js performance, and what are alternatives?
  19. How does module caching work in Node.js?
  20. How do you handle dates and timezones correctly in Node.js?
  21. How does Fastify's plugin system and encapsulation work?
  22. Describe NestJS's core building blocks.
  23. Does Node.js support HTTP/2 and when would you use it directly?
  24. How are feature flags used in Node.js services?
  25. How does the `cluster` module distribute connections, and why might you need sticky sessions?

Python Developer Recommended 47

  1. Most asked Explain generators in Python.
  2. Most asked Explain decorators in Python.
  3. Most asked Explain context managers in Python.
  4. Most asked Explain GIL in Python.
  5. Most asked Backend Python interview: explain N+1 queries.
  6. Most asked Backend Python interview: explain SQL injection prevention.
  7. Most asked Explain LEGB scoping in Python.
  8. Most asked Explain *args and **kwargs in Python.
  9. Most asked Explain list/dict/set comprehensions in Python.
  10. Most asked Explain dataclasses in Python.
  11. Most asked Explain dunder methods in Python.
  12. Most asked Explain structural pattern matching (`match`/`case`).
  13. Most asked Walk through the request/response lifecycle in Django, and explain why middleware order matters.
  14. Most asked Explain MRO / C3 in Python.
  15. Explain __name__ == '__main__' in Python.
  16. Python packaging: virtualenv why?
  17. Backend Python interview: explain REST API design.
  18. Backend Python interview: explain migrations.
  19. How does asyncio work internally: event loop, coroutines, tasks and futures?
  20. Explain typing / type hints in Python.
  21. Explain exceptions hierarchy in Python.
  22. Python packaging: dependency pinning?
  23. Backend Python interview: explain FastAPI / Starlette.
  24. Backend Python interview: explain connection pooling.
  25. Backend Python interview: explain caching strategies.
  26. Backend Python interview: explain JWT pitfalls.
  27. Backend Python interview: explain idempotent APIs.
  28. Backend Python interview: explain background jobs.
  29. Backend Python interview: explain observability.
  30. Backend Python interview: explain 12-factor config.
  31. How do cancellation and timeouts work in asyncio?
  32. How does CPython manage memory?
  33. Explain slots in Python.
  34. Explain ABC / Protocol in Python.
  35. Explain property / descriptor in Python.
  36. Python packaging: semantic versioning?
  37. Python packaging: editable installs?
  38. Python packaging: entry points / scripts?
  39. Backend Python interview: explain rate limiting.
  40. How do you handle dates and time zones correctly in Python?
  41. How do `functools.cache`, `lru_cache` and `cached_property` work, and what are the pitfalls?
  42. How did annotation evaluation change in Python 3.14?
  43. How do sorting, `heapq` and `bisect` help with common algorithmic tasks?
  44. How do classic design patterns look in idiomatic Python?
  45. How do descriptors power properties, methods and ORMs?
  46. Python packaging: namespace packages?
  47. How does Python's garbage collection work?

Docker Recommended 8

  1. Most asked How does Docker build caching work, and how do you order a Dockerfile to use it well?
  2. Most asked Volumes, bind mounts and tmpfs: when do you use each?
  3. Most asked How does Docker networking work? Explain bridge, host and user-defined networks.
  4. How do container logs work in Docker, and how do you stop them filling the disk?
  5. How do you handle configuration for containers across environments?
  6. Explain what happens when you run docker run nginx.
  7. How do you handle time zones, locales and certificates in minimal images?
  8. Docker Compose in production: is it appropriate?

Testing Recommended 3

  1. Most asked Is 100% code coverage a good goal?
  2. What is the test pyramid, and when does it not fit?
  3. Where do performance tests fit in a test strategy?

Caching Recommended 12

  1. Most asked Explain the main caching patterns: cache-aside, read-through, write-through and write-behind.
  2. Most asked How does HTTP caching work (Cache-Control, ETag, CDNs)?
  3. Most asked In cache-aside, why can a value be stale even though you delete the key on every write?
  4. Most asked How can a CDN leak one user's data to another, and how do you prevent it?
  5. Most asked In a system design interview, how do you decide what and where to cache?
  6. Most asked How does stale-while-revalidate work, and when is it inappropriate?
  7. How do you handle hot keys in a distributed cache?
  8. How does Redis scale and stay available?
  9. What happens if the cache goes down, and how do you design for it?
  10. How do frontend applications cache server data?
  11. How does a Bloom filter help in caching systems?
  12. How do you invalidate thousands of related cache keys (e.g. all pages of a category) efficiently?

Web Security & WAF Recommended 4

  1. Most asked How do rate-limiting algorithms work (fixed window, sliding window, token bucket)?
  2. How do you handle file uploads securely?
  3. How should applications manage secrets?
  4. How do cookie prefixes like __Host- and __Secure- improve security?

Behavioral & STAR Recommended 8

  1. Most asked Describe a disagreement you had with a coworker and how you resolved it.
  2. Most asked Describe a mistake that had a significant impact and how you handled it.
  3. Most asked Describe a project you owned from start to finish.
  4. Describe a situation where you had to make a decision without all the information you wanted.
  5. Describe how you decide what to work on when everything feels urgent.
  6. Describe how you handle working on something without a clear owner.
  7. Describe your approach to onboarding a new team member.
  8. Describe how you typically respond to criticism.

Was this page helpful?

Report a mistake