Complete the command to enable the RabbitMQ management plugin.
rabbitmq-plugins [1] rabbitmq_managementThe enable command activates the management plugin in RabbitMQ.
Complete the URL to access the RabbitMQ management HTTP API for listing all queues.
http://localhost:15672/api/[1]
The /api/queues endpoint returns a list of all queues in RabbitMQ.
Fix the error in the curl command to get RabbitMQ overview via HTTP API.
curl -u guest:guest http://localhost:15672/api/[1]
The correct endpoint to get the overview is /api/overview.
Fill both blanks to create a dictionary comprehension that lists queue names and their message counts from API data.
{queue['name']: queue[1] for queue in data if queue[2] [3] 0}The comprehension maps each queue's name to its message count, filtering queues with more than zero messages.
Fill all three blanks to create a dictionary comprehension that maps queue names in uppercase to their consumers, filtering queues with consumers.
{queue[1]: queue[2] for queue in data if queue[3] > 0}The comprehension maps uppercase queue names to their consumer counts, filtering queues with more than zero consumers.