Complete the command to list all virtual hosts in RabbitMQ.
rabbitmqctl list_[1]The command rabbitmqctl list_vhosts lists all virtual hosts configured in RabbitMQ.
Complete the command to add a new virtual host named 'dev_env'.
rabbitmqctl add_[1] dev_envThe command rabbitmqctl add_vhost dev_env creates a new virtual host called 'dev_env'.
Fix the error in the command to delete a virtual host named 'test_env'.
rabbitmqctl delete_[1] test_envThe correct command to delete a virtual host is rabbitmqctl delete_vhost test_env.
Fill both blanks to set permissions for user 'alice' on virtual host 'prod_env'.
rabbitmqctl set_permissions -p [1] [2] ".*" ".*" ".*"
The command rabbitmqctl set_permissions -p prod_env alice ".*" ".*" ".*" sets full permissions for user 'alice' on the 'prod_env' virtual host.
Fill all three blanks to list permissions for user 'charlie' on virtual host 'test_env'.
rabbitmqctl list_permissions -p [1] | grep [2] | awk '[3]'
This command lists permissions on 'test_env' for user 'charlie' and prints the first three columns showing user and permissions.