Bird
0
0

Given a Kafka cluster deployed on Kubernetes with autoscaling enabled, what happens when message traffic suddenly doubles?

medium📝 Predict Output Q4 of 15
Kafka - Kubernetes and Cloud Deployment
Given a Kafka cluster deployed on Kubernetes with autoscaling enabled, what happens when message traffic suddenly doubles?
AThe cluster ignores the traffic increase and stays the same size.
BThe cluster shuts down some brokers to save resources.
CThe cluster automatically adds more broker pods to handle the load.
DThe cluster crashes due to overload.
Step-by-Step Solution
Solution:
  1. Step 1: Understand autoscaling in cloud-native Kafka

    Autoscaling means the system adjusts the number of brokers based on workload automatically.
  2. Step 2: Apply to traffic increase scenario

    When traffic doubles, autoscaling triggers more broker pods to maintain performance.
  3. Final Answer:

    The cluster automatically adds more broker pods to handle the load. -> Option C
  4. Quick Check:

    Autoscaling = Add brokers on high load [OK]
Quick Trick: Autoscaling adds resources when load increases [OK]
Common Mistakes:
MISTAKES
  • Thinking cluster shuts down brokers on more load
  • Assuming cluster size stays fixed
  • Believing cluster crashes immediately

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes