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 1 Question 45 Discussion

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

Your topic is log compacted and you are sending a message with the key K and value null. What will happen?

Show Suggested Answer Hide Answer
Suggested Answer: D

tick time is 2000 ms, and initLimit is the config taken into account when establishing a connection to Zookeeper, so the answer is 2000 * 20 = 40000 ms = 40s


Contribute your Thoughts:

0/2000 characters
Bettina
3 months ago
D seems off, the message won't just be ignored.
upvoted 0 times
...
Charlena
3 months ago
Definitely not B, no exceptions thrown here.
upvoted 0 times
...
Paola
3 months ago
Wait, so the broker just deletes everything with that key? That's wild!
upvoted 0 times
...
Salena
4 months ago
I think C makes more sense, though.
upvoted 0 times
...
Gerald
4 months ago
A is correct! All messages with key K will be deleted.
upvoted 0 times
...
Felicia
4 months ago
I thought messages with null values just get ignored by the Kafka broker, but I might be mixing it up with another topic.
upvoted 0 times
...
Danica
4 months ago
I feel like the correct answer might be that the broker deletes the message with key K and null value only upon cleanup, but I need to double-check that.
upvoted 0 times
...
Fernanda
4 months ago
I remember a practice question where sending a null value led to an exception, but I can't recall if it was a Runtime exception or something else.
upvoted 0 times
...
Dulce
5 months ago
I think the broker will delete all messages with the key K upon cleanup, but I'm not entirely sure if that's the case with null values.
upvoted 0 times
...
Sherrell
5 months ago
Okay, let me think this through step-by-step. Log compaction is used to remove old messages and keep only the latest value for each key. So if I send a message with key K and null value, the broker should just delete that specific message, not all messages with key K. I'll go with option C.
upvoted 0 times
...
Gayla
5 months ago
I'm a bit confused on this one. Does log compaction mean the broker will delete all messages with the key K, or just the one with the null value? I'll need to double-check the details on how log compaction works.
upvoted 0 times
...
Alisha
5 months ago
Ah, I think I've seen this before. If the topic is log compacted, the broker should only delete the message with the key K and null value during cleanup, right? I'm pretty confident that's the correct answer.
upvoted 0 times
...
Ailene
5 months ago
Okay, let me see here. I know log compaction is used to reduce the storage requirements of a Kafka topic, but I'm not sure how it handles null values specifically. I'll have to review that part of the documentation.
upvoted 0 times
...
Bette
5 months ago
Hmm, this seems like a tricky one. I'll need to think carefully about the behavior of log compaction and how it handles messages with null values.
upvoted 0 times
...
Mitsue
5 months ago
I'm a bit confused on this one. The options seem to cover a range of Azure AD configuration settings, but I'm not sure which one is the best fit for this specific scenario. I'll need to review the details more closely.
upvoted 0 times
...
Bette
5 months ago
Hmm, I'm a bit confused on this one. I know the UiPath Robotic Enterprise template has different states, but I'm not entirely sure how they're connected. I'll have to think this through carefully.
upvoted 0 times
...
Quentin
10 months ago
If the broker deletes all messages with the key K, does that mean I can just delete all my problems? Sign me up for that A option!
upvoted 0 times
...
Jamal
10 months ago
B, a Runtime exception? That's like saying the producer has a 'self-destruct' mode. Nah, I'm sticking with C, sounds the most logical to me.
upvoted 0 times
...
Heike
10 months ago
D? Really? That's like saying the Kafka broker has a magical 'ignore' button. I'm going with C, gotta be the safest bet here.
upvoted 0 times
Izetta
8 months ago
C) The broker will delete the message with the key K and null value only upon cleanup
upvoted 0 times
...
Glynda
8 months ago
D? Really? That's like saying the Kafka broker has a magical 'ignore' button. I'm going with C, gotta be the safest bet here.
upvoted 0 times
...
Edwin
9 months ago
D) The message will get ignored by the Kafka broker
upvoted 0 times
...
Judy
9 months ago
A) The broker will delete all messages with the key K upon cleanup
upvoted 0 times
...
Dona
9 months ago
C) The broker will delete the message with the key K and null value only upon cleanup
upvoted 0 times
...
Vashti
9 months ago
A) The broker will delete all messages with the key K upon cleanup
upvoted 0 times
...
...
Loise
10 months ago
Hmm, I was leaning towards A, but now I'm not so sure. Guess I'll have to double-check my Kafka knowledge before choosing an answer.
upvoted 0 times
Nadine
9 months ago
D) The message will get ignored by the Kafka broker
upvoted 0 times
...
Peggy
9 months ago
Hmm, it's always good to double-check before making a decision.
upvoted 0 times
...
Marti
9 months ago
C) The broker will delete the message with the key K and null value only upon cleanup
upvoted 0 times
...
Bettina
9 months ago
User2: I'm not sure, I thought it was A
upvoted 0 times
...
Willetta
9 months ago
User1: I think it's C
upvoted 0 times
...
Jennifer
9 months ago
User2: I'm not sure, I thought it was A
upvoted 0 times
...
Shala
9 months ago
User1: I think it's C
upvoted 0 times
...
Gregoria
9 months ago
A) The broker will delete all messages with the key K upon cleanup
upvoted 0 times
...
...
Dierdre
10 months ago
I'm not sure, but I think D) The message will get ignored by the Kafka broker makes sense because the value is null.
upvoted 0 times
...
Antonette
10 months ago
Aha, looks like a tricky one! I reckon the correct answer is C - the broker will delete the message with the key K and null value only upon cleanup.
upvoted 0 times
...
Laurena
10 months ago
I disagree, I believe the correct answer is C) The broker will delete the message with the key K and null value only upon cleanup.
upvoted 0 times
...
Della
11 months ago
I think the answer is A) The broker will delete all messages with the key K upon cleanup.
upvoted 0 times
...

Save Cancel