nerdexam
Confluent

CCAAK · Question #5

How does Kafka guarantee message integrity after a message is written on a disk?

The correct answer is B. A message cannot be altered once it has been written. Kafka ensures message immutability for data integrity. Once a message is written to a Kafka topic and persisted to disk, it cannot be modified. This immutability guarantees that consumers always receive the original message content, which is critical for auditability, fault…

Ensuring Data Reliability and Durability

Question

How does Kafka guarantee message integrity after a message is written on a disk?

Options

  • AA message can be edited by the producer, producing to the message offset.
  • BA message cannot be altered once it has been written.
  • CA message can be grouped, with message sharing the same key to improve read performance.
  • DOnly message metadata can be altered using command line (CLI) tools.

How the community answered

(32 responses)
  • A
    9% (3)
  • B
    81% (26)
  • C
    6% (2)
  • D
    3% (1)

Explanation

Kafka ensures message immutability for data integrity. Once a message is written to a Kafka topic and persisted to disk, it cannot be modified. This immutability guarantees that consumers always receive the original message content, which is critical for auditability, fault tolerance, and data reliability.

Topics

#message immutability#log integrity#Kafka guarantees

Community Discussion

No community discussion yet for this question.

Full CCAAK Practice