0
0
RabbitMQdevops~20 mins

Key metrics to monitor in RabbitMQ - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
RabbitMQ Metrics Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
Understanding RabbitMQ Queue Length Metric

Which RabbitMQ metric best indicates the current number of messages waiting to be processed in a queue?

Arabbitmq_queue_messages_ready
Brabbitmq_queue_consumers
Crabbitmq_queue_memory_bytes
Drabbitmq_queue_messages_unacknowledged
Attempts:
2 left
💡 Hint

Think about messages that are ready but not yet delivered to consumers.

💻 Command Output
intermediate
1:30remaining
Interpreting RabbitMQ Consumer Count Output

What is the output of this command showing the number of consumers for a queue named 'task_queue'?

rabbitmqctl list_queues name consumers | grep task_queue
Atask_queue 0
Btask_queue 1
Ctask_queue 5
Dtask_queue -1
Attempts:
2 left
💡 Hint

The number after the queue name shows how many consumers are connected.

Troubleshoot
advanced
2:00remaining
Diagnosing High Memory Usage in RabbitMQ

You notice RabbitMQ is using excessive memory. Which metric helps identify if queues are causing this issue?

Arabbitmq_queue_memory_bytes
Brabbitmq_node_disk_free
Crabbitmq_queue_messages_ready
Drabbitmq_connection_channels
Attempts:
2 left
💡 Hint

Memory usage by queues is tracked in bytes.

Best Practice
advanced
2:00remaining
Choosing Metrics for Alerting on RabbitMQ Health

Which combination of metrics is best to monitor for early detection of RabbitMQ performance issues?

Arabbitmq_queue_messages_ready and rabbitmq_queue_consumers
Brabbitmq_queue_memory_bytes and rabbitmq_queue_messages_unacknowledged
Crabbitmq_node_disk_free and rabbitmq_connection_channels
Drabbitmq_queue_messages_ready and rabbitmq_queue_memory_bytes
Attempts:
2 left
💡 Hint

Focus on message backlog and resource usage.

🔀 Workflow
expert
3:00remaining
Sequence to Monitor RabbitMQ Metrics Using Prometheus

Arrange the steps in the correct order to monitor RabbitMQ metrics with Prometheus:

A1,3,2,4
B2,1,3,4
C1,2,3,4
D3,1,2,4
Attempts:
2 left
💡 Hint

Think about enabling metrics first, then configuring Prometheus, then verification, then alerts.