nerdexam
Confluent

CCDAK · Question #72

Suppose you have 6 brokers and you decide to create a topic with 10 partitions and a replication factor of 3. The brokers 0 and 1 are on rack A, the brokers 2 and 3 are on rack B, and the brokers 4…

The correct answer is B. 1 E. 0. When you create a new topic, partitions replicas are spreads across racks to maintain availability. Hence, the Rack A, which currently does not hold the topic partition, will be selected for the last

Deployment and Troubleshooting

Question

Suppose you have 6 brokers and you decide to create a topic with 10 partitions and a replication factor of 3. The brokers 0 and 1 are on rack A, the brokers 2 and 3 are on rack B, and the brokers 4 and 5 are on rack C. If the leader for partition 0 is on broker 4, and the first replica is on broker 2, which broker can host the last replica? (select two)

Options

  • A6
  • B1
  • C2
  • D5
  • E0
  • F3

How the community answered

(51 responses)
  • A
    24% (12)
  • B
    61% (31)
  • C
    8% (4)
  • D
    4% (2)
  • F
    4% (2)

Explanation

When you create a new topic, partitions replicas are spreads across racks to maintain availability. Hence, the Rack A, which currently does not hold the topic partition, will be selected for the last

Topics

#rack awareness#replica placement#partition replication#broker topology

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice