Kafka - SecurityWhich Kafka client property is used to specify the SASL mechanism for authentication?Agroup.idBsasl.mechanismCsecurity.protocolDssl.truststore.locationCheck Answer
Step-by-Step SolutionSolution:Step 1: Identify SASL mechanism propertyThe sasl.mechanism property defines which SASL authentication method (like PLAIN, SCRAM) the client uses.Step 2: Check other optionsssl.truststore.location is for SSL certificates, security.protocol defines protocol, group.id is unrelated to authentication.Final Answer:sasl.mechanism -> Option BQuick Check:sasl.mechanism = SASL auth method [OK]Quick Trick: Use sasl.mechanism to set SASL auth type [OK]Common Mistakes:Mixing ssl properties with SASL settingsConfusing security.protocol with sasl.mechanismUsing group.id for authentication
Master "Security" in Kafka9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Kafka Quizzes Event-Driven Architecture - Why event-driven scales applications - Quiz 6medium Event-Driven Architecture - Dead letter queue pattern - Quiz 9hard Kubernetes and Cloud Deployment - Helm charts for Kafka - Quiz 9hard Kubernetes and Cloud Deployment - Auto-scaling strategies - Quiz 12easy Kubernetes and Cloud Deployment - Kafka on Kubernetes (Strimzi) - Quiz 10hard Kubernetes and Cloud Deployment - Confluent Cloud overview - Quiz 8hard Kubernetes and Cloud Deployment - Why cloud-native deployment matters - Quiz 9hard Multi-Datacenter and Replication - Why multi-datacenter ensures availability - Quiz 13medium Multi-Datacenter and Replication - Why multi-datacenter ensures availability - Quiz 8hard Performance Tuning - Why tuning handles production load - Quiz 13medium