Which field in the Strimzi Kafka custom resource defines the number of Kafka broker replicas?
Think about where the Kafka broker count is configured inside the Kafka resource spec.
The spec.kafka.replicas field sets how many Kafka broker pods will run. The spec.zookeeper.replicas controls Zookeeper nodes, and metadata.replicas is not a valid field here.
What is the output of this command when run inside a Kafka pod managed by Strimzi?
bin/kafka-topics.sh --bootstrap-server localhost:9092 --list
Assume the Kafka cluster has two topics named 'my-topic' and 'another-topic'.
The command lists all topics in the Kafka cluster. If topics exist, their names are printed line by line.
Which YAML snippet correctly configures a KafkaUser resource with TLS authentication in Strimzi?
Look for the correct field names and values for TLS authentication.
The authentication.type field must be set to tls to enable TLS authentication. Option A uses an invalid field auth, B uses invalid tls: true, and D configures SCRAM instead of TLS.
You see a Kafka broker pod stuck in CrashLoopBackOff after deploying Strimzi Kafka cluster. Which of these is the most likely cause?
Think about what can cause Kafka broker pods to fail starting repeatedly.
Kafka brokers require valid TLS certificates and secrets to start properly. Missing or invalid certificates cause startup failures and CrashLoopBackOff. Zookeeper running normally or empty topics do not cause broker pod crashes. Missing KafkaUser affects clients, not brokers.
Arrange the correct order of steps to safely upgrade a Kafka cluster managed by Strimzi without downtime.
Think about what must be done before changing the cluster and what to verify after.
First, backup data and configs to prevent data loss. Then update the Kafka resource to trigger upgrade. Next, verify new pods are ready. Finally, check cluster health and topic availability to confirm success.