Bird
0
0

Which of the following is the correct syntax to enable flow control in RabbitMQ configuration file?

easy📝 Configuration Q3 of 15
RabbitMQ - Performance Tuning
Which of the following is the correct syntax to enable flow control in RabbitMQ configuration file?
Aset flow_control on
Brabbitmqctl enable_flow_control true
C{rabbit, [{vm_memory_high_watermark, 0.4}]}.
Dflow_control: enable = yes
Step-by-Step Solution
Solution:
  1. Step 1: Recognize RabbitMQ config syntax

    RabbitMQ uses Erlang terms in its config file, like {rabbit, [{vm_memory_high_watermark, 0.4}]}.
  2. Step 2: Identify correct flow control setting

    Setting vm_memory_high_watermark controls memory threshold for flow control, enabling it.
  3. Final Answer:

    {rabbit, [{vm_memory_high_watermark, 0.4}]}. -> Option C
  4. Quick Check:

    Config uses Erlang terms for flow control = D [OK]
Quick Trick: Use Erlang terms in config to set memory watermark [OK]
Common Mistakes:
MISTAKES
  • Using rabbitmqctl commands in config file
  • Writing config in invalid syntax
  • Confusing flow control enable commands

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More RabbitMQ Quizzes