Bird
0
0

Given the following Kafka broker config snippet:

medium📝 Predict Output Q4 of 15
Kafka - Security
Given the following Kafka broker config snippet:
listeners=SASL_SSL://:9093
sasl.enabled.mechanisms=PLAIN
security.inter.broker.protocol=SASL_SSL

What is the effect of this configuration?
AIt disables both encryption and authentication
BIt enables encrypted and authenticated communication between brokers and clients
CIt enables only encryption without authentication
DIt disables encryption but allows authentication
Step-by-Step Solution
Solution:
  1. Step 1: Analyze the listener and protocol settings

    Listeners use SASL_SSL, which means encryption (SSL) plus authentication (SASL).
  2. Step 2: Understand inter-broker communication

    security.inter.broker.protocol=SASL_SSL means brokers communicate securely with encryption and authentication.
  3. Final Answer:

    It enables encrypted and authenticated communication between brokers and clients -> Option B
  4. Quick Check:

    SASL_SSL config = Encryption + Authentication [OK]
Quick Trick: SASL_SSL means secure and authenticated communication [OK]
Common Mistakes:
  • Assuming SASL_SSL disables encryption
  • Confusing SASL with only authentication without encryption
  • Ignoring inter-broker protocol settings

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes