Operating Kafka · wrap-up
Cheat sheet & self-check
12 questions across 4 lessons. Each answer links back to the lesson it came from.
Pick an answer to see if you got it, and why.
Q1. Why do Kafka clients outside Kubernetes often fail to connect even though the bootstrap address works?
Show answer
B. Each broker must be individually reachable; Strimzi's route, loadbalancer, nodeport and ingress listener types handle this.
From lesson 13 · Kafka on Kubernetes and managed KafkaQ2. What does the Strimzi operator check before restarting the next broker in a rolling update?
Show answer
B. Restarting while partitions are under-replicated could make them unavailable.
From lesson 13 · Kafka on Kubernetes and managed KafkaQ3. When is a managed service such as MSK usually the better choice?
Show answer
B. Running Kafka well needs real expertise; buying it is often cheaper than building that skill.
From lesson 13 · Kafka on Kubernetes and managed KafkaQ4. What is a Kafka principal?
Show answer
B. Authentication produces the principal; authorization decides what it may do.
From lesson 14 · Security: TLS, authentication, ACLs and quotasQ5. Why use prefixed ACLs such as topic orders. for a team?
Show answer
B. Prefixes plus a naming convention give self-service with isolation.
From lesson 14 · Security: TLS, authentication, ACLs and quotasQ6. A new service floods the shared cluster and slows everyone. Which control limits it without stopping it?
Show answer
B. Quotas throttle a client instead of failing it, protecting the other tenants.
From lesson 14 · Security: TLS, authentication, ACLs and quotasQ7. UnderMinIsrPartitionCount is above zero. What are producers with acks=all experiencing?
Show answer
B. The ISR is smaller than min.insync.replicas, so Kafka refuses writes it cannot store safely.
From lesson 15 · Monitoring and troubleshootingQ8. Lag grows on one partition only, while the others are at zero. What is the most likely cause?
Show answer
B. A problem limited to one partition points to its data or its single consumer.
From lesson 15 · Monitoring and troubleshootingQ9. A client connects to the bootstrap server but then times out on every request. What should you check first?
Show answer
B. Bootstrap only returns metadata; all real traffic goes to the advertised broker addresses.
From lesson 15 · Monitoring and troubleshootingQ10. Producers write 50 MB/s, retention is 3 days, RF is 3. Roughly how much disk does the cluster need before headroom?
Show answer
B. Every byte is stored RF times. Add 30–50% headroom for growth and rebalancing.
From lesson 16 · Capacity, performance and disaster recoveryQ11. What does replication inside one cluster NOT protect against?
Show answer
B. In-cluster replicas share fate with the cluster; DR needs a second cluster or backups.
From lesson 16 · Capacity, performance and disaster recoveryQ12. After failing over to the DR cluster, why can't consumers simply reuse their offset numbers?
Show answer
B. The mirrored topic is a different log; offset numbers don't line up exactly.
From lesson 16 · Capacity, performance and disaster recovery