Q. Kafka's topic cleanup policy 'compact' does what?
β
Correct Answer: (B)
Keeps only the latest value for each key
Explanation: Log compaction retains the last message for each unique key.