Bird
0
0

You notice RabbitMQ queue 'orders' has a growing number of messages_ready but consumers count remains zero. What is the best monitoring-based action to prevent incident?

hard📝 Workflow Q8 of 15
RabbitMQ - Monitoring and Management
You notice RabbitMQ queue 'orders' has a growing number of messages_ready but consumers count remains zero. What is the best monitoring-based action to prevent incident?
ADelete the 'orders' queue to clear messages
BIgnore since messages_unacknowledged is zero
CRestart RabbitMQ server to reset queues
DAdd consumers to process the backlog
Step-by-Step Solution
Solution:
  1. Step 1: Analyze monitoring data

    Growing messages_ready with zero consumers means messages are not being processed.
  2. Step 2: Determine corrective action

    Adding consumers will start processing messages and reduce backlog.
  3. Final Answer:

    Add consumers to process the backlog -> Option D
  4. Quick Check:

    Backlog + no consumers = add consumers [OK]
Quick Trick: Add consumers when backlog grows and none exist [OK]
Common Mistakes:
MISTAKES
  • Deleting queues loses messages
  • Restarting server delays processing
  • Ignoring backlog because unacknowledged is zero

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More RabbitMQ Quizzes