Kafka - Kubernetes and Cloud DeploymentWhich of the following is a correct way to trigger auto-scaling in Kafka using metrics?AIncrease partition count without checking loadBManually restart brokers every hourCDisable monitoring to save resourcesDMonitor CPU usage and add brokers when usage exceeds thresholdCheck Answer
Step-by-Step SolutionSolution:Step 1: Identify correct auto-scaling triggerAuto-scaling triggers on metrics like CPU usage crossing a threshold.Step 2: Evaluate optionsOnly Monitor CPU usage and add brokers when usage exceeds threshold uses monitoring metrics to trigger scaling automatically.Final Answer:Monitor CPU usage and add brokers when usage exceeds threshold -> Option DQuick Check:Auto-scale triggers = metric thresholds [OK]Quick Trick: Auto-scaling triggers on metrics, not manual actions [OK]Common Mistakes:Confusing manual restarts with auto-scalingIgnoring monitoring importanceScaling without checking load
Master "Kubernetes and Cloud Deployment" in Kafka9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Kafka Quizzes Advanced Stream Processing - Testing stream topologies - Quiz 4medium Advanced Stream Processing - Why advanced patterns handle complex flows - Quiz 9hard Event-Driven Architecture - CQRS pattern - Quiz 4medium Multi-Datacenter and Replication - Disaster recovery planning - Quiz 11easy Performance Tuning - Disk I/O optimization - Quiz 10hard Performance Tuning - Why tuning handles production load - Quiz 14medium Performance Tuning - Batch size and compression tuning - Quiz 8hard Security - Encryption at rest - Quiz 5medium Security - ACL-based authorization - Quiz 3easy Security - Security best practices - Quiz 9hard