Bird
0
0

Identify the error in this ACL command:

medium📝 Debug Q6 of 15
Kafka - Security
Identify the error in this ACL command:
kafka-acls --add --allow-principal User:dan --operation Remove --topic inventory
AUser prefix is missing in principal
BTopic name is invalid
CRemove is not a valid operation for topics
DMissing --cluster flag
Step-by-Step Solution
Solution:
  1. Step 1: Check valid operations for topics

    Kafka ACL operations for topics include Read, Write, Create, Describe, but not Remove.
  2. Step 2: Verify other parts of command

    User prefix is present, topic name looks valid, and --cluster is optional here.
  3. Final Answer:

    Remove is not a valid operation for topics -> Option C
  4. Quick Check:

    Remove operation invalid for topics [OK]
Quick Trick: Use only valid operations like Read, Write, Create [OK]
Common Mistakes:
  • Using unsupported operations like Remove
  • Omitting User: prefix
  • Confusing cluster and topic flags

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes