Question · NestJS course · Module 9: Deployment and Infrastructure

Purpose of @nestjs/throttler

@nestjs/throttler in NestJS is used for:

Answer options

  • Encrypting data in the database
  • Limiting the number of requests per client (rate limiting), e.g. against brute force and API abuse
  • Automatic instance scaling
  • JWT token validation

You can check the correct answer by solving this task in the CodeWorlds game.