Challenge - 5 Problems
RabbitMQ Flow Control Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate2:00remaining
Understanding RabbitMQ Flow Control
What happens in RabbitMQ when the broker detects that the disk space is running low and flow control is triggered?
Attempts:
2 left
💡 Hint
Think about how RabbitMQ protects itself from running out of resources.
✗ Incorrect
When disk space is low, RabbitMQ triggers flow control by blocking publishers to prevent message loss and resource exhaustion.
💻 Command Output
intermediate2:00remaining
Detecting Flow Control Status via RabbitMQ CLI
You run the command
rabbitmqctl list_queues name messages_ready messages_unacknowledged during a flow control event. What output indicates that flow control is active?RabbitMQ
rabbitmqctl list_queues name messages_ready messages_unacknowledged
Attempts:
2 left
💡 Hint
Flow control blocks publishers but consumers may not acknowledge messages.
✗ Incorrect
When flow control blocks publishers, messages accumulate in the queue (messages_ready increases), but consumers do not acknowledge new messages, so messages_unacknowledged stay constant.
❓ Configuration
advanced2:00remaining
Configuring Flow Control Thresholds in RabbitMQ
Which configuration snippet correctly sets the disk free limit to 1GB to trigger flow control earlier?
Attempts:
2 left
💡 Hint
The value must be in bytes for the absolute disk free limit.
✗ Incorrect
The disk_free_limit.absolute setting expects a value in bytes. 1GB equals 1073741824 bytes.
❓ Troubleshoot
advanced2:00remaining
Identifying Cause of Unexpected Flow Control Activation
You notice RabbitMQ flow control is active even though disk space is sufficient. Which is the most likely cause?
Attempts:
2 left
💡 Hint
RabbitMQ also triggers flow control on memory pressure, not just disk space.
✗ Incorrect
RabbitMQ triggers flow control when memory usage exceeds configured limits, which can happen even if disk space is fine.
🔀 Workflow
expert3:00remaining
Sequence of Events During RabbitMQ Flow Control Activation
Order the following events correctly as RabbitMQ triggers flow control due to low disk space:
Attempts:
2 left
💡 Hint
Think about cause and effect in resource management.
✗ Incorrect
The broker first detects low disk space, then blocks publishers, causing messages to accumulate. When disk space is freed, flow control is lifted.