Question Bank

1899 approved questions from the community

What is a callback function in Node.js?

MEDIUM
SINGLE CHOICE
30s
Nodejs
by Mohamed

What is the difference between process.nextTick() and setImmediate()?

MEDIUM
SINGLE CHOICE
35s
Nodejs
by Mohamed

What is EventEmitter in Node.js?

MEDIUM
SINGLE CHOICE
30s
Nodejs
by Mohamed

Microservices architecture breaks down applications into smaller, independently scalable services.

MEDIUM
TRUE FALSE
25s
Nodejs
by Mohamed

What is the event loop in Node.js?

MEDIUM
SINGLE CHOICE
35s
Nodejs
by Mohamed

What is the Node.js Process Model?

MEDIUM
SINGLE CHOICE
30s
Nodejs
by Mohamed

What is the zlib module used for?

MEDIUM
SINGLE CHOICE
30s
Nodejs
by Mohamed

What is stream chaining in Node.js?

MEDIUM
SINGLE CHOICE
30s
Nodejs
by Mohamed

Node.js is well-suited for CPU-intensive operations.

MEDIUM
TRUE FALSE
25s
Nodejs
by Mohamed

State is shared between master and forked processes in Node.js clustering.

MEDIUM
TRUE FALSE
25s
Nodejs
by Mohamed

What is the DNS module used for?

MEDIUM
SINGLE CHOICE
30s
Nodejs
by Mohamed

Regular Expression Denial of Service (ReDoS) is a security vulnerability that can affect Node.js applications.

MEDIUM
TRUE FALSE
25s
Nodejs
by Mohamed

What is the Reactor Pattern in Node.js?

MEDIUM
SINGLE CHOICE
35s
Nodejs
by Mohamed

What is the purpose of body-parser middleware?

MEDIUM
SINGLE CHOICE
30s
Nodejs
by Mohamed

How many types of streams are present in Node.js?

MEDIUM
SINGLE CHOICE
30s
Nodejs
by Mohamed

Piping in Node.js streams allows you to provide the output of one stream as input to another stream.

MEDIUM
TRUE FALSE
25s
Nodejs
by Mohamed

What is the Buffer data type used for in Node.js?

MEDIUM
SINGLE CHOICE
30s
Nodejs
by Mohamed

What is non-blocking I/O in Node.js?

MEDIUM
SINGLE CHOICE
30s
Nodejs
by Mohamed

Callback hell refers to complex nested callbacks that make code difficult to read and maintain.

MEDIUM
TRUE FALSE
25s
Nodejs
by Mohamed

Microtasks in Node.js (like process.nextTick and Promises) are executed after each macrotask.

MEDIUM
TRUE FALSE
25s
Nodejs
by Mohamed
PreviousPage 61 of 95Next