0
0
RabbitMQdevops~20 mins

Cluster node types (disc, RAM) in RabbitMQ - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
RabbitMQ Cluster Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Difference between disc and RAM nodes in RabbitMQ cluster
Which statement correctly describes the difference between disc nodes and RAM nodes in a RabbitMQ cluster?
ADisc nodes store the queue and message data on disk, while RAM nodes keep this data only in memory.
BRAM nodes store all data on disk, while disc nodes keep data only in memory.
CDisc nodes and RAM nodes both store data only in memory but differ in CPU usage.
DRAM nodes replicate data to disc nodes but do not store any data themselves.
Attempts:
2 left
💡 Hint
Think about where the message data is saved permanently.
💻 Command Output
intermediate
2:00remaining
Output of rabbitmqctl cluster_status with mixed node types
Given a RabbitMQ cluster with two disc nodes and one RAM node, what will the 'rabbitmqctl cluster_status' command output show under 'disc' and 'ram' nodes?
RabbitMQ
rabbitmqctl cluster_status
Adisc nodes: [rabbit@node1, rabbit@node2], ram nodes: [rabbit@node3]
Bdisc nodes: [rabbit@node3], ram nodes: [rabbit@node1, rabbit@node2]
Cdisc nodes: [rabbit@node1], ram nodes: [rabbit@node2, rabbit@node3]
Ddisc nodes: [], ram nodes: [rabbit@node1, rabbit@node2, rabbit@node3]
Attempts:
2 left
💡 Hint
Disc nodes are usually the main persistent nodes.
🔀 Workflow
advanced
3:00remaining
Adding a RAM node to an existing RabbitMQ cluster
Which sequence of commands correctly adds a RAM node named 'rabbit@node3' to an existing cluster with disc nodes 'rabbit@node1' and 'rabbit@node2'?
A1,2,4,3
B2,1,3,4
C1,3,2,4
D1,2,3,4
Attempts:
2 left
💡 Hint
You must stop the app before joining the cluster.
Troubleshoot
advanced
2:00remaining
Troubleshooting node type mismatch error
You try to join a RAM node to a cluster but get an error about node type mismatch. What is the most likely cause?
AThe cluster has no disc nodes running.
BThe node was previously a disc node and still has disc node data.
CThe RAM node has insufficient memory to join the cluster.
DThe node hostname does not match the cluster hostname.
Attempts:
2 left
💡 Hint
Think about leftover data from previous node roles.
Best Practice
expert
3:00remaining
Choosing node types for a highly available RabbitMQ cluster
For a RabbitMQ cluster that must remain highly available and preserve messages during node restarts, which node type configuration is best?
AOne disc node and multiple RAM nodes to balance persistence and speed.
BAll nodes as RAM nodes for faster performance.
CAll nodes as disc nodes to ensure message persistence.
DOnly RAM nodes with external storage for message persistence.
Attempts:
2 left
💡 Hint
Persistence is key for message safety during restarts.