Question Bank

1899 approved questions from the community

What is GraphQL?

MEDIUM
SINGLE CHOICE
35s
Nest.js
by Mohamed

Global modules in NestJS should be registered only once, generally by the root or core module.

MEDIUM
TRUE FALSE
25s
Nest.js
by Mohamed

Middleware in NestJS must call next() if it doesn't end the request-response cycle.

MEDIUM
TRUE FALSE
25s
Nest.js
by Mohamed

The @Injectable() decorator is required for all providers in NestJS.

MEDIUM
TRUE FALSE
25s
Nest.js
by Mohamed

What is the purpose of the @Res() decorator?

MEDIUM
SINGLE CHOICE
35s
Nest.js
by Mohamed

What is the purpose of environment variables in NestJS?

MEDIUM
SINGLE CHOICE
35s
Nest.js
by Mohamed

The default expiration time for cache in NestJS is 5 seconds.

MEDIUM
TRUE FALSE
25s
Nest.js
by Mohamed

When using @Res() decorator, NestJS automatically handles the response for you.

MEDIUM
TRUE FALSE
30s
Nest.js
by Mohamed

What is the role of the Multer library in NestJS?

MEDIUM
SINGLE CHOICE
35s
Nest.js
by Mohamed

What is the purpose of the @ApiOperation() decorator?

MEDIUM
SINGLE CHOICE
35s
Nest.js
by Mohamed

What is the purpose of the @ApiProperty() decorator?

MEDIUM
SINGLE CHOICE
35s
Nest.js
by Mohamed

How can you generate API documentation in NestJS?

MEDIUM
SINGLE CHOICE
35s
Nest.js
by Mohamed

A provider in NestJS always requires the @Injectable() decorator.

MEDIUM
TRUE FALSE
30s
Nest.js
by Mohamed

How does the NestJS Logger differ from console.log()?

MEDIUM
SINGLE CHOICE
35s
Nest.js
by Mohamed

What is the difference between @Injectable() and @Inject() decorators?

MEDIUM
SINGLE CHOICE
40s
Nest.js
by Mohamed

What is Dependency Injection (DI) in NestJS?

MEDIUM
SINGLE CHOICE
40s
Nest.js
by Mohamed

What is the primary purpose of middleware in NestJS?

MEDIUM
SINGLE CHOICE
35s
Nest.js
by Mohamed

Tokens should have an expiration time to limit the window in which a stolen token can be used.

MEDIUM
TRUE FALSE
25s
Nest.js
by Mohamed

What is the main difference between NestJS and Angular?

MEDIUM
SINGLE CHOICE
35s
Nest.js
by Mohamed

Interceptors in NestJS are inspired by the Aspect Oriented Programming (AOP) technique.

MEDIUM
TRUE FALSE
25s
Nest.js
by Mohamed
PreviousPage 46 of 95Next