Bird
0
0

You want to secure Kafka so only users in the 'analytics' group can produce messages to the 'metrics' topic. Which combination is best?

hard📝 Application Q8 of 15
Kafka - Security
You want to secure Kafka so only users in the 'analytics' group can produce messages to the 'metrics' topic. Which combination is best?
ADisable all security features and rely on network firewall
BEnable SASL for authentication and set ACLs allowing 'analytics' group Write on 'metrics'
CUse ACLs without authentication
DEnable SSL encryption only
Step-by-Step Solution
Solution:
  1. Step 1: Identify requirements for user group control

    Authentication identifies users; ACLs control permissions per group.
  2. Step 2: Choose best security approach

    Enabling SASL authenticates users, ACLs restrict write access to 'analytics' group on 'metrics' topic.
  3. Final Answer:

    Enable SASL for authentication and set ACLs allowing 'analytics' group Write on 'metrics' -> Option B
  4. Quick Check:

    Authentication + ACLs = secure group access [OK]
Quick Trick: Combine SASL and ACLs for group-based access [OK]
Common Mistakes:
MISTAKES
  • Relying on encryption alone for access control
  • Using ACLs without authentication
  • Ignoring network security layers

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes