Bird
0
0

You configured Kafka with SASL_PLAINTEXT but forgot to set sasl.jaas.config. What will happen?

medium📝 Debug Q14 of 15
Kafka - Security
You configured Kafka with SASL_PLAINTEXT but forgot to set sasl.jaas.config. What will happen?
AKafka will allow connections without authentication
BKafka will reject connections due to missing credentials
CKafka will encrypt data automatically
DKafka will crash immediately
Step-by-Step Solution
Solution:
  1. Step 1: Understand SASL_PLAINTEXT usage

    SASL_PLAINTEXT requires authentication but does not encrypt data.
  2. Step 2: Effect of missing sasl.jaas.config

    This config provides credentials. Without it, Kafka cannot authenticate clients and will reject connections.
  3. Final Answer:

    Kafka will reject connections due to missing credentials -> Option B
  4. Quick Check:

    Missing credentials = connection rejected [OK]
Quick Trick: Missing auth config blocks connections [OK]
Common Mistakes:
  • Assuming no authentication needed
  • Thinking data is encrypted automatically
  • Expecting Kafka to crash

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes