0
0
RabbitMQdevops~10 mins

User and permission management in RabbitMQ - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the command to add a new user named 'guest' with password 'guest123'.

RabbitMQ
rabbitmqctl add_user guest [1]
Drag options to blanks, or click blank then click option'
Aguest123
Bguest
Cadmin123
Dpassword
Attempts:
3 left
💡 Hint
Common Mistakes
Using the username instead of the password as the second argument.
Omitting the password argument.
2fill in blank
medium

Complete the command to set permissions for user 'guest' on the virtual host '/' allowing configure, write, and read access.

RabbitMQ
rabbitmqctl set_permissions -p / guest [1] [2] [3]
Drag options to blanks, or click blank then click option'
A.*
B^.*$
Cguest
Dread
Attempts:
3 left
💡 Hint
Common Mistakes
Using the username instead of regex patterns.
Using incomplete or incorrect regex patterns.
3fill in blank
hard

Fix the error in the command to delete user 'guest'.

RabbitMQ
rabbitmqctl [1] guest
Drag options to blanks, or click blank then click option'
Aremove_user
Bdelete_user
Cdel_user
Drm_user
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'remove_user' or 'del_user' which are invalid commands.
Using shortened or incorrect command names.
4fill in blank
hard

Fill both blanks to list all users and then list all permissions for user 'guest'.

RabbitMQ
rabbitmqctl [1] && rabbitmqctl [2] guest
Drag options to blanks, or click blank then click option'
Alist_users
Blist_user_permissions
Clist_user
Dshow_permissions
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'list_user' instead of 'list_users'.
Using 'show_permissions' which is not a valid command.
5fill in blank
hard

Fill all three blanks to create a user 'admin', set a password 'admin123', and give full permissions on virtual host '/admin'.

RabbitMQ
rabbitmqctl add_user admin [1] && rabbitmqctl set_permissions -p [2] admin [3] [3] [3]
Drag options to blanks, or click blank then click option'
Aadmin123
B/admin
C^.*$
Dguest
Attempts:
3 left
💡 Hint
Common Mistakes
Using wrong password or virtual host.
Using different regex patterns for permissions.