Bird
0
0

You want to secure Kafka so that only authenticated users can produce messages, and all data is encrypted in transit. Which combination of settings should you apply?

hard📝 Application Q8 of 15
Kafka - Security
You want to secure Kafka so that only authenticated users can produce messages, and all data is encrypted in transit. Which combination of settings should you apply?
ASet security.protocol to PLAINTEXT and enable SSL encryption
BUse PLAINTEXT protocol with ACLs to restrict access
CDisable SASL and enable SSL only
DSet security.protocol to SASL_SSL and configure SASL mechanisms for authentication
Step-by-Step Solution
Solution:
  1. Step 1: Identify how to enable encryption and authentication

    security.protocol=SASL_SSL enables both SSL encryption and SASL authentication.
  2. Step 2: Confirm SASL mechanism configuration

    Configuring SASL mechanisms (like PLAIN or SCRAM) enables user authentication.
  3. Final Answer:

    Set security.protocol to SASL_SSL and configure SASL mechanisms for authentication -> Option D
  4. Quick Check:

    Encryption + Authentication = SASL_SSL + SASL config [OK]
Quick Trick: SASL_SSL = encryption + authentication [OK]
Common Mistakes:
MISTAKES
  • Using PLAINTEXT disables encryption
  • Disabling SASL removes authentication
  • Relying on ACLs without encryption

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes