nerdexam
Confluent

CCAAK · Question #112

Per customer business requirements, a system's high availability is more important than message reliability. Which of the following should be set?

The correct answer is A. Unclean leader election should be enabled. Enabling unclean leader election allows Kafka to elect a non-in-sync replica as leader if all in- sync replicas are unavailable. This sacrifices message reliability (possible data loss) in favor of high availability, aligning with the requirement.

Ensuring Data Reliability and Durability

Question

Per customer business requirements, a system’s high availability is more important than message reliability. Which of the following should be set?

Options

  • AUnclean leader election should be enabled.
  • BThe number of brokers in the cluster should be always odd (3, 5. 7 and so on).
  • CThe linger.ms should be set to '0'.
  • DMessage retention.ms should be set to -1.

How the community answered

(51 responses)
  • A
    82% (42)
  • B
    4% (2)
  • C
    4% (2)
  • D
    10% (5)

Explanation

Enabling unclean leader election allows Kafka to elect a non-in-sync replica as leader if all in- sync replicas are unavailable. This sacrifices message reliability (possible data loss) in favor of high availability, aligning with the requirement.

Topics

#unclean leader election#high availability#message reliability#availability vs durability

Community Discussion

No community discussion yet for this question.

Full CCAAK Practice