Bird
0
0

Given this Helm command:

medium📝 Predict Output Q13 of 15
Kafka - Kubernetes and Cloud Deployment
Given this Helm command:
helm install kafka bitnami/kafka --set replicaCount=2,logRetentionHours=168

What will be the effect on the Kafka deployment?
ADeploy 2 Kafka brokers with logs retained for 168 hours
BDeploy 168 Kafka brokers with 2 hours log retention
CDeploy 2 Kafka brokers with default log retention
DDeployment will fail due to syntax error
Step-by-Step Solution
Solution:
  1. Step 1: Analyze replicaCount setting

    replicaCount=2 means 2 Kafka broker pods will be deployed.
  2. Step 2: Analyze logRetentionHours setting

    logRetentionHours=168 sets log retention to 168 hours (7 days).
  3. Final Answer:

    Deploy 2 Kafka brokers with logs retained for 168 hours -> Option A
  4. Quick Check:

    replicaCount=2 and logRetentionHours=168 = D [OK]
Quick Trick: Check each --set key=value carefully for effect [OK]
Common Mistakes:
MISTAKES
  • Mixing up values of replicaCount and logRetentionHours
  • Assuming syntax error due to comma
  • Ignoring log retention setting

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes