Question Bank

3705 approved questions from the community

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

MEDIUM
TRUE FALSE
25s
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

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

MEDIUM
SINGLE CHOICE
30s
Nodejs
by Mohamed

What is npm?

EASY
SINGLE CHOICE
25s
Nodejs
by Mohamed

What is the purpose of package.json?

EASY
SINGLE CHOICE
30s
Nodejs
by Mohamed

What is the purpose of body-parser middleware?

MEDIUM
SINGLE CHOICE
30s
Nodejs
by Mohamed

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

MEDIUM
TRUE FALSE
25s
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

Buffers in Node.js are fixed in size after allocation.

EASY
TRUE FALSE
20s
Nodejs
by Mohamed

What is the DNS module used for?

MEDIUM
SINGLE CHOICE
30s
Nodejs
by Mohamed

What is JIT compilation in Node.js?

HARD
SINGLE CHOICE
40s
Nodejs
by Mohamed

What is Memcached?

HARD
SINGLE CHOICE
35s
Nodejs
by Mohamed

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

MEDIUM
TRUE FALSE
25s
Nodejs
by Mohamed

Worker threads in Node.js can help offload CPU-intensive tasks.

EASY
TRUE FALSE
20s
Nodejs
by Mohamed

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

MEDIUM
TRUE FALSE
25s
Nodejs
by Mohamed

What is the difference between Duplex and Transform streams?

HARD
SINGLE CHOICE
40s
Nodejs
by Mohamed

What is stream chaining in Node.js?

MEDIUM
SINGLE CHOICE
30s
Nodejs
by Mohamed

The V8 engine uses both a compiler and an interpreter for JIT compilation.

HARD
TRUE FALSE
30s
Nodejs
by Mohamed

Node.js can be used to build both frontend and backend applications.

EASY
TRUE FALSE
20s
Nodejs
by Mohamed

What is the util module's inspect() function used for?

HARD
SINGLE CHOICE
35s
Nodejs
by Mohamed
PreviousPage 122 of 186Next