How often is log compaction evaluated?
Suggested Answer: A
Get Premium CCDAK Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
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.
37 comments · newest first
EM
Emmett
10 months ago
Nope, it’s definitely not A or C.
FL
Flo
11 months ago
I’m surprised it’s not tied to message flushing.
LA
Lawrence
11 months ago
Wait, I thought it was when messages are sent?
ST
Stanford
11 months ago
Totally agree, B is the right answer!
HI
Hildred
11 months ago
It's evaluated every time a segment is closed.
JA
Janna
12 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.
CR
Craig
12 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.
JU
Jules
12 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.
AN
Annice
1 year 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.
YV
Yvonne
1 year 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.
ST
Stefany
1 year 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.
HU
Hui
1 year 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.
TA
Tarra
1 year ago
Hmm, this seems like a tricky one. I'll need to think through the different options carefully.
TA
Tayna
1 year ago
Okay, let's see. I'm pretty sure log compaction is related to Kafka, so that narrows it down a bit.
AL
Alisha
1 year 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.
BE
Bette
1 year 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.
SH
Shizue
1 year ago
I'm voting for Option B. It's the only one that makes sense from an operational perspective.
AL
Alise
1 year ago
Yeah, Option B makes the most sense operationally.
YU
Yuonne
1 year ago
I agree, it seems like the most logical option.
GL
Glynda
1 year ago
I think Option B is the correct choice.
JO
Josphine
1 year ago
Option A is interesting, but I don't think creating a new partition should automatically trigger log compaction.
NG
Nguyet
1 year ago
I believe log compaction is necessary to maintain data integrity.
KY
Kyoko
1 year ago
That's correct, log compaction occurs every time a segment is closed.
SH
Sherita
1 year ago
I think log compaction is evaluated every time a segment is closed.
KI
King
1 year ago
I agree, log compaction should be evaluated based on other factors.
LA
Lajuana
1 year ago
Option C is just silly. Log compaction has nothing to do with message sending in Kafka.
EL
Elliot
1 year 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.
MA
Martina
1 year ago
B) Every time a segment is closed
ZO
Zona
1 year ago
A) Every time a new partition is created
MA
Malcolm
2 years ago
Hmm, I see. That makes sense too, since Kafka needs to keep track of messages being sent.
KR
Kristofer
2 years ago
Option B seems the most logical choice. Segment closes should trigger log compaction evaluation.
PA
Paris
1 year ago
I'm not sure, but I think B) Every time a segment is closed is the correct answer.
LE
Leonida
1 year ago
Does anyone think it could be A) Every time a new partition is created?
RO
Rolande
1 year ago
I agree, that makes the most sense.
SH
Sherly
1 year ago
I think it's B) Every time a segment is closed.
KA
Kati
2 years ago
I believe it's actually evaluated every time a message is sent to Kafka.
MA
Malcolm
2 years ago
I think log compaction is evaluated every time a segment is closed.