0
0
RabbitMQdevops~20 mins

Flow control mechanism in RabbitMQ - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
RabbitMQ Flow Control Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2: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?
AThe broker starts dropping messages silently to reduce load.
BThe broker blocks all new incoming messages until disk space is freed.
CThe broker pauses message delivery to consumers but accepts new messages.
DThe broker rejects all connections until disk space is increased.
Attempts:
2 left
💡 Hint
Think about how RabbitMQ protects itself from running out of resources.
💻 Command Output
intermediate
2: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
AQueues show decreasing messages_ready and increasing messages_unacknowledged.
BQueues show increasing messages_ready but no change in messages_unacknowledged.
CQueues show increasing messages_ready and messages_unacknowledged remain constant.
DQueues show zero messages_ready and zero messages_unacknowledged.
Attempts:
2 left
💡 Hint
Flow control blocks publishers but consumers may not acknowledge messages.
Configuration
advanced
2:00remaining
Configuring Flow Control Thresholds in RabbitMQ
Which configuration snippet correctly sets the disk free limit to 1GB to trigger flow control earlier?
Adisk_free_limit.absolute = 1073741824
Bdisk_free_limit = 1024MB
Cdisk_free_limit = 1GB
Ddisk_free_limit.absolute = 1024
Attempts:
2 left
💡 Hint
The value must be in bytes for the absolute disk free limit.
Troubleshoot
advanced
2: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?
AConsumer applications are too fast, overwhelming the broker.
BNetwork latency causing delayed acknowledgments.
CIncorrect disk_free_limit setting causing early trigger.
DMemory alarm triggered due to high RAM usage.
Attempts:
2 left
💡 Hint
RabbitMQ also triggers flow control on memory pressure, not just disk space.
🔀 Workflow
expert
3:00remaining
Sequence of Events During RabbitMQ Flow Control Activation
Order the following events correctly as RabbitMQ triggers flow control due to low disk space:
A1,2,3,4
B1,3,2,4
C2,1,3,4
D3,1,2,4
Attempts:
2 left
💡 Hint
Think about cause and effect in resource management.