Question Bank

1899 approved questions from the community

How can you implement caching in NestJS?

MEDIUM
SINGLE CHOICE
35s
Nest.js
by Mohamed

What is the CACHE_MANAGER token used for in NestJS?

MEDIUM
SINGLE CHOICE
35s
Nest.js
by Mohamed

How can you schedule tasks in NestJS?

MEDIUM
SINGLE CHOICE
35s
Nest.js
by Mohamed

Which databases are supported by NestJS through TypeORM? (Select all that apply)

MEDIUM
MULTIPLE CHOICE
45s
Nest.js
by Mohamed

What is the purpose of a Dockerfile in a NestJS application?

MEDIUM
SINGLE CHOICE
35s
Nest.js
by Mohamed

What types of modules exist in NestJS? (Select all that apply)

MEDIUM
MULTIPLE CHOICE
45s
Nest.js
by Mohamed

What is the purpose of the @nestjs/passport package?

MEDIUM
SINGLE CHOICE
35s
Nest.js
by Mohamed

What is the purpose of refresh tokens in NestJS?

MEDIUM
SINGLE CHOICE
40s
Nest.js
by Mohamed

How does NestJS handle errors?

MEDIUM
SINGLE CHOICE
35s
Nest.js
by Mohamed

What is CORS (Cross-Origin Resource Sharing)?

MEDIUM
SINGLE CHOICE
35s
Nest.js
by Mohamed

What is the purpose of the @nestjs/jwt package?

MEDIUM
SINGLE CHOICE
35s
Nest.js
by Mohamed

What is the purpose of ExecutionContext in NestJS?

MEDIUM
SINGLE CHOICE
35s
Nest.js
by Mohamed

What does URI versioning mean in NestJS?

MEDIUM
SINGLE CHOICE
35s
Nest.js
by Mohamed

Refresh tokens typically have a longer expiration time than access tokens.

MEDIUM
TRUE FALSE
25s
Nest.js
by Mohamed

The ValidationPipe in NestJS can automatically validate incoming request bodies against DTO classes.

MEDIUM
TRUE FALSE
25s
Nest.js
by Mohamed

Observables are provided by the RxJS library and are integrated into NestJS for handling asynchronous streams.

MEDIUM
TRUE FALSE
25s
Nest.js
by Mohamed

What is the purpose of the @Resolver() decorator in NestJS?

MEDIUM
SINGLE CHOICE
35s
Nest.js
by Mohamed

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
PreviousPage 45 of 95Next