Which of the following is the main advantage of deploying Kafka in a cloud-native environment?
Think about how cloud-native systems handle resources and failures.
Cloud-native deployment enables Kafka to scale up or down automatically and recover quickly from failures, making it more reliable and efficient.
What will be the output of this Kafka CLI command when run in a cloud-native environment with auto topic creation enabled?
kafka-topics.sh --bootstrap-server localhost:9092 --create --topic test-topic --partitions 3 --replication-factor 2
Assume the cluster has enough brokers and auto topic creation is enabled.
The command creates the topic with specified partitions and replication factor, so it outputs confirmation.
A Kafka pod in a Kubernetes cluster keeps restarting. Which of the following is the most likely cause?
Consider what happens when a pod uses more memory or CPU than allowed.
If resource limits are too low, the pod can be killed and restarted repeatedly by Kubernetes.
Which YAML snippet correctly configures a Kafka consumer group in a cloud-native deployment?
Kafka configuration keys use dots and lowercase letters.
Kafka consumer configs use dot notation like 'group.id' and 'bootstrap.servers'.
You want to deploy Kafka in a cloud-native environment to ensure high availability and fault tolerance. Which design choice best supports this goal?
Think about how to avoid data loss and downtime if one zone fails.
Deploying brokers across zones with replication factor 3 ensures data is copied and available even if one zone fails.