Bird
0
0

What is wrong with this ACL command?

medium📝 Debug Q7 of 15
Kafka - Security
What is wrong with this ACL command?
kafka-acls --add --allow-principal User:emma --operation Read --group
AOperation Read is invalid for groups
BUser prefix should be lowercase
CMissing --topic flag
DMissing consumer group name after --group
Step-by-Step Solution
Solution:
  1. Step 1: Check command syntax for group ACL

    The --group flag requires a group name to specify which consumer group.
  2. Step 2: Validate other parts

    User prefix is case-sensitive but correct as User:, Read is valid for groups, and --topic is not needed here.
  3. Final Answer:

    Missing consumer group name after --group -> Option D
  4. Quick Check:

    Group name required after --group [OK]
Quick Trick: Always specify group name after --group [OK]
Common Mistakes:
  • Omitting group name after --group
  • Incorrect User prefix casing
  • Confusing group and topic flags

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes