← All topics
Quiz: Kafka: questions with answers
10 questions, each with the answer and a short explanation.
Take the timed quiz + get a certificate →- Q1. Two consumer groups, "notifications" and "analytics", read the topic orders. Who receives an OrderPlacedEvent?
- Q2. Why give all events of one order the same key?
- Q3. What does a consumer group's offset record?
- Q4. With at-least-once delivery, what must consumers be?
- Q5. When is a direct REST call better than publishing an event?
- Q6. A consumer service was down for an hour. What happens to events published during that time?
- Q7. A consumer group has 3 instances reading a topic with 3 partitions. How is the work shared?
- Q8. Why does the JSON deserializer have spring.json.trusted.packages=com.skills101.orders?
- Q9. Saving an order to the database and publishing its event cannot be one transaction. What does the outbox pattern do?
- Q10. What does auto-offset-reset=earliest mean for a brand-new consumer group?