Bird
0
0

Given the following ACL command, what permission does it grant?

medium📝 Predict Output Q13 of 15
Kafka - Security
Given the following ACL command, what permission does it grant?
kafka-acls --add --allow-principal User:Alice --operation Read --topic sales-data
AAlice can read messages from the sales-data topic
BAlice can create new topics
CAlice can delete the sales-data topic
DAlice can write messages to the sales-data topic
Step-by-Step Solution
Solution:
  1. Step 1: Analyze the ACL command parameters

    The command adds an ACL allowing User:Alice the Read operation on the topic sales-data.
  2. Step 2: Understand the Read operation

    Read permission allows consuming or reading messages from the topic, not writing or deleting.
  3. Final Answer:

    Alice can read messages from the sales-data topic -> Option A
  4. Quick Check:

    ACL Read = Permission to consume messages [OK]
Quick Trick: Read operation in ACL means permission to consume messages [OK]
Common Mistakes:
MISTAKES
  • Confusing Read with Write permission
  • Assuming Read allows topic deletion
  • Mixing topic creation with ACL permissions

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes