Question Bank
1899 approved questions from the community
What is a callback function in Node.js?
What is the difference between process.nextTick() and setImmediate()?
What is EventEmitter in Node.js?
Microservices architecture breaks down applications into smaller, independently scalable services.
What is the event loop in Node.js?
What is the Node.js Process Model?
What is the zlib module used for?
What is stream chaining in Node.js?
Node.js is well-suited for CPU-intensive operations.
State is shared between master and forked processes in Node.js clustering.
What is the DNS module used for?
Regular Expression Denial of Service (ReDoS) is a security vulnerability that can affect Node.js applications.
What is the Reactor Pattern in Node.js?
What is the purpose of body-parser middleware?
How many types of streams are present in Node.js?
Piping in Node.js streams allows you to provide the output of one stream as input to another stream.
What is the Buffer data type used for in Node.js?
What is non-blocking I/O in Node.js?
Callback hell refers to complex nested callbacks that make code difficult to read and maintain.
Microtasks in Node.js (like process.nextTick and Promises) are executed after each macrotask.