Chapter quiz · Auth, APIs & Real-Time

Test what you learned.

8 questions on Auth, APIs & Real-Time. Pass 70% to clear the chapter.

← Review chapter lessons

Quiz

APIs — Chapter Quiz

Test your understanding of auth, Swagger, WebSockets, GraphQL, and microservices.

0/ 9
  1. Question 1
    1

    Which Passport strategy is the standard choice for stateless API authentication?

  2. Question 2
    2

    What does @nestjs/swagger generate from your code?

  3. Question 3
    3

    Which decorator marks a class as a WebSocket gateway?

  4. Question 4
    4

    In Nest GraphQL code-first, what does @ObjectType() do?

  5. Question 5
    5

    Server-Sent Events from a Nest handler are returned as

  6. Question 6
    6

    Nest microservices support transports like TCP, Redis, NATS, and gRPC.

  7. Question 7
    7

    Role-based access control in Nest typically combines a Roles decorator with the ___ helper.

  8. Question 8
    8

    Which decorators are part of @nestjs/swagger?

    Select all that apply.

Pick an answer — instant feedback as you go.