The security.protocol is set to SASL_SSL, which means SSL encryption plus SASL authentication.
Step 2: Understand SASL and SSL roles
SSL encrypts data in transit, SASL provides user authentication. The truststore location supports SSL trust verification.
Final Answer:
Data encryption and user authentication -> Option A
Quick Check:
SASL_SSL = encryption + authentication [OK]
Hint: SASL_SSL means both encryption and authentication [OK]
Common Mistakes:
Thinking it only compresses data
Ignoring authentication part
Assuming no security is set
4. You configured Kafka with SASL_PLAINTEXT but forgot to set sasl.jaas.config. What will happen?
medium
A. Kafka will allow connections without authentication
B. Kafka will reject connections due to missing credentials
C. Kafka will encrypt data automatically
D. Kafka will crash immediately
Solution
Step 1: Understand SASL_PLAINTEXT usage
SASL_PLAINTEXT requires authentication but does not encrypt data.
Step 2: Effect of missing sasl.jaas.config
This config provides credentials. Without it, Kafka cannot authenticate clients and will reject connections.
Final Answer:
Kafka will reject connections due to missing credentials -> Option B
Quick Check:
Missing credentials = connection rejected [OK]
Hint: Missing auth config blocks connections [OK]
Common Mistakes:
Assuming no authentication needed
Thinking data is encrypted automatically
Expecting Kafka to crash
5. You want to secure Kafka to meet privacy rules by encrypting data at rest and in transit, and controlling who can read topics. Which combination should you use?
hard
A. Enable SSL for encryption in transit, enable Kafka ACLs for access control, and use disk encryption for data at rest
B. Only enable SSL, no access control needed
C. Use SASL_PLAINTEXT and disable ACLs
D. Rely on network firewall only
Solution
Step 1: Identify encryption needs
Encrypting data in transit requires SSL/TLS; data at rest needs disk or volume encryption.
Step 2: Identify access control needs
Kafka ACLs control who can read or write topics, essential for privacy compliance.
Step 3: Combine security features
Enable SSL for encryption in transit, enable Kafka ACLs for access control, and use disk encryption for data at rest covers encryption in transit, encryption at rest, and access control.
Final Answer:
Enable SSL for encryption in transit, enable Kafka ACLs for access control, and use disk encryption for data at rest -> Option A
Quick Check:
Encryption + ACLs + disk encryption = full security [OK]
Hint: Combine encryption and access control for full protection [OK]
Common Mistakes:
Thinking SSL alone is enough
Ignoring access control
Relying only on network firewall
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.