nerdexam
Confluent

CCDAK · Question #133

What is true about partitions? (select two)

The correct answer is C. A broker can have different partitions numbers for the same topic on its disk E. A partition has one replica that is a leader, while the other replicas are followers. Only one of the replicas is elected as partition leader. And a broker can definitely hold many partitions from the same topic on its disk, try creating a topic with 12 partitions on one broker!

Kafka Client Fundamentals

Question

What is true about partitions? (select two)

Options

  • AA broker can have a partition and its replica on its disk
  • BYou cannot have more partitions than the number of brokers in your cluster
  • CA broker can have different partitions numbers for the same topic on its disk
  • DOnly out of sync replicas are replicas, the remaining partitions that are in sync are also leader
  • EA partition has one replica that is a leader, while the other replicas are followers

How the community answered

(27 responses)
  • A
    4% (1)
  • C
    93% (25)
  • D
    4% (1)

Explanation

Only one of the replicas is elected as partition leader. And a broker can definitely hold many partitions from the same topic on its disk, try creating a topic with 12 partitions on one broker!

Topics

#partition replicas#leader replica#follower replicas#partition distribution

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice