Bird
0
0

What will happen if Kafka brokers are configured with SASL but clients do not provide credentials?

medium📝 Predict Output Q5 of 15
Kafka - Security
What will happen if Kafka brokers are configured with SASL but clients do not provide credentials?
AClients will connect without authentication
BClients will connect but with limited permissions
CClients will be denied connection
DClients will automatically use anonymous access
Step-by-Step Solution
Solution:
  1. Step 1: Understand SASL authentication requirement

    SASL requires clients to provide valid credentials to connect.
  2. Step 2: Predict behavior without credentials

    Without credentials, clients cannot authenticate and will be denied connection.
  3. Final Answer:

    Clients will be denied connection -> Option C
  4. Quick Check:

    SASL without credentials = denied connection [OK]
Quick Trick: SASL requires credentials or connection is denied [OK]
Common Mistakes:
  • Assuming anonymous access is allowed
  • Thinking clients connect with limited permissions
  • Confusing authentication with authorization

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes