Monitoring & Alerting — Concept Check
Questions on Monitoring & Alerting. Key metrics: queue depth, consumer count, unacknowledged messages, publish/deliver rates, and memory/disk alarms; export via prometheus exporter or HTTP API scraping.
Questions in this quiz
8 questions on Monitoring & Alerting — Concept Check. Work through them here, then start the quiz to answer them and see your score.
1.A RabbitMQ queue has a growing depth and a decreasing consumer count. What does this indicate?
- AThe queue is functioning optimally.
- BProducers are faster than consumers.
- CMemory usage is too high.
- DConsumers are slower than producers or have crashed.
2.You notice a high rate of message redelivery in RabbitMQ. What might this suggest?
- ADisk space is running low, causing message redelivery.
- BThe queue is empty and needs more messages.
- CConsumers are nacking messages repeatedly, possibly due to poison messages.
- DNetwork latency is causing message duplication.
3.When should you enable the rabbitmq_prometheus plugin?
- ATo expose RabbitMQ metrics for Prometheus scraping.
- BTo automatically resolve queue backlogs.
- CTo increase RabbitMQ's message delivery speed.
- DTo reduce memory usage in RabbitMQ.
4.A RabbitMQ alert triggers for a queue with no consumers but messages ready. What action should you take?
- AIgnore the alert; it's a false positive.
- BReduce the message publish rate.
- CIncrease the queue's memory allocation.
- DInvestigate why consumers are absent and restart them.
5.What is the purpose of the Prometheus alert rule for RabbitMQMemoryAlarm?
- ATo indicate when there are no consumers for a queue.
- BTo alert when memory usage exceeds a safe threshold, blocking publishers.
- CTo notify when disk space is low, affecting message storage.
- DTo warn when message delivery rates drop significantly.
6.A RabbitMQ queue's publish rate is high, but deliver rate is low. What could this imply?
- AThe network is down, causing message backlog.
- BThe queue is efficiently processing messages.
- CThe queue has no messages to deliver.
- DThe queue is accumulating messages faster than they are being consumed.
7.What does the metric rabbitmq_queue_messages_ready represent?
- AMessages waiting to be delivered.
- BTotal number of consumers.
- CNumber of blocked connections.
- DMemory usage by the broker.
8.Why might someone incorrectly believe that enabling rabbitmq_prometheus will automatically resolve queue backlogs?
- AThey believe it reduces message size.
- BThey assume it increases consumer speed.
- CThey confuse metric exposure with performance optimization.
- DThey think Prometheus adjusts queue settings.