Bird
0
0

Given a cluster with one disc node and one RAM node, what happens if the RAM node restarts?

medium📝 Command Output Q4 of 15
RabbitMQ - Clustering
Given a cluster with one disc node and one RAM node, what happens if the RAM node restarts?
AThe disc node loses state instead
BThe RAM node recovers its state from disk
CThe RAM node loses its state and rejoins empty
DBoth nodes lose their state
Step-by-Step Solution
Solution:
  1. Step 1: Understand RAM node restart behavior

    RAM nodes keep state in memory only, so restarting causes loss of state.
  2. Step 2: Confirm disc node state persistence

    Disc nodes store state on disk and keep it after restart, so only RAM node loses state.
  3. Final Answer:

    The RAM node loses its state and rejoins empty -> Option C
  4. Quick Check:

    RAM node restart = loses state [OK]
Quick Trick: RAM nodes lose state on restart; disc nodes do not [OK]
Common Mistakes:
MISTAKES
  • Assuming RAM nodes recover state from disk
  • Thinking disc nodes lose state on RAM node restart
  • Believing both nodes lose state

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More RabbitMQ Quizzes