Bird
0
0

You want RabbitMQ to authenticate users first via OAuth, then fallback to LDAP if OAuth fails. How should you configure auth_backends?

hard📝 Workflow Q8 of 15
RabbitMQ - Security and Operations
You want RabbitMQ to authenticate users first via OAuth, then fallback to LDAP if OAuth fails. How should you configure auth_backends?
Aauth_backends = [oauth, ldap]
Bauth_backends = [ldap, oauth]
Cauth_backends = [internal, oauth, ldap]
Dauth_backends = [oauth]
Step-by-Step Solution
Solution:
  1. Step 1: Understand backend order in auth_backends

    Backends are tried in order listed; first success stops further checks.
  2. Step 2: Set OAuth first, then LDAP fallback

    Listing oauth first, then ldap enables fallback if OAuth fails.
  3. Final Answer:

    auth_backends = [oauth, ldap] -> Option A
  4. Quick Check:

    Order controls fallback sequence [OK]
Quick Trick: List OAuth before LDAP for fallback order [OK]
Common Mistakes:
MISTAKES
  • Reversing backend order
  • Including internal backend unnecessarily
  • Using single backend without fallback

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More RabbitMQ Quizzes