Bird
0
0

For a Kafka cluster expected to handle 1 million messages per second with minimal latency, which resource planning approach is optimal?

hard📝 Application Q8 of 15
Kafka - Kubernetes and Cloud Deployment
For a Kafka cluster expected to handle 1 million messages per second with minimal latency, which resource planning approach is optimal?
ARely on cloud autoscaling without pre-planning partitions or brokers
BUse fewer brokers with large memory and reduce partitions to minimize overhead
CDeploy multiple high-performance brokers with SSD storage and increase partitions
DIncrease replication factor to 5 to ensure message durability
Step-by-Step Solution
Solution:
  1. Step 1: Understand throughput needs

    Handling 1 million messages/sec requires high broker capacity and fast storage.
  2. Step 2: Optimize partitions

    Increasing partitions allows parallel processing and better throughput.
  3. Step 3: Use SSDs and multiple brokers

    SSD storage reduces I/O latency; multiple brokers distribute load effectively.
  4. Final Answer:

    Deploy multiple high-performance brokers with SSD storage and increase partitions -> Option C
  5. Quick Check:

    High throughput needs many brokers, SSDs, and partitions [OK]
Quick Trick: High throughput needs many brokers, SSDs, and partitions [OK]
Common Mistakes:
MISTAKES
  • Reducing partitions to minimize overhead
  • Relying solely on autoscaling without planning
  • Increasing replication factor unnecessarily

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes