QuizzesIntermediate Guide to Apache Kafka Security: Authentication and Authorization
intermediate
apache-kafka

Intermediate Guide to Apache Kafka Security: Authentication and Authorization

Assess your understanding of Apache Kafka's security mechanisms, focusing on authentication and authorization.

18 minutes 12 questions Pass at 70%
Time Limit
18 minutes - timer starts when you begin
Change Answers Freely
Revisit and change any answer before submitting
Full Review After Submit
Correct answers and explanations shown for every question
Auto-submit on timeout
Quiz submits automatically when time runs out

Questions in this quiz

12 questions on Intermediate Guide to Apache Kafka Security: Authentication and Authorization. Work through them here, then start the quiz to answer them and see your score.

  1. 1.Which of the following protocols is commonly used for authentication in Apache Kafka?

    • AOAuth2
    • BSASL
    • CTLS
    • DLDAP
  2. 2.What is the primary role of a Kafka Principal?

    • ATo manage Kafka topics
    • BTo define access control policies
    • CTo represent a user or service
    • DTo configure Kafka brokers
  3. 3.In Kafka, which component is responsible for enforcing authorization policies?

    • AKafka Broker
    • BZooKeeper
    • CKafka Producer
    • DKafka Consumer
  4. 4.Which of the following is NOT a valid SASL mechanism supported by Kafka?

    • APLAIN
    • BSCRAM
    • CGSSAPI
    • DNTLM
  5. 5.What is the purpose of Kafka's Access Control Lists (ACLs)?

    • ATo encrypt data in transit
    • BTo authenticate users
    • CTo authorize access to resources
    • DTo manage topic partitions
  6. 6.Which Kafka property is used to enable SSL encryption?

    • Assl.enabled
    • Bsecurity.protocol
    • Cssl.encryption
    • Denable.ssl
  7. 7.What is the default behavior of Kafka if no ACLs are defined?

    • ADeny all access
    • BAllow all access
    • CAllow read-only access
    • DAllow write-only access
  8. 8.Which tool can be used to manage Kafka ACLs?

    • Akafka-acl-tool
    • Bkafka-configs
    • Ckafka-topics
    • Dkafka-consumer-groups
  9. 9.How does Kafka ensure data integrity during transmission?

    • AUsing SSL/TLS
    • BUsing SASL
    • CUsing ACLs
    • DUsing OAuth2
  10. 10.Which of the following is a valid Kafka authorization strategy?

    • ARole-based
    • BAttribute-based
    • CToken-based
    • DPolicy-based
  11. 11.What is the role of ZooKeeper in Kafka security?

    • ATo store ACLs
    • BTo manage broker metadata
    • CTo authenticate users
    • DTo encrypt messages
  12. 12.Which Kafka configuration is used to specify the SASL mechanism?

    • Asasl.mechanism
    • Bsasl.protocol
    • Csecurity.sasl
    • Dsasl.config