0
0
Kafkadevops~5 mins

Security best practices in Kafka - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the purpose of enabling SSL/TLS in Kafka?
SSL/TLS encrypts data in transit between Kafka clients and brokers, protecting it from eavesdropping and tampering.
Click to reveal answer
beginner
Why should Kafka use SASL for authentication?
SASL provides a way to verify the identity of clients and brokers, ensuring only authorized users can connect.
Click to reveal answer
intermediate
What is the role of ACLs (Access Control Lists) in Kafka security?
ACLs control which users or clients can perform actions like reading or writing to topics, helping to enforce permissions.
Click to reveal answer
intermediate
How does Kafka ensure data integrity during transmission?
Kafka uses SSL/TLS to encrypt data and checksums to detect data corruption, ensuring data is not altered in transit.
Click to reveal answer
beginner
What is a best practice for managing Kafka credentials securely?
Store credentials in secure vaults or environment variables, avoid hardcoding them in code or config files, and rotate them regularly.
Click to reveal answer
Which protocol is commonly used to encrypt Kafka client-broker communication?
ATCP
BHTTP
CFTP
DSSL/TLS
What does SASL in Kafka help with?
AAuthentication
BData storage
CMessage formatting
DLoad balancing
What is the main purpose of Kafka ACLs?
AControl access permissions
BEncrypt messages
CCompress data
DMonitor performance
Which of these is NOT a recommended Kafka security practice?
AUsing SSL/TLS encryption
BHardcoding passwords in config files
CImplementing ACLs
DRotating credentials regularly
How can Kafka data integrity be verified during transmission?
AUsing JSON format
BUsing HTTP headers
CUsing checksums
DUsing load balancers
Explain the key security features you should enable when setting up Kafka to protect data and access.
Think about how to protect data in transit, verify users, and control permissions.
You got /4 concepts.
    Describe best practices for managing Kafka credentials and why they are important.
    Consider how to keep passwords safe and reduce risk if leaked.
    You got /4 concepts.