Interview Q&A · questions with model answers
Node.js Developer Interview Questions
Part of the study plan for: Full Stack Engineer
Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.
-
Why does HTTP keep-alive matter for outbound requests in Node?
Without keep-alive, each request opens a new TCP (and TLS) connection, adding latency and CPU and exhausting ephemeral ports under load. Keep-alive agents reuse connections; undici/fetch does this…
-
What tooling keeps a Node.js codebase healthy?
ESLint (with typescript-eslint and security/promise plugins) or Biome, Prettier (or Biome) for formatting, TypeScript type checking, tests with coverage, dependency auditing, commit hooks…