DE Mastery GitHub

Apache Kafka · KFK-02

Topics, partitions, replication — leaders, ISR, acks, durability

From your world. SOX completeness: a committed write must survive a broker failure

Practice quiz with instant feedback. For a scored run that counts toward your local progress, use uv run de quiz KFK-02.

1With acks=1, the producer receives an ack after:
2A topic has RF=3 and min.insync.replicas=2. Two of the three brokers that hold a partition are down (ISR=1). A producer sends with acks=all. What happens?
3Why is RF=3, acks=all, min.insync.replicas=2 the recommended durable configuration?
4What does unclean.leader.election.enable=true risk?
5Which statements about the ISR are correct? (choose all) (select all that apply)
6On a single-broker dev cluster, you set a topic to RF=1 and min.insync.replicas=2. You produce with acks=all. What is the result?
7In Kafka 4.x (KRaft), who performs leader election when a broker fails?