Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Confluent Exam CCDAK Topic 1 Question 51 Discussion

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

In Avro, adding an element to an enum without a default is a __ schema evolution

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:

Katlyn
7 months ago
I'm not sure, but I think it might be C) backward.
upvoted 0 times
...
Ming
7 months ago
Adding an element without a default can break compatibility with existing consumers, so I agree with option A) breaking.
upvoted 0 times
...
Adelina
7 months ago
No, I disagree. I believe it is D) forward.
upvoted 0 times
...
Lyla
8 months ago
I think the answer is A) breaking.
upvoted 0 times
...
Fabiola
8 months ago
I see David's point, but I still think C) backward is the best choice here.
upvoted 0 times
...
Leonida
8 months ago
I think it could also be D) forward, because you're adding new values to the enum.
upvoted 0 times
...
Karima
8 months ago
I agree with adding an element without a default is definitely C) backward schema evolution.
upvoted 0 times
...
Kenny
9 months ago
I disagree, I believe it's C) backward.
upvoted 0 times
...
Pedro
9 months ago
I think the answer is A) breaking.
upvoted 0 times
...
Tommy
9 months ago
Wait, wait, wait...is this a trick question? I feel like there's gotta be a catch here. Maybe the answer is 'D) forward' because it's adding new functionality, even though it's technically a breaking change. Ugh, Avro schemas are the bane of my existence!
upvoted 0 times
...
Moon
10 months ago
Hah, classic Avro tricks! You know, I heard the exam writers have a secret club where they come up with these mind-bending questions. They probably have a dart board with all the answer options on it.
upvoted 0 times
...
Annelle
10 months ago
I'm not too sure about this one. Is it 'backward' because it's compatible with older clients, or 'forward' because it's adding new functionality? Decisions, decisions...
upvoted 0 times
...
Deonna
10 months ago
Okay, let's think this through. Adding an element to an enum without a default...that's gotta be a breaking change, right? I mean, you're introducing a new value that old clients won't know how to handle.
upvoted 0 times
Carmen
8 months ago
Exactly, it will break compatibility with existing clients.
upvoted 0 times
...
Dierdre
9 months ago
Yes, it is a breaking change because old clients won't recognize the new value.
upvoted 0 times
...
...
Lyda
10 months ago
Hmm, this one's tricky. I feel like I should know the answer, but my brain's just not clicking right now. Maybe I need to chug another cup of coffee before the exam.
upvoted 0 times
...
Edda
10 months ago
Ah, the old enum schema evolution conundrum! This is a classic trick question, I tell you. Gotta keep us on our toes, don't they?
upvoted 0 times
...

Save Cancel