Skip to main content
Journey Uncommon Logo
JourneyUncommon
NODEJS · PRACTICE

NodeJS interview questions.

Node puts JavaScript on the server with a single-threaded event loop and a large streaming and process API surface.

519questions
103easy
216medium
200hard

Event-loop phases, the difference between setImmediate and process.nextTick, backpressure on streams, cluster and worker threads, and how to avoid blocking the loop.

Where it shows up: API services, BFF layers, build tooling, and serverless functions across most JavaScript-first companies.

Sample NodeJS questions

Twenty real NodeJS questions from the library, code snippet included. Nothing here is paraphrased for search engines. It is the same text a signed-in user sees.

Sign in to answer

Everything above is free to read. Answering needs a free account.

We keep the correct answer, the explanation and the scoring behind sign-in so the platform stays honest, which is why the answer options and the worked explanation for every NodeJS question stay behind a free account. Signing in is free and takes a few seconds.

NodeJS topics covered

48 distinct NodeJS topics are tagged across the library. These are the real topic labels stored on the questions, not a hand-written list.

  • Worker threads basics (24)
  • V8 garbage collection (23)
  • child_process spawning (22)
  • streams backpressure internals (21)
  • event loop phases (19)
  • memory leak debugging (18)
  • async_hooks execution context (18)
  • graceful shutdown handling (17)
  • readable vs writable streams (16)
  • process.nextTick vs setImmediate (15)
  • promises and async await (15)
  • CommonJS vs ES modules (14)
  • crypto hashing signing (14)
  • piping streams (12)
  • Buffer for binary data (12)
  • async_hooks for context (12)
  • native addons N-API (12)
  • custom EventEmitter classes (12)
  • npm and package.json (11)
  • libuv thread pool (11)
  • SharedArrayBuffer and Atomics (11)
  • V8 hidden classes (11)
  • callbacks error-first (10)
  • cluster for multi-core (10)
  • Buffer pool and allocation (10)
  • C++ bindings and the bridge (10)
  • --max-old-space-size tuning (10)
  • AbortController cancellation (10)
  • microtasks vs timer phase (10)
  • worker_threads memory sharing (9)
  • fs file reading writing (9)
  • require and module.exports (9)
  • DNS and IO blocking the loop (9)
  • http server basics (8)
  • process.nextTick queue order (8)
  • cluster and socket sharing (8)
  • perf_hooks timing (8)
  • path and __dirname (7)
  • process.env variables (7)
  • HTTP keep-alive agents (7)
  • backpressure handling basics (7)
  • JSON parse stringify (3)
  • npm scripts (3)
  • dotenv config (3)
  • setTimeout setInterval (1)
  • console and debugging (1)
  • EventEmitter basics (1)
  • handling uncaught errors (1)

Search and filter every NodeJS question

Difficulty