nerdexam
Confluent

CCDAK · Question #186

Which is true about topic compaction?

The correct answer is D. Compaction will keep exactly one message per key after compaction of inactive log segments. Compaction will keep exactly one message per key (the most recent value for each key) after compacting inactive log segments, ensuring efficient storage and retrieval of the latest value for

Application Design

Question

Which is true about topic compaction?

Options

  • AWhen a client produces a new event with an existing key, the old value is overwritten with the
  • BWhen a client produces a new event with an existing key, the broker immediately deletes the
  • CTopic compaction does not remove old events; instead, when clients consume events from a
  • DCompaction will keep exactly one message per key after compaction of inactive log segments.

How the community answered

(37 responses)
  • A
    3% (1)
  • B
    3% (1)
  • D
    95% (35)

Explanation

Compaction will keep exactly one message per key (the most recent value for each key) after compacting inactive log segments, ensuring efficient storage and retrieval of the latest value for

Topics

#log compaction#topic compaction#key-based retention#inactive log segments

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice