Bird
0
0

Given the ACL command:

medium📝 Predict Output Q4 of 15
Kafka - Security
Given the ACL command:
kafka-acls --add --allow-principal User:bob --operation Write --topic payments

What operation can user 'bob' perform on the 'payments' topic?
ADelete the 'payments' topic
BRead messages from 'payments' topic
CWrite messages to 'payments' topic
DCreate new topics
Step-by-Step Solution
Solution:
  1. Step 1: Analyze the ACL command

    The command grants User:bob the Write operation on the 'payments' topic.
  2. Step 2: Understand what Write operation means

    Write means user can send (produce) messages to the topic, not read or delete.
  3. Final Answer:

    Write messages to 'payments' topic -> Option C
  4. Quick Check:

    Write operation = send messages [OK]
Quick Trick: Write operation allows sending messages to topic [OK]
Common Mistakes:
MISTAKES
  • Confusing Write with Read permission
  • Assuming Write allows topic deletion
  • Thinking Write allows topic creation

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes