Bird
0
0

You want to expose Kafka outside the Kubernetes cluster using Strimzi. Which listener type should you configure in the Kafka resource YAML?

hard📝 Application Q8 of 15
Kafka - Kubernetes and Cloud Deployment
You want to expose Kafka outside the Kubernetes cluster using Strimzi. Which listener type should you configure in the Kafka resource YAML?
Aclusterip
Binternal
Cnodeport or loadbalancer
Dheadless
Step-by-Step Solution
Solution:
  1. Step 1: Identify listener types for external access

    To expose Kafka outside Kubernetes, listener type must be nodeport or loadbalancer.
  2. Step 2: Understand other listener types

    Internal is for inside cluster only, clusterip is default internal service, headless is for direct pod access, not external exposure.
  3. Final Answer:

    nodeport or loadbalancer -> Option C
  4. Quick Check:

    External Kafka access = nodeport/loadbalancer listener [OK]
Quick Trick: Use nodeport or loadbalancer listener for external Kafka access [OK]
Common Mistakes:
MISTAKES
  • Using internal listener for external access
  • Confusing clusterip with external exposure
  • Thinking headless service exposes externally

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes