codejump

Transport & Patterns

Preview — 3 of 10 questions

Which factory method bootstraps a standalone NestJS microservice (no HTTP server)?

ANestFactory.createMicroservice()
BNestFactory.create()
CNestFactory.createApplicationContext()
DMicroserviceFactory.start()

Which of the following is NOT a built-in value of the Transport enum?

ATransport.TCP
BTransport.KAFKA
CTransport.GRAPHQL
DTransport.RMQ

Which decorator handles a request-response message and returns a value to the caller?

A@MessagePattern()
B@EventPattern()
C@Get()
D@Subscribe()

Sign up free to play

Answer all 10 questions (7 more), see explanations for every answer, and track your score.