Bird
0
0

In a cloud-native Kafka setup, a YAML file uses 'kind: Job' to deploy Kafka brokers. What problem will this cause?

medium📝 Debug Q7 of 15
Kafka - Kubernetes and Cloud Deployment
In a cloud-native Kafka setup, a YAML file uses 'kind: Job' to deploy Kafka brokers. What problem will this cause?
AKafka brokers will start but immediately exit after completing the job.
BKafka brokers will run continuously as expected.
CThe Job kind automatically scales Kafka brokers.
DKafka brokers will ignore the Job and run as pods.
Step-by-Step Solution
Solution:
  1. Step 1: Understand Kubernetes Job behavior

    Job runs a task to completion and then stops; not suitable for long-running services.
  2. Step 2: Apply to Kafka brokers

    Kafka brokers need to run continuously; Job causes them to exit after starting.
  3. Final Answer:

    Kafka brokers will start but immediately exit after completing the job. -> Option A
  4. Quick Check:

    Job = short task, not continuous service [OK]
Quick Trick: Use Deployment, not Job, for Kafka brokers [OK]
Common Mistakes:
  • Thinking Job runs services continuously
  • Assuming Job scales brokers automatically
  • Believing brokers ignore Job kind

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes