New Year Sale ! 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 4 Question 71 Discussion

Actual exam question for Confluent's CCDAK exam
Question #: 71
Topic #: 4
[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:

Nadine
6 days ago
Hmm, I'm not sure about this one. Let me think... I'll go with B. Full schema evolution, since the new schema is not entirely compatible with the old one.
upvoted 0 times
...
Orville
6 days ago
I think the answer is A) breaking.
upvoted 0 times
...
Fausto
7 days ago
I'm pretty sure it's C. Backward schema evolution means the new schema is compatible with the old one, and that's what adding an enum element without a default does.
upvoted 0 times
...
Coletta
18 days ago
I think the answer is D. Adding an element to an enum without a default is a forward schema evolution, as it allows new applications to read the new enum values but older applications can still read the existing values.
upvoted 0 times
...

Save Cancel