DE Mastery GitHub

Java for data engineers · JVM-04

Serialization

From your world. the on-the-wire/at-rest format of a table or a Kafka topic (Avro/Parquet) vs an opaque pickle

Practice quiz with instant feedback. For a scored run that counts toward your local progress, use uv run de quiz JVM-04.

1What is the key difference between Avro GenericRecord and SpecificRecord?
2In Flink, when does a user type fall back to the generic Kryo serializer?
3Which conditions must a class meet to be a valid Flink POJO (to avoid Kryo)? (select all) (select all that apply)
4You binary-encode an Avro record and decode it with the SAME schema. What must be true?
5Why avoid Java's built-in Serializable / Kryo for data on a Kafka topic or at rest?
6Does Avro binary encoding embed the schema inside every encoded record?
7A teammate ships events as a class with private fields, no getters, and no no-arg constructor. The teammate asks why Flink state is huge and slow. What is the likely cause?