New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Confluent CCDAK Exam - Topic 2 Question 61 Discussion

Actual exam question for Confluent's CCDAK exam
Question #: 61
Topic #: 2
[All CCDAK Questions]

How often is log compaction evaluated?

Show Suggested Answer Hide Answer
Suggested Answer: A

Since Confluent 5.4.0, Avro 1.9.1 is used. Since default value was added to enum complex type , the schema resolution changed from:

(<1.9.1) if both are enums:** if the writer's symbol is not present in the reader's enum, then an error is signalled. **(>=1.9.1) if both are enums:

if the writer's symbol is not present in the reader's enum and the reader has a default value, then that value is used, otherwise an error is signalled.


Contribute your Thoughts:

0/2000 characters
Emmett
3 months ago
Nope, it’s definitely not A or C.
upvoted 0 times
...
Flo
3 months ago
I’m surprised it’s not tied to message flushing.
upvoted 0 times
...
Lawrence
3 months ago
Wait, I thought it was when messages are sent?
upvoted 0 times
...
Stanford
4 months ago
Totally agree, B is the right answer!
upvoted 0 times
...
Hildred
4 months ago
It's evaluated every time a segment is closed.
upvoted 0 times
...
Janna
4 months ago
I’m leaning towards the option about segments being closed. It seems to align with how Kafka manages its logs, but I could be mixing it up with another concept.
upvoted 0 times
...
Craig
4 months ago
I have a vague memory that log compaction happens when a new partition is created. I should have reviewed that section more thoroughly.
upvoted 0 times
...
Jules
4 months ago
I remember practicing a question like this, and I think it was about when messages are flushed to disk. But that doesn't seem right for log compaction.
upvoted 0 times
...
Annice
5 months ago
I think log compaction is evaluated every time a segment is closed, but I'm not completely sure. It feels like something I read in the Kafka documentation.
upvoted 0 times
...
Yvonne
5 months ago
Ah, I've got it! Log compaction is evaluated every time a segment is closed to optimize the storage of the log data. I'm confident that's the right answer.
upvoted 0 times
...
Stefany
5 months ago
Ah, I remember learning about this in class. I believe it's evaluated when a segment is closed, but I'll double-check that.
upvoted 0 times
...
Hui
5 months ago
I think it might have something to do with managing the log data, but I'm not entirely sure. I'll have to review my notes on Kafka.
upvoted 0 times
...
Tarra
5 months ago
Hmm, this seems like a tricky one. I'll need to think through the different options carefully.
upvoted 0 times
...
Tayna
5 months ago
Okay, let's see. I'm pretty sure log compaction is related to Kafka, so that narrows it down a bit.
upvoted 0 times
...
Alisha
5 months ago
Okay, I've got an idea. CBA can help compare the initial costs of a VIP study with the long-term benefits it could deliver, which seems relevant. And it's also used to assess the overall benefits versus the risks of implementing the proposal. I'll try to explain that in my answer.
upvoted 0 times
...
Bette
5 months ago
Hmm, I'm a bit unsure about the differences between the answer choices. I'll need to carefully read through each one to determine which ones apply.
upvoted 0 times
...
Shizue
10 months ago
I'm voting for Option B. It's the only one that makes sense from an operational perspective.
upvoted 0 times
Alise
9 months ago
Yeah, Option B makes the most sense operationally.
upvoted 0 times
...
Yuonne
9 months ago
I agree, it seems like the most logical option.
upvoted 0 times
...
Glynda
9 months ago
I think Option B is the correct choice.
upvoted 0 times
...
...
Josphine
10 months ago
Option A is interesting, but I don't think creating a new partition should automatically trigger log compaction.
upvoted 0 times
Nguyet
8 months ago
I believe log compaction is necessary to maintain data integrity.
upvoted 0 times
...
Kyoko
8 months ago
That's correct, log compaction occurs every time a segment is closed.
upvoted 0 times
...
Sherita
9 months ago
I think log compaction is evaluated every time a segment is closed.
upvoted 0 times
...
King
9 months ago
I agree, log compaction should be evaluated based on other factors.
upvoted 0 times
...
...
Lajuana
10 months ago
Option C is just silly. Log compaction has nothing to do with message sending in Kafka.
upvoted 0 times
...
Elliot
10 months ago
I'm not sure if Option D is correct. Flushing a message to disk doesn't necessarily mean it's time for log compaction.
upvoted 0 times
Martina
9 months ago
B) Every time a segment is closed
upvoted 0 times
...
Zona
10 months ago
A) Every time a new partition is created
upvoted 0 times
...
...
Malcolm
11 months ago
Hmm, I see. That makes sense too, since Kafka needs to keep track of messages being sent.
upvoted 0 times
...
Kristofer
11 months ago
Option B seems the most logical choice. Segment closes should trigger log compaction evaluation.
upvoted 0 times
Paris
9 months ago
I'm not sure, but I think B) Every time a segment is closed is the correct answer.
upvoted 0 times
...
Leonida
10 months ago
Does anyone think it could be A) Every time a new partition is created?
upvoted 0 times
...
Rolande
10 months ago
I agree, that makes the most sense.
upvoted 0 times
...
Sherly
10 months ago
I think it's B) Every time a segment is closed.
upvoted 0 times
...
...
Kati
11 months ago
I believe it's actually evaluated every time a message is sent to Kafka.
upvoted 0 times
...
Malcolm
11 months ago
I think log compaction is evaluated every time a segment is closed.
upvoted 0 times
...

Save Cancel