| 1 | What is the difference between require() (CommonJS) and import (ES Modules) when loading Node.js's own core modules? Node.js › Core Node.js Modules | Node.js | Core Node.js Modules | Beginner |
| 2 | What does the node:events module's EventEmitter class provide, and what naming convention do most Node.js core APIs follow when using it? Node.js › Core Node.js Modules | Node.js | Core Node.js Modules | Beginner |
| 3 | What is the node: prefix for core module imports, and why was it introduced? Node.js › Core Node.js Modules | Node.js | Core Node.js Modules | Beginner |
| 4 | What does the node:os module provide, and what are some commonly used functions from it? Node.js › Core Node.js Modules | Node.js | Core Node.js Modules | Beginner |
| 5 | What does the URL/URLSearchParams API provide, and why is it generally preferred over the older querystring module today? Node.js › Core Node.js Modules | Node.js | Core Node.js Modules | Beginner |
| 6 | What does the node:path module provide, and why should you always use it instead of manually concatenating file path strings? Node.js › Core Node.js Modules | Node.js | Core Node.js Modules | Intermediate |
| 7 | What does the node:zlib module provide, and how would you use it to compress an HTTP response? Node.js › Core Node.js Modules | Node.js | Core Node.js Modules | Intermediate |
| 8 | What does the node:readline module provide, and what is a common use case for it? Node.js › Core Node.js Modules | Node.js | Core Node.js Modules | Intermediate |
| 9 | What is the util module's inspect() function used for, and how does it relate to how console.log() displays objects? Node.js › Core Node.js Modules | Node.js | Core Node.js Modules | Beginner |
| 10 | What does the node:crypto module provide, and what's the difference between hashing and encryption? Node.js › Core Node.js Modules | Node.js | Core Node.js Modules | Intermediate |
| 11 | What does the node:assert module provide, and how does it differ in purpose from a full testing framework? Node.js › Core Node.js Modules | Node.js | Core Node.js Modules | Intermediate |
| 12 | What does the node:util.types module provide, and how does it differ from JavaScript's built-in typeof operator? Node.js › Core Node.js Modules | Node.js | Core Node.js Modules | Intermediate |
| 13 | What is the node:stream module's Transform stream, and how does it differ from a Readable or Writable stream? Node.js › Core Node.js Modules | Node.js | Core Node.js Modules | Advanced |
| 14 | What is the node:vm module, and what are the security implications of using it to execute untrusted code? Node.js › Core Node.js Modules | Node.js | Core Node.js Modules | Advanced |
| 15 | What does the node:perf_hooks module provide, and how would you use it to measure precise execution time of a code block? Node.js › Core Node.js Modules | Node.js | Core Node.js Modules | Advanced |
| 16 | What is Node.js, and how does it differ fundamentally from running JavaScript in a web browser? Node.js › Node.js Fundamentals & Runtime Architecture | Node.js | Node.js Fundamentals & Runtime Architecture | Beginner |
| 17 | How would you make an outgoing HTTP request from Node.js using the built-in fetch API versus the older http.request()? Node.js › HTTP & HTTPS Modules | Node.js | HTTP & HTTPS Modules | Advanced |
| 18 | How would you create a basic HTTP server using only Node's built-in node:http module, without a framework like Express? Node.js › HTTP & HTTPS Modules | Node.js | HTTP & HTTPS Modules | Beginner |
| 19 | How do you convert a Node.js callback-based function into a Promise-based one manually, without using util.promisify()? Node.js › Async Patterns | Node.js | Async Patterns | Beginner |
| 20 | What is the difference between throwing an error synchronously and calling a callback with an error as its first argument in Node.js? Node.js › Error Handling | Node.js | Error Handling | Beginner |
| 21 | What is Mongoose, and what does it add on top of the raw MongoDB Node.js driver? Node.js › Databases & ORMs (MongoDB/Mongoose, SQL/Sequelize) | Node.js | Databases & ORMs (MongoDB/Mongoose, SQL/Sequelize) | Beginner |
| 22 | What is util.promisify(), and when would you still need it in modern Node.js? Node.js › Async Patterns | Node.js | Async Patterns | Intermediate |
| 23 | How would you implement a file-watching feature in Node.js using fs.watch(), and what are its known cross-platform limitations? Node.js › File System & File Processing | Node.js | File System & File Processing | Advanced |
| 24 | What is the purpose of the 'node:timers/promises' module, and how does it simplify working with delays in async code? Node.js › Async Patterns | Node.js | Async Patterns | Beginner |