Bird
0
0

You set this policy:

medium📝 Troubleshoot Q14 of 15
RabbitMQ - Clustering
You set this policy:
rabbitmqctl set_policy ha-all ".*" '{"ha-mode":"all"}'
But queues are not mirrored. What is the likely problem?
AThe policy requires a restart of the queue or server to apply
BThe pattern ".*" does not match queue names
CThe policy was set but RabbitMQ was not restarted
DThe JSON syntax is incorrect
Step-by-Step Solution
Solution:
  1. Step 1: Check policy application behavior

    Policies apply only to new queues or queues restarted after policy set.
  2. Step 2: Identify why existing queues are not mirrored

    Existing queues created before policy need to be deleted or restarted to apply mirroring.
  3. Final Answer:

    The policy requires a restart of the queue or server to apply -> Option A
  4. Quick Check:

    Policy applies only on new or restarted queues [OK]
Quick Trick: Policies apply only to new or restarted queues [OK]
Common Mistakes:
MISTAKES
  • Thinking RabbitMQ restart is needed
  • Assuming pattern ".*" never matches
  • Believing JSON syntax is wrong when it is correct

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More RabbitMQ Quizzes