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 CCAAK Exam - Topic 3 Question 13 Discussion

Actual exam question for Confluent's CCAAK exam
Question #: 13
Topic #: 3
[All CCAAK Questions]

You have a cluster with a topic t1 that already has uncompressed messages. A new Producer starts sending messages to t1 with compression enabled.

Which condition would allow this?

Show Suggested Answer Hide Answer
Suggested Answer: A

Kafka allows mixed compression formats within the same topic and even the same partition. Each message batch includes metadata indicating whether and how it is compressed. Therefore, a new producer can send compressed messages to a topic that already contains uncompressed messages, as long as it is configured with a compression codec (e.g., compression.type=gzip, snappy, etc.).


Contribute your Thoughts:

0/2000 characters
Renay
10 hours ago
Totally agree with A! Compression can be enabled anytime.
upvoted 0 times
...
Geraldine
6 days ago
A) If the new Producer is configured to use compression.
upvoted 0 times
...
Jesus
11 days ago
D) Only if the new Producer disables batching. Gotta love those tricky Kafka questions!
upvoted 0 times
...
Eulah
16 days ago
A) If the new Producer is configured to use compression. Easy peasy!
upvoted 0 times
...
Annmarie
21 days ago
This question is a real head-scratcher. I'm going to need a strong cup of coffee to figure this one out.
upvoted 0 times
...
Nieves
26 days ago
B) Never, because topic t1 already has uncompressed messages.
upvoted 0 times
...
Cecily
1 month ago
I don't recall anything about batching affecting compression directly, so D seems off too. I guess A is the best bet here.
upvoted 0 times
...
Lili
1 month ago
I'm not so sure about that. I remember a practice question saying that once a topic has uncompressed messages, you can't mix them with compressed ones. So maybe it's B?
upvoted 0 times
...
Kayleigh
1 month ago
I think the answer might be A, since the new Producer can just be configured to use compression regardless of the existing messages.
upvoted 0 times
...
Juliann
2 months ago
I'm pretty confident the answer is A. As long as the new Producer is set up for compression, it should work with the existing topic.
upvoted 0 times
...
Luis
2 months ago
Ugh, I'm not sure about this one. The wording around the existing uncompressed messages has me stumped.
upvoted 0 times
...
Lashon
2 months ago
Okay, I think I got this. The key is that the new Producer needs to be configured for compression, right?
upvoted 0 times
...
Jesusa
2 months ago
I think it's A. Compression can be configured anytime.
upvoted 0 times
...
Leslie
2 months ago
A) If the new Producer is configured to use compression.
upvoted 0 times
...
Johnathon
3 months ago
I feel like I read something about compression and encryption being separate concerns, so C seems unlikely. But I could be wrong.
upvoted 0 times
...
Giuseppe
3 months ago
I disagree, B makes sense. Uncompressed messages can't mix.
upvoted 0 times
...
Rossana
3 months ago
I'm a bit confused on the compression and existing message requirements. Let me re-read the question closely.
upvoted 0 times
...
Lonna
3 months ago
Hmm, this seems tricky. I'll need to think through the compression and batching options carefully.
upvoted 0 times
Devora
2 months ago
I think it’s A. The new Producer can use compression.
upvoted 0 times
...
...

Save Cancel