Learn Labs
Foundations

Self-test

Check your understanding

Self-test9 questions

—/9
  1. Why does each broker need separate advertised listeners for containers and for your Mac? What fails if it advertises the wrong one?

  2. Read this line and explain each field: Partition: 0 Leader: 1 Replicas: 1,2,3 Isr: 1,2,3.

  3. What does the KRaft controller quorum decide, and what happens when a majority of controllers is lost?

  4. Why do production clusters often run dedicated controller nodes?

  5. Why can't you remove partitions, and what goes wrong when you add them to a keyed topic?

  6. How is consumer lag calculated, and why is it the key consumer metric?

  7. What must be true before you can reset a consumer group's offsets?

  8. What's __consumer_offsets, and why does its replication factor matter?

  9. Design question

    Choose a partition count and replication factor for a topic receiving 50 MB/s with consumers that each process 5 MB/s, expected to triple in two years.