Confluent
CCAAK · Question #102
What are two valid Kafka topic cleanup policies? (Choose two.)
The correct answer is A. Delete C. Compact. Kafka supports two valid cleanup policies: delete, which removes old segments based on retention rules, and compact, which retains only the latest record per key.
Managing Topics, Partitions, and Replicas
Question
What are two valid Kafka topic cleanup policies? (Choose two.)
Options
- ADelete
- BDefault
- CCompact
- DCleanup
How the community answered
(46 responses)- A76% (35)
- B15% (7)
- D9% (4)
Explanation
Kafka supports two valid cleanup policies: delete, which removes old segments based on retention rules, and compact, which retains only the latest record per key.
Topics
#cleanup.policy#log compaction#log deletion#topic configuration
Community Discussion
No community discussion yet for this question.