Bird
0
0

You configured Kafka client with:

medium📝 Debug Q6 of 15
Kafka - Security
You configured Kafka client with:
security.protocol=SSL
ssl.truststore.location=/path/truststore.jks
ssl.truststore.password=wrongpass

The client fails to connect. What is the likely cause?
Asecurity.protocol should be PLAINTEXT for SSL
BIncorrect truststore password prevents SSL handshake
CMissing keystore location causes failure
DTruststore password is optional and ignored
Step-by-Step Solution
Solution:
  1. Step 1: Understand truststore password role

    The truststore password unlocks certificates needed to verify the broker.
  2. Step 2: Effect of wrong truststore password

    Wrong password blocks access to certificates, causing SSL handshake failure and connection refusal.
  3. Final Answer:

    Incorrect truststore password prevents SSL handshake -> Option B
  4. Quick Check:

    Wrong truststore password blocks connection = C [OK]
Quick Trick: Truststore password must be correct for SSL handshake [OK]
Common Mistakes:
  • Confusing keystore and truststore roles
  • Setting security.protocol to PLAINTEXT for SSL
  • Assuming truststore password is optional

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes