Foundations · wrap-up
Cheat sheet & self-check
18 questions across 5 lessons. Each answer links back to the lesson it came from.
Pick an answer to see if you got it, and why.
Q1. A team wants a red alert when checkout latency goes above 500 ms. Which tool fits best?
Show answer
B. Numbers over time with thresholds and alerts are monitoring. Kafka has no dashboards or alerts.
From lesson 01 · Kafka, EFK and monitoring: who does whatQ2. Billing, shipping and email must all act when an order is placed. Which tool fits best?
Show answer
C. Handing events to several other programs, reliably and in order, is what Kafka is for.
From lesson 01 · Kafka, EFK and monitoring: who does whatQ3. Which statement about Kafka is true?
Show answer
C. Kafka stores and delivers events. Getting data in, searching it and showing it are done by other tools.
From lesson 01 · Kafka, EFK and monitoring: who does whatQ4. Why do some logging pipelines put Kafka between Fluent Bit and Elasticsearch?
Show answer
B. Kafka adds a durable buffer and fan-out; Elasticsearch still does the indexing and Kibana the searching.
From lesson 01 · Kafka, EFK and monitoring: who does whatQ5. What is the main problem with every service calling every other service directly?
Show answer
B. A log in the middle lets producers write once and lets any number of consumers read independently.
From lesson 02 · Why event streamingQ6. How does a Kafka topic differ from a classic work queue?
Show answer
B. Reading does not remove data; each consumer group tracks its own position.
From lesson 02 · Why event streamingQ7. Which is a poor fit for Kafka?
Show answer
B. Synchronous request-response needs an API; Kafka is for asynchronous streams.
From lesson 02 · Why event streamingQ8. Where is ordering guaranteed in Kafka?
Show answer
B. Each partition is one ordered log. Records with the same key go to the same partition, so they stay in order.
From lesson 03 · Core conceptsQ9. A topic has 6 partitions and a consumer group has 8 consumers. How many consumers are busy?
Show answer
B. Each partition is assigned to at most one consumer in the group.
From lesson 03 · Core conceptsQ10. Two different consumer groups read the same topic. What does each get?
Show answer
B. Groups are independent; this is how one topic feeds many systems.
From lesson 03 · Core conceptsQ11. What replaced ZooKeeper in Kafka?
Q12. You produced order-1 twice and order-2 once to a 3-partition topic. Where are the two order-1 records?
Show answer
B. The key's hash picks the partition, so the same key always maps to the same partition.
From lesson 04 · Lab: your first Kafka clusterQ13. kafka-consumer-groups.sh shows CURRENT-OFFSET 0 and LOG-END-OFFSET 10 for partition 2. What is the lag?
Show answer
B. Lag = log-end offset minus the group's committed offset.
From lesson 04 · Lab: your first Kafka clusterQ14. Why does reset-offsets require the group to have no active members?
Show answer
B. Stop the consumers, reset, then start them again.
From lesson 04 · Lab: your first Kafka clusterQ15. Which address should an application pod use to connect to the lab cluster?
Show answer
B. Bootstrap gives the client the cluster metadata; pod IPs change and one broker is not the whole cluster.
From lesson 05 · Lab: Kafka on your Kubernetes clusterQ16. You set spec.partitions of a KafkaTopic from 3 to 2. What happens?
Show answer
B. Removing a partition would lose its data and break key-to-partition mapping, so Kafka refuses.
From lesson 05 · Lab: Kafka on your Kubernetes clusterQ17. Broker pod lab-dual-role-2 is deleted. Why does it rejoin quickly without copying all data again?
Show answer
B. A StatefulSet-like identity plus a persistent volume means the broker keeps its log segments.
From lesson 05 · Lab: Kafka on your Kubernetes clusterQ18. Why doesn't installing Kafka make any data appear in the orders topic?
Show answer
B. Producers push events into Kafka; consumers read them. Kafka itself collects nothing.
From lesson 05 · Lab: Kafka on your Kubernetes cluster