0
0
RabbitMQdevops~20 mins

Management plugin and HTTP API in RabbitMQ - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
RabbitMQ Management Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate
1:30remaining
Check if RabbitMQ management plugin is enabled
You run the command rabbitmq-plugins list on your server. Which output line confirms the management plugin is enabled?
RabbitMQ
rabbitmq-plugins list
A[ ] rabbitmq_management_agent
B[ ] rabbitmq_management
C[E] rabbitmq_web_dispatch
D[E] rabbitmq_management
Attempts:
2 left
💡 Hint
Look for the '[E]' mark which means enabled.
🧠 Conceptual
intermediate
1:30remaining
Purpose of RabbitMQ HTTP API
What is the main purpose of the RabbitMQ HTTP API provided by the management plugin?
ATo replace the AMQP protocol for all messaging
BTo send messages directly to queues using HTTP POST requests
CTo allow programmatic access to monitor and manage RabbitMQ via HTTP requests
DTo configure RabbitMQ server settings only via command line
Attempts:
2 left
💡 Hint
Think about what HTTP APIs usually do for services.
Configuration
advanced
2:00remaining
Enable RabbitMQ management plugin on a server
Which command correctly enables the RabbitMQ management plugin on a server?
Arabbitmq-plugins enable rabbitmq_management
Brabbitmqctl enable_plugin rabbitmq_management
Crabbitmq-plugins start rabbitmq_management
Drabbitmqctl start_plugin rabbitmq_management
Attempts:
2 left
💡 Hint
The command uses 'rabbitmq-plugins' and 'enable'.
Troubleshoot
advanced
2:00remaining
HTTP API returns 401 Unauthorized error
You try to access the RabbitMQ HTTP API but get a 401 Unauthorized error. What is the most likely cause?
AYou did not provide valid username and password for HTTP API access
BThe RabbitMQ server is not running
CThe management plugin is disabled
DThe HTTP API endpoint URL is incorrect
Attempts:
2 left
💡 Hint
401 means unauthorized access.
🔀 Workflow
expert
3:00remaining
Sequence to monitor queue message count via HTTP API
What is the correct sequence of steps to monitor the message count of a queue named 'task_queue' using the RabbitMQ HTTP API?
A3,2,1,4
B1,2,3,4
C1,3,2,4
D2,1,3,4
Attempts:
2 left
💡 Hint
You must enable plugin before using API and authenticate before requesting data.