Avro 1.12: Writer–Reader Schema Resolution

Avro 1.12: Writer–Reader Schema Resolution

Choose one answer. All questions are included, with explanations after checking. No time limit. Training target: 24/30. Predict values and failures when Avro writer and reader schemas differ: record defaults, promotions, names and supported aliases, unions, enums, fixed and nested types, decimal matching, and rollout direction. Original cases based on the Avro 1.12 specification; not a complete Avro or Schema Registry certification exam. Answers describe the normative specification, not guaranteed behavior of a particular Avro language library; alias cases explicitly assume alias support. Sources: https://avro.apache.org/docs/1.12.0/specification/
1 of 30
An Avro 1.12 implementation explicitly supports reader aliases. Writer record OldEvent has id:int. Reader record NewEvent has aliases:["OldEvent"] and id:int. Neither uses a namespace. What happens when reading id=9?