Question 1
Topic: Apache Kafka® Fundamentals
Skill tested: Analyzes partition leadership, replication, and consumer offset behavior during broker failure.
A payment-events topic has three partitions and a replication factor of three. Producers use `acks=all` with a topic-level `min.insync.replicas` of two. One broker fails, leaving each affected partition with two in-sync replicas. A consumer group continues processing, but the operations team needs to predict what happens if a second replica for one partition becomes unavailable before the first broker recovers. Which statement best describes the producer and consumer behavior?
With one broker down, a partition can still have two ISR members. If a second replica becomes unavailable, the ISR may fall to one. `acks=all` requires acknowledgment from the current ISR, while `min.insync.replicas=2` rejects writes when the ISR count is below two; thus, the producer will receive an error rather than a success. The consumer can continue reading from the available leader. Option B captures the normal read availability but incorrectly implies writes succeed with one ISR member, so none of the choices fully states the expected outcome. This ambiguity must be corrected.