Which statement correctly describes how RabbitMQ uses LDAP for authentication?
Think about how LDAP servers are typically used for user verification.
RabbitMQ uses LDAP to authenticate users by querying the LDAP server to check credentials at login time.
What is the expected output when enabling the OAuth2 authentication plugin in RabbitMQ and restarting the server?
rabbitmq-plugins enable rabbitmq_auth_backend_oauth2 sudo systemctl restart rabbitmq-server sudo rabbitmqctl status | grep oauth2
Check if the plugin is listed as enabled after restart.
Enabling the OAuth2 plugin and restarting RabbitMQ should show the plugin as enabled and running in the status output.
Which configuration snippet correctly sets up RabbitMQ to authenticate users against an LDAP server at ldap.example.com on port 389?
Check the correct keys for LDAP server and port, and user DN pattern syntax.
Option D correctly uses the indexed auth_backends key, sets ldap.servers.1, port 389, and the user DN pattern with cn attribute.
After configuring OAuth2 authentication in RabbitMQ, users report login failures. Which of the following is the most likely cause?
Consider what external service OAuth2 depends on.
OAuth2 authentication depends on contacting the token endpoint. If the URL is wrong or unreachable, authentication fails.
Which approach best secures RabbitMQ authentication when using both LDAP and OAuth backends?
Think about layered security and encrypted connections.
Using OAuth as primary and LDAP as fallback with TLS encryption ensures secure, flexible authentication.