Bird
0
0

Given this Kafka client config snippet:

medium📝 Predict Output Q4 of 15
Kafka - Security
Given this Kafka client config snippet:
security.protocol=SSL
ssl.keystore.location=/etc/kafka/keystore.jks
ssl.keystore.password=changeit
ssl.key.password=changeit

What will happen if the keystore password is incorrect?
AClient connects but without encryption
BClient ignores the password and connects successfully
CClient connects but logs a warning
DClient fails to authenticate and cannot connect
Step-by-Step Solution
Solution:
  1. Step 1: Understand role of keystore password

    The keystore password unlocks the private keys needed for SSL authentication.
  2. Step 2: Effect of incorrect password

    If the password is wrong, client cannot access keys and fails SSL handshake, blocking connection.
  3. Final Answer:

    Client fails to authenticate and cannot connect -> Option D
  4. Quick Check:

    Wrong keystore password causes connection failure = B [OK]
Quick Trick: Incorrect keystore password blocks SSL handshake [OK]
Common Mistakes:
  • Assuming client connects without encryption
  • Thinking client logs warning but connects
  • Believing password is optional

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes