Kafka - SecurityWhy does Kafka require the 'sasl.jaas.config' property when using SASL authentication?ATo specify the SSL certificate locationBTo provide the login module and credentials for SASL authenticationCTo enable SASL encryption on the network layerDTo configure Kafka broker addressesCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand purpose of sasl.jaas.configThis property defines the Java Authentication and Authorization Service (JAAS) login module and credentials for SASL.Step 2: Differentiate from SSL and network settingsIt does not specify SSL certificates or network encryption, only authentication details.Final Answer:To provide the login module and credentials for SASL authentication -> Option BQuick Check:sasl.jaas.config sets SASL login module and credentials [OK]Quick Trick: sasl.jaas.config holds SASL login module and credentials [OK]Common Mistakes:MISTAKESConfusing with SSL cert configThinking it enables encryptionAssuming it sets broker addressesIgnoring its role in authentication
Master "Security" in Kafka9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Kafka Quizzes Advanced Stream Processing - State stores - Quiz 6medium Event-Driven Architecture - Event choreography vs orchestration - Quiz 9hard Event-Driven Architecture - Event sourcing pattern - Quiz 12easy Event-Driven Architecture - CQRS pattern - Quiz 12easy Event-Driven Architecture - Why event-driven scales applications - Quiz 15hard Multi-Datacenter and Replication - Active-passive vs active-active - Quiz 8hard Performance Tuning - Partition count strategy - Quiz 10hard Security - ACL-based authorization - Quiz 3easy Security - ACL-based authorization - Quiz 4medium Security - SSL/TLS encryption - Quiz 11easy