0
0
RabbitMQdevops~20 mins

Log analysis and troubleshooting in RabbitMQ - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
RabbitMQ Log Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate
2:00remaining
Identify the error from RabbitMQ log snippet
Given the following RabbitMQ log snippet, what is the main error reported?
2024-04-01 10:15:23.456 [error] <0.123.0> closing AMQP connection <0.123.0> (192.168.1.10:5672 -> 192.168.1.20:5672): connection_closed_abruptly
AThe connection was closed abruptly by the client.
BThe RabbitMQ server failed to start due to port conflict.
CThe queue was declared with an invalid name.
DThe user authentication failed during connection.
Attempts:
2 left
💡 Hint
Look for keywords related to connection status in the log.
Troubleshoot
intermediate
2:00remaining
Troubleshoot RabbitMQ node not joining cluster
You try to join a RabbitMQ node to a cluster but it fails. The log shows:
=ERROR REPORT==== 1-Apr-2024::11:00:00 ===
** Node rabbit@node2 not responding to pings.

What is the most likely cause?
AThe queue on node2 is full and blocking the cluster join.
BThe RabbitMQ version on node2 is incompatible with the cluster.
CThe node rabbit@node2 is down or unreachable on the network.
DThe user permissions are not set correctly on node2.
Attempts:
2 left
💡 Hint
Check network connectivity and node status.
Configuration
advanced
2:00remaining
Correct RabbitMQ configuration for log rotation
Which configuration snippet correctly enables log rotation by size in RabbitMQ's configuration file?
A
log.rotation.size = 10485760
log.file.rotation.count = 5
B
log.rotation.size = 10485760
log.rotation.count = 5
C
log.file.rotation.size = 10485760
log.rotation.count = 5
D
log.file.rotation.size = 10485760
log.file.rotation.count = 5
Attempts:
2 left
💡 Hint
Check the correct prefix for log rotation settings in RabbitMQ config.
Best Practice
advanced
2:00remaining
Best practice for analyzing RabbitMQ logs in production
What is the best practice when analyzing RabbitMQ logs to troubleshoot intermittent connection issues in a production environment?
ARestart RabbitMQ service to clear logs and then check for errors.
BEnable debug level logging temporarily and collect logs during the issue window.
CDisable all logging to improve performance and avoid log clutter.
DOnly check logs after the server crashes to find the root cause.
Attempts:
2 left
💡 Hint
Think about how to get detailed info without affecting production negatively.
🧠 Conceptual
expert
2:00remaining
Understanding RabbitMQ log message levels
Which RabbitMQ log message level indicates a serious problem that requires immediate attention but does not stop the server from running?
Aerror
Bwarning
Cinfo
Ddebug
Attempts:
2 left
💡 Hint
Consider severity levels from least to most critical.