Conquer Apache Kafka 2025 – Dive into Data Streaming Dominance!

Image Description

Question: 1 / 400

What happens to data when a broker containing the leader replica becomes unavailable?

The data is permanently deleted

Data remains accessible from the indexer

The partition becomes unavailable

When a broker that contains the leader replica for a particular partition becomes unavailable, the partition indeed becomes unavailable. This is because in Kafka, each partition has one leader replica that handles all read and write requests for that partition. The leader is responsible for coordinating the replication of data to the follower replicas. If the leader goes down and there are no designated in-sync replicas that can take over as leader (perhaps because they have not caught up with all the records), the partition is considered unavailable, meaning that producers cannot write to it and consumers cannot read from it.

In this case, since the leader replica is no longer operational, there is no active replica available to handle requests, effectively rendering that partition inaccessible until the broker comes back online or a new leader can be established.

Get further explanation with Examzify DeepDiveBeta

The data is queued until the broker comes back online

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy