Bird
0
0

Given a RabbitMQ consumer with prefetch count set to 10, what happens when the consumer is slow to acknowledge messages?

medium📝 Command Output Q4 of 15
RabbitMQ - Performance Tuning
Given a RabbitMQ consumer with prefetch count set to 10, what happens when the consumer is slow to acknowledge messages?
ARabbitMQ stops sending new messages after 10 unacknowledged messages
BRabbitMQ continues sending messages without limit
CRabbitMQ deletes unacknowledged messages immediately
DRabbitMQ increases prefetch count automatically
Step-by-Step Solution
Solution:
  1. Step 1: Understand prefetch count behavior

    Prefetch count limits unacknowledged messages sent to a consumer to avoid overload.
  2. Step 2: Analyze slow acknowledgment effect

    If consumer is slow, RabbitMQ stops sending new messages after reaching prefetch limit.
  3. Final Answer:

    RabbitMQ stops sending new messages after 10 unacknowledged messages -> Option A
  4. Quick Check:

    Prefetch limits unacknowledged messages = C [OK]
Quick Trick: Prefetch count limits unacknowledged messages [OK]
Common Mistakes:
MISTAKES
  • Thinking RabbitMQ ignores prefetch limits
  • Assuming messages are deleted if unacknowledged
  • Believing prefetch count auto-adjusts

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More RabbitMQ Quizzes