Bird
0
0

You want to deploy Kafka in a cloud-native way that ensures zero downtime during broker upgrades. Which strategy should you use?

hard📝 Application Q8 of 15
Kafka - Kubernetes and Cloud Deployment
You want to deploy Kafka in a cloud-native way that ensures zero downtime during broker upgrades. Which strategy should you use?
AUpgrade brokers manually without automation.
BUse rolling updates with Kubernetes Deployment to upgrade brokers one at a time.
CStop all brokers, upgrade, then restart them together.
DDelete all brokers and redeploy them simultaneously.
Step-by-Step Solution
Solution:
  1. Step 1: Understand zero downtime upgrade strategies

    Rolling updates upgrade pods one by one, keeping service available.
  2. Step 2: Apply to Kafka broker upgrades

    Rolling updates allow Kafka brokers to upgrade without stopping the entire cluster.
  3. Final Answer:

    Use rolling updates with Kubernetes Deployment to upgrade brokers one at a time. -> Option B
  4. Quick Check:

    Rolling updates = zero downtime upgrades [OK]
Quick Trick: Rolling updates upgrade pods one by one [OK]
Common Mistakes:
MISTAKES
  • Deleting all brokers causes downtime
  • Stopping all brokers breaks availability
  • Manual upgrades risk errors and downtime

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes