Question Bank
3705 approved questions from the community
Microtasks in Node.js (like process.nextTick and Promises) are executed after each macrotask.
Callback hell refers to complex nested callbacks that make code difficult to read and maintain.
What is non-blocking I/O in Node.js?
What is npm?
What is the purpose of package.json?
What is the purpose of body-parser middleware?
Microservices architecture breaks down applications into smaller, independently scalable services.
Regular Expression Denial of Service (ReDoS) is a security vulnerability that can affect Node.js applications.
Buffers in Node.js are fixed in size after allocation.
What is the DNS module used for?
What is JIT compilation in Node.js?
What is Memcached?
State is shared between master and forked processes in Node.js clustering.
Worker threads in Node.js can help offload CPU-intensive tasks.
Node.js is well-suited for CPU-intensive operations.
What is the difference between Duplex and Transform streams?
What is stream chaining in Node.js?
The V8 engine uses both a compiler and an interpreter for JIT compilation.
Node.js can be used to build both frontend and backend applications.
What is the util module's inspect() function used for?