Bird
0
0

How can you securely connect a Kafka client application to Confluent Cloud using SASL/PLAIN authentication?

hard📝 Application Q9 of 15
Kafka - Kubernetes and Cloud Deployment
How can you securely connect a Kafka client application to Confluent Cloud using SASL/PLAIN authentication?
AUse SSL only without SASL credentials
BUse OAuth2 tokens instead of SASL/PLAIN
CConnect without authentication since Confluent Cloud is public
DConfigure client with SASL mechanism PLAIN and provide API key and secret
Step-by-Step Solution
Solution:
  1. Step 1: Understand SASL/PLAIN authentication

    SASL/PLAIN requires username and password (API key and secret) for authentication.
  2. Step 2: Identify correct client configuration

    Client must set SASL mechanism to PLAIN and supply API credentials.
  3. Final Answer:

    Configure client with SASL mechanism PLAIN and provide API key and secret -> Option D
  4. Quick Check:

    SASL/PLAIN = API key and secret config [OK]
Quick Trick: SASL/PLAIN needs API key and secret [OK]
Common Mistakes:
MISTAKES
  • Skipping authentication
  • Using SSL only
  • Confusing with OAuth2

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes