QuizzesSchema Registry & Avro — Concept Check
intermediate
kafka

Schema Registry & Avro — Concept Check

Questions on Schema Registry & Avro. Schema Registry centralises Avro/JSON/Protobuf schemas so producers and consumers share a contract. It prevents breaking changes from silently corrupting downstream consumers.

8 minutes 8 questions Pass at 70%
Time Limit
8 minutes - timer starts when you begin
Change Answers Freely
Revisit and change any answer before submitting
Full Review After Submit
Correct answers and explanations shown for every question
Auto-submit on timeout
Quiz submits automatically when time runs out

Questions in this quiz

8 questions on Schema Registry & Avro — Concept Check. Work through them here, then start the quiz to answer them and see your score.

  1. 1.A producer sends messages using Avro with a schema ID. The consumer fails to deserialize these messages. What could be the issue?

    • AProducer uses KafkaJsonSerializer
    • BProducer's schema ID is missing
    • CConsumer's schema registry URL is incorrect
    • DConsumer uses JSON instead of Avro
  2. 2.A team switches their schema compatibility mode to FORWARD. What does this allow?

    • ANew schema can read old messages
    • BBoth old and new schemas can read each other
    • COld schema can read new messages
    • DNo compatibility checks are enforced
  3. 3.In a Spring Boot application, what property must be set for a consumer to use Avro?

    • Aspring.kafka.producer.key-serializer
    • Bspring.kafka.consumer.value-deserializer
    • Cspring.kafka.producer.value-serializer
    • Dspring.kafka.consumer.key-deserializer
  4. 4.A developer sets the schema compatibility mode to NONE. What is the consequence?

    • ANo schema checks are performed
    • BOnly forward compatibility is checked
    • CFull compatibility is enforced
    • DOnly backward compatibility is checked
  5. 5.A consumer in Spring Boot is not reading specific Avro records correctly. Which setting might be missing?

    • Aspring.kafka.consumer.properties.specific.avro.reader=true
    • Bspring.kafka.consumer.value-deserializer
    • Cspring.kafka.consumer.properties.schema.registry.url
    • Dspring.kafka.producer.value-serializer
  6. 6.A producer registers a new schema with BACKWARD compatibility. What is the effect on consumers?

    • AConsumers with old schemas can read new messages
    • BNo effect on consumer message reading
    • CConsumers with new schemas can read old messages
    • DConsumers cannot read messages without updating
  7. 7.What is the role of Schema Registry in a Kafka setup?

    • AHandles consumer group coordination
    • BCentralizes schemas for producers and consumers
    • CManages Kafka broker configurations
    • DStores message offsets
  8. 8.A developer mistakenly believes that setting FULL compatibility allows any schema change. What is the truth?

    • AFULL is the same as NONE
    • BFULL allows any schema change
    • CFULL only checks backward compatibility
    • DFULL requires both backward and forward compatibility