🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Queues and Microservices: all 10 questions

Quiz: Queues and Microservices · Question 5 of 10

In pub/sub messaging, a published message goes to:

In pub/sub messaging, a published message goes to:

  1. A.Exactly one consumer
  2. B.All subscribers of that topic
  3. C.Only the database
  4. D.Nobody until requested
Answer & explanation

Correct answer: All subscribers of that topic

Pub/sub broadcasts to every subscriber; a work queue gives each message to one worker.

Can you get the rest right without peeking?

Take the timed Quiz: Queues and Microservices quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →