nerdexam
Confluent

CCAAK · Question #94

You need to design a Kafka cluster that can tolerate the failure of up to two brokers without data loss. Which two factors should you consider when configuring your Kafka cluster? (Choose two.)

The correct answer is A. Ensure the replication factor is set to at least four. B. Configure the min.insync.replicas setting to two. To tolerate the failure of two brokers without data loss, the cluster must maintain at least two surviving in-sync replicas. A replication factor of at least four ensures enough replicas remain after two failures. Setting min.insync.replicas to two guarantees that producers…

Ensuring Data Reliability and Durability

Question

You need to design a Kafka cluster that can tolerate the failure of up to two brokers without data loss. Which two factors should you consider when configuring your Kafka cluster? (Choose two.)

Options

  • AEnsure the replication factor is set to at least four.
  • BConfigure the min.insync.replicas setting to two.
  • CConfigure the number of partitions three times more than the number of topics.
  • DAdjust the log retention policy to ensure data is retained for a longer period.

How the community answered

(28 responses)
  • A
    75% (21)
  • C
    14% (4)
  • D
    11% (3)

Explanation

To tolerate the failure of two brokers without data loss, the cluster must maintain at least two surviving in-sync replicas. A replication factor of at least four ensures enough replicas remain after two failures. Setting min.insync.replicas to two guarantees that producers receive acknowledgments only when at least two replicas have committed the data, maintaining durability under the specified failure scenario.

Topics

#fault tolerance#replication factor#min.insync.replicas#broker failure

Community Discussion

No community discussion yet for this question.

Full CCAAK Practice