30 of 30 questions
// Interview Deck · NODEJS
Node.js
Event loop, modules, streams, async patterns, and the runtime fundamentals behind backend JavaScript.
01
Beginner
What is Node.js and why is it used?
Card #1View Answer
02
Intermediate
Explain Node.js architecture — the event loop and libuv.
Card #2View Answer
03
Beginner
Difference between Node.js and browser JavaScript?
Card #3View Answer
04
Beginner
What are modules in Node.js? Explain CommonJS (require/module.exports).
Card #4View Answer
05
Beginner
What are npm and package.json?
Card #5View Answer
06
Intermediate
Explain the event loop in Node.js (practical understanding, not internals).
Card #6View Answer
07
Beginner
Difference between blocking and non-blocking code?
Card #7View Answer
08
Beginner
What are callbacks in Node.js?
Card #8View Answer
09
Intermediate
What is EventEmitter and event-driven architecture?
Card #9View Answer
10
Beginner
What is the fs (file system) module — sync vs async methods?
Card #10View Answer
11
Intermediate
What are Streams in Node.js and why do they matter?
Card #11View Answer
12
Intermediate
What is a Buffer in Node.js?
Card #12View Answer
13
Beginner
What is the process object in Node.js?
Card #13View Answer
14
Intermediate
How do you create a basic HTTP server using the http module?
Card #14View Answer
15
Intermediate
What is middleware (the general concept, before Express-specific patterns)?
Card #15View Answer
16
Intermediate
How does error handling work in Node.js — sync vs async errors?
Card #16View Answer
17
Advanced
What is child_process in Node.js? (conceptual)
Card #17View Answer
18
Advanced
What is clustering in Node.js and why is it used to scale apps? (conceptual)
Card #18View Answer
19
Beginner
What are environment variables and .env files?
Card #19View Answer
20
Beginner
Difference between npm and npx?
Card #20View Answer
21
Beginner
Difference between dependencies and devDependencies in package.json?
Card #21View Answer
22
Beginner
What is semantic versioning (^ and ~ in package.json)?
Card #22View Answer
23
Intermediate
What is a REST API and how does it apply to Node.js?
Card #23View Answer
24
Beginner
Difference between synchronous and asynchronous file operations?
Card #24View Answer
25
Intermediate
How does basic routing work using the native http module (without a framework)?
Card #25View Answer
26
Advanced
Difference between setImmediate, process.nextTick, and setTimeout?
Card #26View Answer
27
Beginner
What are __dirname and __filename in Node.js?
Card #27View Answer
28
Advanced
How do you handle uncaught exceptions and unhandled promise rejections?
Card #28View Answer
29
Advanced
What is a memory leak and what commonly causes one in Node.js?
Card #29View Answer
30
Beginner
Why choose Node.js over other backend runtimes/languages?
Card #30View Answer