Bird
0
0

You have this Kafka client config:

medium📝 Debug Q14 of 15
Kafka - Security
You have this Kafka client config:
security.protocol=SSL
ssl.keystore.location=/path/to/keystore
ssl.keystore.password=wrongpass

The client fails to authenticate. What is the most likely cause?
AIncorrect keystore password
BMissing sasl.mechanism property
Csecurity.protocol should be PLAINTEXT
Dssl.keystore.location path is not needed
Step-by-Step Solution
Solution:
  1. Step 1: Check SSL keystore config

    The keystore password is set to 'wrongpass', which likely does not match the actual password.
  2. Step 2: Evaluate other options

    Missing sasl.mechanism is irrelevant for SSL-only config. PLAINTEXT disables security. Keystore location is required.
  3. Final Answer:

    Incorrect keystore password -> Option A
  4. Quick Check:

    Wrong password causes SSL auth failure [OK]
Quick Trick: Check passwords carefully for SSL keystore [OK]
Common Mistakes:
MISTAKES
  • Assuming sasl.mechanism is needed for SSL-only
  • Changing security.protocol to PLAINTEXT by mistake
  • Ignoring keystore location requirement

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes