Bird
0
0

Given this ACL command:

medium📝 Predict Output Q4 of 15
Kafka - Security
Given this ACL command:
kafka-acls --add --allow-principal User:alice --operation Read --topic sales

What permission does Alice have?
ARead access to the sales topic
BWrite access to the sales topic
CDelete access to the sales topic
DNo access to the sales topic
Step-by-Step Solution
Solution:
  1. Step 1: Analyze the ACL command parameters

    The command grants User 'alice' the 'Read' operation on the 'sales' topic.
  2. Step 2: Match operation to permission

    'Read' operation means Alice can consume messages from the sales topic.
  3. Final Answer:

    Read access to the sales topic -> Option A
  4. Quick Check:

    ACL operation Read = Read access [OK]
Quick Trick: ACL operation Read means read permission [OK]
Common Mistakes:
MISTAKES
  • Confusing Read with Write permission
  • Ignoring the specified topic
  • Assuming default permissions

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes