21.) Where are Kafka credentials stored for PLAIN or SCRAM mechanisms?
A) In ZooKeeper encrypted files
B) In the Kafka producer file
C) In the JAAS configuration
D) In server.properties
22.) What is the main purpose of security.inter.broker.protocol?
A) Specify partition assignment algorithm
B) Enable authentication between brokers
C) Define replication lag
D) Set up log retention
23.) What type of encryption does Kafka use for SSL?
A) Block encryption
B) Asymmetric encryption
C) Symmetric encryption with public key
D) TLS (a variant of SSL)
24.) What does Principal refer to in Kafka security?
A) A Java thread
B) A broker hostname
C) An authenticated user identity
D) A security certificate
25.) If a Kafka client gets SASLAuthenticationException, what is the likely cause?
A) Wrong topic name
B) Unavailable broker
C) Invalid user credentials
D) Full disk on server
26.) Which of the following is NOT a valid Kafka SASL mechanism?
A) DIGEST-MD5
B) SCRAM
C) PLAIN
D) GSSAPI
27.) What is the use of Authorizer class in Kafka?
A) Control broker startup
B) Define ACL verification logic
C) Configure topic retention
D) Assign partitions
28.) Which setting allows Kafka to check the certificate’s common name (CN)?
A) ssl.cn.validation.enable
B) ssl.hostname.verification.enable=true
C) cert.check=true
D) enable.cn.auth=true
29.) Kafka client authentication failures are logged in:
A) server.properties
B) Kafka UI dashboard
C) ZooKeeper audit
D) Broker logs
30.) What is the benefit of enabling SASL_SSL over PLAINTEXT?
A) Faster data transfer
B) Simplified configuration
C) Adds encryption and authentication
D) Reduces latency
Related