Question Bank
1899 approved questions from the community
How can you implement caching in NestJS?
What is the CACHE_MANAGER token used for in NestJS?
How can you schedule tasks in NestJS?
Which databases are supported by NestJS through TypeORM? (Select all that apply)
What is the purpose of a Dockerfile in a NestJS application?
What types of modules exist in NestJS? (Select all that apply)
What is the purpose of the @nestjs/passport package?
What is the purpose of refresh tokens in NestJS?
How does NestJS handle errors?
What is CORS (Cross-Origin Resource Sharing)?
What is the purpose of the @nestjs/jwt package?
What is the purpose of ExecutionContext in NestJS?
What does URI versioning mean in NestJS?
Refresh tokens typically have a longer expiration time than access tokens.
The ValidationPipe in NestJS can automatically validate incoming request bodies against DTO classes.
Observables are provided by the RxJS library and are integrated into NestJS for handling asynchronous streams.
What is the purpose of the @Resolver() decorator in NestJS?
What is GraphQL?
Global modules in NestJS should be registered only once, generally by the root or core module.
Middleware in NestJS must call next() if it doesn't end the request-response cycle.