Consumer Group Management — Concept Check
Questions on Consumer Group Management. Managing Kafka consumer groups involves listing groups, checking offsets and lag, resetting offsets for replay, and deleting stale groups — essential ops skills for production incidents.
Questions in this quiz
7 questions on Consumer Group Management — Concept Check. Work through them here, then start the quiz to answer them and see your score.
1.You notice that a Kafka consumer group is not processing messages and suspect it's due to partition ownership issues. Which command helps you diagnose this?
- Akafka-consumer-groups.sh --delete
- Bkafka-consumer-groups.sh --describe
- Ckafka-consumer-groups.sh --list
- Dkafka-consumer-groups.sh --reset-offsets
2.A Kafka consumer group has processed messages out of order after a bug fix. How can you replay all messages?
- AList all consumer groups
- BDelete the consumer group
- CReset offsets to earliest
- DDescribe the consumer group
3.You want to replay messages from the last 24 hours for a specific Kafka consumer group. Which command do you use?
- A--delete --group
- B--reset-offsets --to-earliest
- C--describe --group
- D--reset-offsets --to-datetime
4.A Kafka consumer group is inactive, but you want to ensure it doesn't consume resources. What should you do?
- ADelete the stale group
- BList the consumer group
- CDescribe the consumer group
- DReset its offsets
5.Which command lists all Kafka consumer groups in your system?
- Akafka-consumer-groups.sh --reset-offsets
- Bkafka-consumer-groups.sh --delete
- Ckafka-consumer-groups.sh --list
- Dkafka-consumer-groups.sh --describe
6.You reset offsets for a Kafka consumer group but notice no change in message processing. What might be wrong?
- AList command was used
- BOffsets were not executed
- CGroup was deleted
- DDescribe command was used
7.A Kafka consumer group is suspected to be a 'zombie group'. What action should you take?
- AList all groups
- BDelete the group if inactive
- CDescribe the group
- DReset offsets to earliest