🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← All topics

Quiz: Queues and Microservices: questions with answers

10 questions, each with the answer and a short explanation.

Take the timed quiz + get a certificate →
  1. Q1. Why put "send confirmation email" on a message queue?
  2. Q2. A worker processes the same "payment captured" message twice. What property prevents double effects?
  3. Q3. Which HTTP status code signals rate limiting?
  4. Q4. For a 3-person startup building its first product, the usual recommendation is:
  5. Q5. In pub/sub messaging, a published message goes to:
  6. Q6. A message queue holds a burst of 10,000 "order paid" messages while only 5 workers run. What happens?
  7. Q7. Which worker action is idempotent?
  8. Q8. What does this print? (code)
  9. Q9. Which job does an API gateway typically do?
  10. Q10. Service A calls service B synchronously and B becomes very slow. What protects A?