Bird
0
0

You want to prevent RabbitMQ from raising a memory alarm until it uses 80% of available RAM instead of the default 40%. Which configuration change achieves this?

hard📝 Best Practice Q15 of 15
RabbitMQ - Performance Tuning
You want to prevent RabbitMQ from raising a memory alarm until it uses 80% of available RAM instead of the default 40%. Which configuration change achieves this?
ARun <code>rabbitmqctl set_memory_alarm_threshold 80</code>
BSet <code>disk_free_limit = 80%</code> in rabbitmq.conf
CSet <code>vm_memory_high_watermark = 0.8</code> in rabbitmq.conf
DIncrease system swap space to 80%
Step-by-Step Solution
Solution:
  1. Step 1: Identify memory alarm threshold setting

    The vm_memory_high_watermark setting controls memory alarm threshold as a fraction.
  2. Step 2: Apply correct value for 80%

    Setting vm_memory_high_watermark = 0.8 means alarm triggers at 80% memory use.
  3. Final Answer:

    Set vm_memory_high_watermark = 0.8 in rabbitmq.conf -> Option C
  4. Quick Check:

    vm_memory_high_watermark sets memory alarm threshold [OK]
Quick Trick: Use vm_memory_high_watermark to adjust memory alarm threshold [OK]
Common Mistakes:
MISTAKES
  • Confusing disk_free_limit with memory alarm
  • Trying rabbitmqctl command that doesn't exist
  • Changing swap space instead of RabbitMQ config

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More RabbitMQ Quizzes