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
- Most asked Explain React concept: JSX.
- Most asked Explain React concept: props.
- Most asked Explain React concept: state.
- Most asked Explain React concept: unidirectional data flow.
- Most asked Explain React concept: keys in lists.
- Most asked Explain React concept: lifting state up.
- Most asked Explain React concept: reconciliation.
- Most asked React performance: React.memo?
- Explain React concept: components.
- Discuss testing-library in React applications.
- Discuss accessibility (a11y) in React applications.
- How do Actions and `useActionState` work in React 19?
- Explain React concept: derived state anti-pattern.
- Explain React concept: pure components.
- Explain React concept: error boundaries.
- Explain React concept: Suspense.
- Explain React concept: lazy / code splitting.
- React performance: virtualization?
- React performance: profiling?
- Discuss React Router in React applications.
- Discuss TanStack Query in React applications.
- Discuss Vitest/Jest in React applications.
- Discuss Next.js in React applications.
- Discuss forms in React applications.
- Discuss auth patterns in React applications.
- How does `useOptimistic` implement optimistic UI?
- How did refs change in React 19?
- How does TanStack Query manage server state?
- How do server-side rendering and hydration work in React?
- How should React components be tested?
- What happens in the browser from navigation until a React page shows its data, and how do you avoid request waterfalls?
- Explain React concept: fragments.
- Explain React concept: portals.
- Explain React concept: Strict Mode.
- Explain React concept: Server Components (RSC).
- React performance: avoid inline object props?
- React performance: key remounting?
- React performance: batching?
- React performance: concurrent features?
- React performance: bundle analysis?
- Discuss CSS modules / Tailwind in React applications.
- How does React 19 handle `<title>`, `<meta>` and stylesheets rendered in components?
- How does React's event system work?
- How do XSS risks show up in React apps?
- How do error boundaries interact with async errors and event handlers?
- How should a React SPA handle authentication tokens securely?
- How do class component lifecycle methods map to hooks?
- In an RSC app, how do you decide what should be a Client Component?
- How does automatic batching work in React 18+?
- How does useEffect work in functional React components?
TypeScript Developer Core 20
- Most asked Explain `any`, `unknown` and `never`.
- Most asked Explain conditional types and the `infer` keyword.
- Most asked How do function overloads work in TypeScript and when are they better than unions?
- Most asked Explain `keyof`, `typeof` (in type position) and indexed access types.
- How does type inference work in TypeScript, and when should you annotate explicitly?
- How do optional chaining (`?.`) and nullish coalescing (`??`) work with types?
- Explain `void` as a return type and why a callback typed `() => void` can return a value.
- How are tuples typed in TypeScript, including labeled and variadic tuples?
- Can Node.js run TypeScript directly?
- How do path aliases (`@/components`) work, and what's the common pitfall?
- How does TypeScript type `this`?
- Explain `Exclude`, `Extract` and `NonNullable`.
- How are generators and iterators typed?
- Can you get TypeScript checking in plain JavaScript files?
- Can you pass a `readonly string[]` to a function expecting `string[]`?
- How can generics make a builder pattern type-safe (e.g., tracking which fields are set)?
- How can `Record<Union, T>` catch bugs when a union grows?
- How are getters, setters and the `accessor` keyword typed?
- How does the `in` operator narrow union types?
- How do you safely work with DOM elements in TypeScript?
HTML & CSS Core 4
API Design Core 9
- Most asked How do idempotency keys work for POST requests?
- How should APIs format error responses?
- How should APIs support filtering, sorting and field selection?
- How should an API communicate rate limits to clients?
- How do APIs prevent lost updates from concurrent edits?
- How should APIs represent dates, times and money?
- How should APIs handle large file uploads and downloads?
- How can APIs leverage HTTP caching?
- How do APIs handle localization?
Databases & Transactions Core 5
SQL & Databases Core 35
- Most asked SQL interview: explain INNER JOIN.
- Most asked SQL interview: explain LEFT JOIN.
- Most asked SQL interview: explain GROUP BY.
- Most asked SQL interview: explain HAVING.
- Most asked SQL interview: explain window functions.
- Most asked SQL interview: explain ACID.
- Most asked SQL interview: explain isolation levels.
- Most asked Data modeling: normalization 1NF/2NF/3NF?
- Most asked Indexing/performance: B-tree index?
- Most asked Indexing/performance: EXPLAIN / EXPLAIN ANALYZE?
- SQL interview: explain SELECT filtering.
- SQL interview: explain NULL semantics.
- SQL interview: explain transactions.
- Data modeling: primary key?
- Data modeling: foreign key?
- Data modeling: many-to-many?
- Indexing/performance: composite index?
- Indexing/performance: index write overhead?
- SQL interview: explain RIGHT / FULL JOIN.
- SQL interview: explain ORDER BY / LIMIT.
- SQL interview: explain subqueries.
- SQL interview: explain CTEs (WITH).
- SQL interview: explain CASE expressions.
- SQL interview: explain dirty/nonrepeatable/phantom reads.
- Data modeling: denormalization?
- Data modeling: constraints?
- Indexing/performance: covering index?
- Indexing/performance: cardinality?
- Indexing/performance: vacuum / analyze (Postgres)?
- SQL interview: explain CROSS JOIN.
- SQL interview: explain DISTINCT.
- Data modeling: star schema?
- Data modeling: 1:1 relationships?
- Indexing/performance: hash index?
- Indexing/performance: partial index?
Authentication Core 7
- Most asked Explain the OAuth 2.0 Authorization Code flow with PKCE.
- Most asked How do refresh tokens work, and how do you secure them?
- Most asked How should passwords be stored?
- How do services authenticate to each other?
- How should mobile apps handle authentication?
- How does JWKS-based key rotation work for JWTs?
- How does authentication change in multi-tenant B2B applications?
Next.js Developer Recommended 28
- Most asked Explain the App Router file conventions: page, layout, loading, error, not-found, template and route.
- Most asked How does data fetching work in the App Router?
- Most asked How did caching defaults change in Next.js 15?
- Most asked Explain SSR, SSG, ISR and CSR in Next.js.
- Most asked What happens, step by step, when a request reaches a Next.js App Router application?
- Most asked How do dynamic routes, catch-all and optional catch-all segments work?
- Most asked How does streaming with Suspense work in Next.js?
- Most asked How do `revalidatePath` and `revalidateTag` work?
- Most asked How do environment variables work in Next.js, and what is exposed to the browser?
- Most asked How do `getServerSideProps`, `getStaticProps` and `getStaticPaths` work in the Pages Router?
- How can a Client Component render Server Component content?
- Describe the caching layers in the Next.js App Router.
- How does navigation work with `<Link>` and `useRouter` in the App Router?
- How does error handling work in the App Router?
- How does `next/dynamic` work and when do you use it?
- How do redirects, rewrites and headers work in `next.config`?
- How does state management change with Server Components?
- How does React 19's `use()` hook help with data in Next.js?
- How are static assets served in Next.js?
- How do `redirect()`, `permanentRedirect()` and `notFound()` work?
- How does Next.js support TypeScript?
- How should errors in Server Actions be handled for good UX?
- How do you make a Route Handler's GET response static or cached?
- How do you stream a response (e.g., AI tokens) from a Route Handler?
- How does image optimization work when self-hosting Next.js?
- How do you call a Server Action from an event handler instead of a form?
- How do you handle runtime configuration that changes per environment without rebuilding?
- How does Next.js protect against XSS and where can you still introduce it?
Node.js Developer Recommended 25
- Most asked Explain the phases of the Node.js event loop.
- Most asked How has asynchronous code evolved in Node.js: callbacks, Promises and async/await?
- Most asked How does middleware work in Express?
- Most asked How do you work with relational databases efficiently in Node.js?
- Most asked Walk through how an Express app handles a request, including errors from async handlers.
- Most asked How should errors be handled in a Node.js application?
- Most asked How do you scale a Node.js application?
- How should configuration and secrets be managed in Node.js?
- How do `AbortController` and `AbortSignal` work in Node?
- Explain semantic versioning ranges like `^1.2.3` and `~1.2.3`.
- How does Node.js's release schedule work, and which versions should production use?
- How do you handle large file uploads in Node.js?
- How does V8's garbage collector work, and how does it affect Node apps?
- How do Node.js microservices communicate reliably?
- What happens to other requests when one request blocks the Node.js event loop?
- How should a Node.js process exit, and why prefer `process.exitCode` over `process.exit()`?
- How does Node resolve packages, and what does the `exports` field do?
- How can large JSON payloads hurt Node.js performance, and what are alternatives?
- How does module caching work in Node.js?
- How do you handle dates and timezones correctly in Node.js?
- How does Fastify's plugin system and encapsulation work?
- Describe NestJS's core building blocks.
- Does Node.js support HTTP/2 and when would you use it directly?
- How are feature flags used in Node.js services?
- How does the `cluster` module distribute connections, and why might you need sticky sessions?
Python Developer Recommended 47
- Most asked Explain generators in Python.
- Most asked Explain decorators in Python.
- Most asked Explain context managers in Python.
- Most asked Explain GIL in Python.
- Most asked Backend Python interview: explain N+1 queries.
- Most asked Backend Python interview: explain SQL injection prevention.
- Most asked Explain LEGB scoping in Python.
- Most asked Explain *args and **kwargs in Python.
- Most asked Explain list/dict/set comprehensions in Python.
- Most asked Explain dataclasses in Python.
- Most asked Explain dunder methods in Python.
- Most asked Explain structural pattern matching (`match`/`case`).
- Most asked Walk through the request/response lifecycle in Django, and explain why middleware order matters.
- Most asked Explain MRO / C3 in Python.
- Explain __name__ == '__main__' in Python.
- Python packaging: virtualenv why?
- Backend Python interview: explain REST API design.
- Backend Python interview: explain migrations.
- How does asyncio work internally: event loop, coroutines, tasks and futures?
- Explain typing / type hints in Python.
- Explain exceptions hierarchy in Python.
- Python packaging: dependency pinning?
- Backend Python interview: explain FastAPI / Starlette.
- Backend Python interview: explain connection pooling.
- Backend Python interview: explain caching strategies.
- Backend Python interview: explain JWT pitfalls.
- Backend Python interview: explain idempotent APIs.
- Backend Python interview: explain background jobs.
- Backend Python interview: explain observability.
- Backend Python interview: explain 12-factor config.
- How do cancellation and timeouts work in asyncio?
- How does CPython manage memory?
- Explain slots in Python.
- Explain ABC / Protocol in Python.
- Explain property / descriptor in Python.
- Python packaging: semantic versioning?
- Python packaging: editable installs?
- Python packaging: entry points / scripts?
- Backend Python interview: explain rate limiting.
- How do you handle dates and time zones correctly in Python?
- How do `functools.cache`, `lru_cache` and `cached_property` work, and what are the pitfalls?
- How did annotation evaluation change in Python 3.14?
- How do sorting, `heapq` and `bisect` help with common algorithmic tasks?
- How do classic design patterns look in idiomatic Python?
- How do descriptors power properties, methods and ORMs?
- Python packaging: namespace packages?
- How does Python's garbage collection work?
Docker Recommended 8
- Most asked How does Docker build caching work, and how do you order a Dockerfile to use it well?
- Most asked Volumes, bind mounts and tmpfs: when do you use each?
- Most asked How does Docker networking work? Explain bridge, host and user-defined networks.
- How do container logs work in Docker, and how do you stop them filling the disk?
- How do you handle configuration for containers across environments?
- Explain what happens when you run docker run nginx.
- How do you handle time zones, locales and certificates in minimal images?
- Docker Compose in production: is it appropriate?
Testing Recommended 3
Caching Recommended 12
- Most asked Explain the main caching patterns: cache-aside, read-through, write-through and write-behind.
- Most asked How does HTTP caching work (Cache-Control, ETag, CDNs)?
- Most asked In cache-aside, why can a value be stale even though you delete the key on every write?
- Most asked How can a CDN leak one user's data to another, and how do you prevent it?
- Most asked In a system design interview, how do you decide what and where to cache?
- Most asked How does stale-while-revalidate work, and when is it inappropriate?
- How do you handle hot keys in a distributed cache?
- How does Redis scale and stay available?
- What happens if the cache goes down, and how do you design for it?
- How do frontend applications cache server data?
- How does a Bloom filter help in caching systems?
- How do you invalidate thousands of related cache keys (e.g. all pages of a category) efficiently?
Web Security & WAF Recommended 4
Behavioral & STAR Recommended 8
- Most asked Describe a disagreement you had with a coworker and how you resolved it.
- Most asked Describe a mistake that had a significant impact and how you handled it.
- Most asked Describe a project you owned from start to finish.
- Describe a situation where you had to make a decision without all the information you wanted.
- Describe how you decide what to work on when everything feels urgent.
- Describe how you handle working on something without a clear owner.
- Describe your approach to onboarding a new team member.
- Describe how you typically respond to criticism.