Bird
0
0

Given the following RabbitMQ memory watermark setting: {rabbit, [{vm_memory_high_watermark, 0.3}]}, what happens when memory usage reaches 35%?

medium📝 Command Output Q4 of 15
RabbitMQ - Performance Tuning
Given the following RabbitMQ memory watermark setting: {rabbit, [{vm_memory_high_watermark, 0.3}]}, what happens when memory usage reaches 35%?
AMessages are automatically deleted
BFlow control remains inactive
CRabbitMQ crashes due to memory overflow
DFlow control activates and blocks publishers
Step-by-Step Solution
Solution:
  1. Step 1: Understand watermark threshold

    The vm_memory_high_watermark is set to 0.3, meaning 30% memory usage triggers flow control.
  2. Step 2: Analyze memory usage at 35%

    Since 35% exceeds 30%, flow control activates to block publishers and prevent overload.
  3. Final Answer:

    Flow control activates and blocks publishers -> Option D
  4. Quick Check:

    Memory > watermark triggers flow control = A [OK]
Quick Trick: Flow control triggers when usage exceeds watermark [OK]
Common Mistakes:
MISTAKES
  • Thinking flow control activates below watermark
  • Assuming RabbitMQ crashes immediately
  • Believing messages get deleted automatically

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More RabbitMQ Quizzes