Bird
0
0

Which Kafka client property is used to specify the SASL mechanism for authentication?

easy📝 Conceptual Q2 of 15
Kafka - Security
Which Kafka client property is used to specify the SASL mechanism for authentication?
Agroup.id
Bsasl.mechanism
Csecurity.protocol
Dssl.truststore.location
Step-by-Step Solution
Solution:
  1. Step 1: Identify SASL mechanism property

    The sasl.mechanism property defines which SASL authentication method (like PLAIN, SCRAM) the client uses.
  2. Step 2: Check other options

    ssl.truststore.location is for SSL certificates, security.protocol defines protocol, group.id is unrelated to authentication.
  3. Final Answer:

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

    sasl.mechanism = SASL auth method [OK]
Quick Trick: Use sasl.mechanism to set SASL auth type [OK]
Common Mistakes:
  • Mixing ssl properties with SASL settings
  • Confusing security.protocol with sasl.mechanism
  • Using group.id for authentication

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes