Bird
0
0

Given this Kafka client config snippet:

medium📝 Predict Output Q13 of 15
Kafka - Security
Given this Kafka client config snippet:
security.protocol=SASL_SSL
sasl.mechanism=PLAIN
sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="user" password="pass";

What type of client authentication is configured?
ASSL without SASL
BSASL with PLAIN mechanism over SSL
CSASL with SCRAM mechanism
DNo authentication
Step-by-Step Solution
Solution:
  1. Step 1: Analyze security.protocol and sasl.mechanism

    security.protocol=SASL_SSL means SASL authentication over SSL. sasl.mechanism=PLAIN means using PLAIN SASL mechanism.
  2. Step 2: Confirm authentication type

    The config uses SASL PLAIN mechanism secured by SSL transport.
  3. Final Answer:

    SASL with PLAIN mechanism over SSL -> Option B
  4. Quick Check:

    SASL_SSL + PLAIN = SASL PLAIN over SSL [OK]
Quick Trick: SASL_SSL means SASL over SSL, check sasl.mechanism [OK]
Common Mistakes:
MISTAKES
  • Ignoring sasl.mechanism and assuming only SSL
  • Confusing PLAIN with SCRAM mechanism
  • Thinking no authentication is set

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes