nerdexam
Confluent

CCAAK · Question #19

What is the relationship between a broker and a topic?

The correct answer is D. A broker stores some of the partitions of a topic. Kafka distributes a topic's partitions across multiple brokers, and each broker stores only the partitions assigned to it. This distribution enables scalability, fault tolerance, and parallelism.

Apache Kafka Fundamentals

Question

What is the relationship between a broker and a topic?

Options

  • AA broker can only manage one topic leader at a time.
  • BA broker duplicates all data for every topic in the cluster.
  • CA topic is hosted entirely on a single broker to ensure consistency.
  • DA broker stores some of the partitions of a topic.

How the community answered

(30 responses)
  • A
    10% (3)
  • B
    3% (1)
  • C
    7% (2)
  • D
    80% (24)

Explanation

Kafka distributes a topic's partitions across multiple brokers, and each broker stores only the partitions assigned to it. This distribution enables scalability, fault tolerance, and parallelism.

Topics

#broker-topic relationship#partitions#data distribution

Community Discussion

No community discussion yet for this question.

Full CCAAK Practice