0
0
RabbitMQdevops~20 mins

Memory and disk alarms in RabbitMQ - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
RabbitMQ Alarm Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate
2:00remaining
Check RabbitMQ memory alarm status
What is the output of the following command when RabbitMQ memory alarm is active?
RabbitMQ
rabbitmqctl status | grep memory
A{memory, false}
B{memory, true}
Cmemory: active
DNo memory alarm found
Attempts:
2 left
💡 Hint
Look for the memory field in the status output.
🧠 Conceptual
intermediate
2:00remaining
Purpose of disk alarm in RabbitMQ
What is the main purpose of the disk alarm in RabbitMQ?
ATo prevent RabbitMQ from running out of disk space by blocking producers
BTo alert the administrator but allow all operations to continue
CTo automatically delete old messages to free disk space
DTo restart RabbitMQ service when disk usage is high
Attempts:
2 left
💡 Hint
Think about how RabbitMQ protects itself from disk full conditions.
Troubleshoot
advanced
2:00remaining
Resolving RabbitMQ memory alarm stuck state
After freeing memory, the RabbitMQ memory alarm remains active. Which command correctly clears the alarm?
Arabbitmqctl clear_memory_alarm rabbit@node
Brabbitmqctl reset_memory_alarm
Crabbitmqctl clear_memory_alarm
Drabbitmqctl clear_memory_alarm rabbit@localhost
Attempts:
2 left
💡 Hint
You must specify the correct node name to clear the alarm.
Best Practice
advanced
2:00remaining
Recommended disk alarm threshold configuration
Which configuration snippet correctly sets the disk alarm threshold to 5GB free space in RabbitMQ?
RabbitMQ
rabbitmq.conf
Adisk_free_limit.absolute = 5000000000
Bdisk_free_limit = 5GB
Cdisk_free_limit.absolute = 5368709120
Ddisk_free_limit.absolute = 5GB
Attempts:
2 left
💡 Hint
RabbitMQ config supports size suffixes like 5GB, MB for disk limits.
🔀 Workflow
expert
3:00remaining
Sequence to diagnose and fix RabbitMQ disk alarm
What is the correct order of steps to diagnose and fix a RabbitMQ disk alarm?
A1,3,2,4
B2,1,3,4
C1,2,3,4
D2,3,1,4
Attempts:
2 left
💡 Hint
Start by checking the actual disk usage before confirming alarm and fixing.