Bird
0
0

Which Kafka client configuration property specifies the SASL mechanism to use?

easy📝 Conceptual Q2 of 15
Kafka - Security
Which Kafka client configuration property specifies the SASL mechanism to use?
Asecurity.protocol
Bsasl.mechanism
Csasl.enabled
Dauthentication.method
Step-by-Step Solution
Solution:
  1. Step 1: Identify SASL mechanism property

    The Kafka client uses a specific property to define which SASL mechanism (like PLAIN, SCRAM) to use.
  2. Step 2: Match property name

    The correct property is 'sasl.mechanism' which tells Kafka which SASL method to apply.
  3. Final Answer:

    sasl.mechanism -> Option B
  4. Quick Check:

    SASL mechanism property = sasl.mechanism [OK]
Quick Trick: Use sasl.mechanism to set SASL type in Kafka config [OK]
Common Mistakes:
MISTAKES
  • Using security.protocol instead
  • Assuming sasl.enabled exists
  • Confusing with authentication.method
  • Misspelling property name

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes