Challenge - 5 Problems
Kafka Manager Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
❓ Predict Output
intermediate1:30remaining
What is the output of this Kafka Manager topic list command?
You run the following command in Kafka Manager CLI to list topics in a cluster:
Assuming the cluster has topics: orders, payments, users, what will be the output?
kafka-manager --list-topics --cluster my-cluster
Assuming the cluster has topics: orders, payments, users, what will be the output?
Kafka
kafka-manager --list-topics --cluster my-cluster
Attempts:
2 left
💡 Hint
Think about how CLI tools usually print lists line by line.
✗ Incorrect
Kafka Manager CLI typically prints each topic name on its own line without brackets or extra text.
🧠 Conceptual
intermediate1:00remaining
Which UI tool allows you to monitor Kafka consumer lag visually?
You want to see how far behind your consumers are from the latest messages in Kafka. Which Kafka UI tool is designed to show consumer lag clearly?
Attempts:
2 left
💡 Hint
This tool is a web UI for managing and monitoring Kafka clusters.
✗ Incorrect
Kafka Manager provides a web interface that shows consumer groups and their lag in real time.
🔧 Debug
advanced2:00remaining
Why does Kafka Manager fail to connect to the cluster?
You configured Kafka Manager with the cluster address but it shows connection errors. Which of these is the most likely cause?
Kafka
cluster.address=PLAINTEXT://kafka-broker:9092 zk.address=zk1:2181,zk2:2181
Attempts:
2 left
💡 Hint
Kafka Manager uses ZooKeeper to discover cluster metadata.
✗ Incorrect
Kafka Manager connects to ZooKeeper to get cluster info; missing or wrong ZooKeeper address causes connection failure.
📝 Syntax
advanced1:30remaining
Identify the correct JSON format for Kafka Manager cluster config
Which JSON snippet correctly defines a Kafka cluster configuration for Kafka Manager?
Attempts:
2 left
💡 Hint
JSON keys and string values must use double quotes.
✗ Incorrect
Valid JSON requires double quotes for keys and string values; no single quotes or arrows.
🚀 Application
expert2:30remaining
How to automate topic creation with Kafka Manager API?
You want to create a new topic named 'logs' with 3 partitions and replication factor 2 using Kafka Manager's REST API. Which HTTP request body is correct?
Attempts:
2 left
💡 Hint
Check Kafka Manager API docs for exact field names and types.
✗ Incorrect
Kafka Manager API expects 'name' for topic name, 'numPartitions' as integer, and 'replicationFactor' as integer.