Full Stack Engineer · interview questions
Full Stack Engineer interview questions: definition
From the role's core and recommended topics, most asked first. Filter by the kind of answer the question wants.
React Developer Core 16
- Most asked What are the most important changes in React 19?
- Most asked What is concurrent rendering in React?
- Most asked What are the pitfalls of fetching data in `useEffect`, and how do you avoid race conditions?
- What is `useFormStatus` and where must it be used?
- What does the `use()` API do?
- What is the React Compiler and how does it affect `useMemo`/`useCallback`?
- What is the compound components pattern?
- What are stale closures in React hooks and how do you fix them?
- What resource preloading APIs does React DOM provide?
- What is the `<Activity>` component (React 19.2)?
- What problem does `useEffectEvent` (React 19.2) solve?
- What is `useSyncExternalStore` for?
- What are the trade-offs between Tailwind, CSS Modules and CSS-in-JS in React?
- What are micro-frontends and what are their trade-offs in React?
- What breaking changes should you check when upgrading to React 19?
- What is `useInsertionEffect` for?
TypeScript Developer Core 33
- Most asked What is TypeScript and what problems does it solve?
- Most asked What are the differences between `interface` and `type` aliases?
- Most asked What is structural typing in TypeScript?
- Most asked What is type narrowing and what techniques does TypeScript support?
- Most asked What are discriminated unions and why are they powerful?
- Most asked What are generics and how do constraints work?
- Most asked What are mapped types? Show how `Partial` or `Readonly` could be implemented.
- Most asked What does `as const` do?
- Most asked What are union types and how do you work with them safely?
- What are template literal types?
- What are covariance and contravariance in TypeScript function types?
- What are declaration files (`.d.ts`) and how do you type a JavaScript library without types?
- What are `import type`, `isolatedModules` and `verbatimModuleSyntax`?
- What are index signatures and how do they relate to `Record`?
- What are project references and when do you use them?
- What are excess property checks and when do they apply?
- What changed with decorators in TypeScript 5.0?
- What are `using` declarations (TypeScript 5.2)?
- What are `const` type parameters (TS 5.0) and `NoInfer` (TS 5.4)?
- What is `strictPropertyInitialization` and the definite assignment assertion (`!:`)?
- What do `Parameters`, `ConstructorParameters`, `InstanceType` and `ReturnType` give you?
- What does typescript-eslint add beyond the compiler?
- What is the Result pattern in TypeScript and when is it preferable to exceptions?
- What is a `unique symbol` type?
- What do the `target` and `lib` compiler options control?
- What are generic defaults and when are they useful?
- What are phantom types and how do they relate to branding?
- What is contextual typing?
- What is literal type widening?
- What is the native TypeScript compiler port (TypeScript 7 / tsgo)?
- What do you do when TypeScript infers a generic type parameter too broadly or as `unknown`?
- What should teams expect from TypeScript 6.0?
- What TypeScript practices do you look for in code reviews?
HTML & CSS Core 20
- Most asked What is HTML?
- Most asked What is HTML5, and how is it different from HTML 4?
- Most asked What is semantic HTML, and why does it matter?
- Most asked What is the alt attribute for, and what makes good alt text?
- Most asked What input types and validation attributes did HTML5 add?
- Most asked What is ARIA, and what is the first rule of ARIA?
- Most asked What does <!DOCTYPE html> do?
- What goes in the head of an HTML document, and what goes in the body?
- What do the autocomplete and inputmode attributes do?
- What does the viewport meta tag do?
- What is structured data (JSON-LD), and why add it?
- What is the DOM, and how does the browser build it from HTML?
- What are data-* attributes for?
- What do the dialog element and the popover attribute provide?
- What does the sandbox attribute on an iframe do?
- What are resource hints such as preload and preconnect?
- What are HTML entities and when do you need them?
- What is the details element used for?
- What is the template element?
- What are web components?
API Design Core 6
Databases & Transactions Core 11
- Most asked What does ACID mean?
- Most asked What is the N+1 query problem and how do you fix it?
- Most asked What is connection pooling and how do you size a pool?
- What is normalization, and when should you denormalize?
- What are partitioning and sharding, and what are their trade-offs?
- What is the transactional outbox pattern?
- What are the pros and cons of using an ORM?
- What are the trade-offs of soft deletes?
- What is MVCC and how does it affect performance?
- What is read-your-writes consistency and how do you provide it?
- What are key database security practices?
SQL & Databases Core 1
Authentication Core 12
- Most asked What are the most common JWT security pitfalls?
- Most asked What is multi-factor authentication, and which factors are strongest?
- What are passkeys (WebAuthn) and why are they phishing-resistant?
- What is session fixation and how do you prevent it?
- What is user enumeration and how do you avoid it?
- What is the Backend-for-Frontend (BFF) pattern for authentication in SPAs?
- What are OAuth scopes, and are they enough for authorization?
- What signals and controls help detect account takeover?
- What are sender-constrained tokens (DPoP, mTLS-bound tokens)?
- What are the security considerations of passwordless magic links?
- What does zero trust mean for authentication?
- What is HTTP Basic authentication and when is it acceptable?
Next.js Developer Recommended 30
- Most asked What is Next.js and what problems does it solve on top of React?
- Most asked What are the differences between the App Router and the Pages Router?
- Most asked What are Server Actions and how do you use them for mutations?
- Most asked What is Next.js middleware (renamed `proxy` in Next.js 16) and what should it be used for?
- Most asked What does `next/image` do?
- What are route groups, parallel routes and intercepting routes?
- What are `usePathname`, `useSearchParams` and `useParams`, and what's the Suspense caveat?
- What are the options for deploying a Next.js application?
- What is a Data Access Layer (DAL) and why is it recommended in Next.js?
- What security considerations apply specifically to Server Actions and Server Components?
- What is the RSC payload?
- What does `next/font` provide?
- What is `useOptimistic` and how does it work with Server Actions?
- What is Turbopack?
- What is Partial Prerendering (PPR) / Cache Components?
- What does the `'use cache'` directive do?
- What is the `after()` API in Next.js 15?
- What styling options work with the App Router and Server Components?
- What does `generateStaticParams` do and what is `dynamicParams`?
- What are route segment config options?
- What does Next.js do for accessibility, and what remains your job?
- What is `output: 'export'` and what are its limitations?
- What is the `next/form` component?
- What do the `server-only` and `client-only` packages do?
- What breaking changes should you expect when upgrading to Next.js 15?
- What are notable changes in Next.js 16?
- What is Draft Mode and how is it used with a headless CMS?
- What is required in the root layout of an App Router app?
- What is the React Compiler and how does it relate to Next.js?
- What do the symbols in `next build` output (○, ●, ƒ) mean?
Node.js Developer Recommended 24
- Most asked What is Node.js and why is it well suited to I/O-heavy servers?
- Most asked What are streams in Node.js and what is backpressure?
- Most asked What are the differences between CommonJS and ES modules in Node.js?
- Most asked What does libuv's thread pool do, and which operations use it?
- Most asked What are key security practices for Node.js web applications?
- What is a `Buffer` in Node.js?
- What is the `EventEmitter` and where is it used?
- What is prototype pollution and how do you prevent it?
- What is `AsyncLocalStorage` and how is it used?
- What are best practices for running Node.js in Docker?
- What is NoSQL injection in Node/MongoDB apps and how do you prevent it?
- What is Node.js's permission model?
- What are hidden classes and inline caches in V8, and why do they matter for performance?
- What do `timer.unref()` and `ref()` do?
- What are dependencies, devDependencies and peerDependencies?
- What is PM2 and is it still needed with containers?
- What is a circuit breaker and how would you use one in Node.js?
- What are best practices for using the `fs` module?
- What does the Twelve-Factor App methodology recommend for Node services?
- What are Node.js Single Executable Applications (SEA)?
- What is `node:diagnostics_channel` used for?
- What is `node:sqlite`?
- What is the Backend-for-Frontend (BFF) pattern and why is Node popular for it?
- What are the options for running TypeScript in a Node.js backend?
Python Developer Recommended 16
- Most asked What is the late-binding closure gotcha in Python?
- Most asked What do EAFP and LBYL mean, and which is more Pythonic?
- What is free-threaded Python (PEP 703) and how does it change the GIL story?
- What are exception groups and `except*` (Python 3.11)?
- What does the Python 3.12 generic syntax (PEP 695) look like, and how do `TypeVar`, `ParamSpec` and `Self` fit in?
- What are metaclasses, and when is `__init_subclass__` a simpler alternative?
- What does a modern Python toolchain look like?
- What is the walrus operator (`:=`) and when is it useful?
- What notable improvements came in Python 3.11 through 3.14?
- What are template strings (t-strings) in Python 3.14?
- What are weak references in Python and when do you use them?
- What are the pitfalls of `multiprocessing`?
- What are common security pitfalls in Python applications?
- What do `send()`, `throw()`, `close()` and `yield from` do with generators?
- What goes into a modern `pyproject.toml`?
- What are subinterpreters in Python 3.14?
Docker Recommended 11
- Most asked What are multi-stage builds, and why use them?
- Most asked What are Dockerfile best practices for production images?
- Most asked What is Docker Compose used for, and how do you handle service start-up order?
- Most asked What is a software supply chain attack on containers, and how do you defend against it?
- What is BuildKit, and what does docker buildx add?
- What does HEALTHCHECK do in a Dockerfile, and do orchestrators use it?
- What is the OCI, and how do Docker, containerd, runc and Podman relate?
- What is the Docker build context, and why does it matter?
- What is Docker Swarm, and why do most teams use Kubernetes or managed services instead?
- What are rootless Docker and user namespaces?
- What changed with Docker Desktop licensing, and what are the alternatives?
Testing Recommended 12
- Most asked What is the test pyramid, and is it still relevant?
- What is test-driven development (TDD) and when is it useful?
- What is contract testing?
- What is contract testing, and when would you use it?
- What is exploratory testing, and how do you do it well?
- What is property-based testing?
- What are snapshot tests, and what are their risks?
- What are ephemeral (preview) environments and why use them?
- What is chaos engineering?
- What should API tests verify?
- What are smoke tests?
- What is mutation testing?
Caching Recommended 8
- Most asked What is a cache stampede (thundering herd) and how do you prevent it?
- Most asked What are the risks of caching personalized or authorized data?
- What are cache eviction policies (LRU, LFU, TTL) and how do you choose?
- What are the different layers where you can cache in a web system?
- What are the risks of write-behind caching?
- What must a cache key include for an API response in a multi-tenant app?
- What is negative caching and why is it useful?
- What is cache warming and when is it needed?
Web Security & WAF Recommended 22
- Most asked What is the OWASP Top 10 and which risks does it currently highlight?
- Most asked What is Cross-Site Scripting (XSS) and how do you prevent it?
- Most asked What is SQL injection and how do you prevent it?
- Most asked What is CSRF and how do you defend against it?
- Most asked What is a Web Application Firewall (WAF), and what can and can't it do?
- Most asked What is SSRF (Server-Side Request Forgery) and how do you prevent it?
- What is Content-Security-Policy and how do you roll it out?
- What is CORS, and what are common CORS misconfigurations?
- What are common security misconfigurations in web deployments?
- What are insecure deserialization vulnerabilities?
- What is clickjacking and how do you prevent it?
- What are best practices for TLS/HTTPS?
- What is threat modeling and how do you run one?
- What is an open redirect vulnerability?
- What is command injection and how do you prevent it?
- What is path traversal and how do you prevent it?
- What are software and data integrity failures?
- What are common cryptographic failures?
- What new security risks do LLM-powered features introduce?
- What does the OWASP API Security Top 10 add beyond the web Top 10?
- What is XXE (XML External Entity) injection?
- What is subdomain takeover?