nerdexam
Confluent

CCDAK · Question #103

What happens when broker.rack configuration is provided in broker configuration in Kafka cluster?

The correct answer is C. Replicas for a partition are spread across different racks. Partitions for newly created topics are assigned in a rack alternating manner, this is the only change broker.rack does.

Deployment and Troubleshooting

Question

What happens when broker.rack configuration is provided in broker configuration in Kafka cluster?

Options

  • AYou can use the same broker.id as long as they have different broker.rack configuration
  • BReplicas for a partition are placed in the same rack
  • CReplicas for a partition are spread across different racks
  • DEach rack contains all the topics and partitions, effectively making Kafka highly available

How the community answered

(51 responses)
  • A
    2% (1)
  • B
    6% (3)
  • C
    90% (46)
  • D
    2% (1)

Explanation

Partitions for newly created topics are assigned in a rack alternating manner, this is the only change broker.rack does.

Topics

#broker.rack#rack awareness#replica placement#fault tolerance

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice