QuizzesKafka Security: SSL & SASL — Concept Check
intermediate
kafka

Kafka Security: SSL & SASL — Concept Check

Questions on Kafka Security: SSL & SASL. Kafka supports SSL/TLS for encryption-in-transit and SASL mechanisms (PLAIN, SCRAM, GSSAPI/Kerberos, OAUTHBEARER) for authentication. ACLs control which principals can produce/consume from which topics.

7 minutes 7 questions Pass at 70%
Time Limit
7 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

7 questions on Kafka Security: SSL & SASL — Concept Check. Work through them here, then start the quiz to answer them and see your score.

  1. 1.A Kafka cluster is configured with SASL/SCRAM-SHA-256 for authentication. What is the primary role of SCRAM-SHA-256 in this setup?

    • ATo manage client connections
    • BTo encrypt data in transit
    • CTo authorize clients to access topics
    • DTo authenticate clients using username/password
  2. 2.A Kafka client is unable to produce messages to a topic despite having correct SASL/SCRAM configuration. What could be the issue?

    • AThe client is using the wrong SASL mechanism
    • BThe Kafka broker is not configured for SASL_SSL
    • CThe client is using an incorrect SSL keystore
    • DThe ACLs do not allow the client to produce to the topic
  3. 3.In a cloud environment, which authentication mechanism is increasingly standard for Kafka?

    • ASASL/PLAIN
    • BSASL/SCRAM
    • CSASL/GSSAPI
    • DOAUTHBEARER with an IdP
  4. 4.A developer configures a Spring Boot Kafka client with SASL_SSL but uses SASL/PLAIN for authentication. What is likely to happen?

    • AThe client will connect successfully
    • BThe client will fail to authenticate
    • CThe client will authenticate but not encrypt data
    • DThe client will encrypt data but not authenticate
  5. 5.What is the purpose of the 'security.inter.broker.protocol' setting in Kafka's server.properties?

    • ATo set the default authentication mechanism
    • BTo configure the client connection timeout
    • CTo define the protocol for inter-broker communication
    • DTo specify the encryption algorithm used
  6. 6.A Kafka broker is set up with 'sasl.enabled.mechanisms=SCRAM-SHA-256'. What does this configuration control?

    • AThe authentication mechanism available to clients
    • BThe replication protocol between brokers
    • CThe encryption method for data in transit
    • DThe authorization rules for topic access
  7. 7.A Kafka client using SASL/SCRAM-SHA-256 fails to connect due to SSL issues. What might be the cause?

    • AExpired SSL certificate
    • BIncorrect ACLs for the client
    • CIncorrect username/password
    • DWrong SASL mechanism specified