Bird
0
0

After running sudo apt-get install rabbitmq-server, which command should you run to verify RabbitMQ is running correctly?

medium📝 Command Output Q13 of 15
RabbitMQ - Security and Operations
After running sudo apt-get install rabbitmq-server, which command should you run to verify RabbitMQ is running correctly?
Arabbitmqctl stop_app
Bsudo systemctl status rabbitmq-server
Csudo apt-get install rabbitmq-server
Drabbitmqctl reset
Step-by-Step Solution
Solution:
  1. Step 1: Understand service verification

    After upgrade, checking service status confirms if RabbitMQ is running properly.
  2. Step 2: Identify correct status command

    "sudo systemctl status rabbitmq-server" shows current service status on systemd systems.
  3. Final Answer:

    sudo systemctl status rabbitmq-server -> Option B
  4. Quick Check:

    Check service status with systemctl = A [OK]
Quick Trick: Use systemctl status to check service health [OK]
Common Mistakes:
MISTAKES
  • Stopping app instead of checking status
  • Reinstalling instead of verifying
  • Resetting RabbitMQ unnecessarily

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More RabbitMQ Quizzes