0
0
Kafkadevops~20 mins

Kafka Manager/UI tools - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Kafka Manager Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
Predict Output
intermediate
1: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:
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
A
orders
payments
users
B[orders, payments, users]
C{orders, payments, users}
DTopic list: orders, payments, users
Attempts:
2 left
💡 Hint
Think about how CLI tools usually print lists line by line.
🧠 Conceptual
intermediate
1: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?
AKafka MirrorMaker
BKafka Connect
CKafka Streams
DKafka Manager
Attempts:
2 left
💡 Hint
This tool is a web UI for managing and monitoring Kafka clusters.
🔧 Debug
advanced
2: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
AKafka Manager needs the broker IP, not hostname
BKafka Manager requires ZooKeeper address, not just Kafka broker address
CKafka Manager cannot connect because the port 9092 is blocked by firewall
DThe cluster.address should use SSL protocol instead of PLAINTEXT
Attempts:
2 left
💡 Hint
Kafka Manager uses ZooKeeper to discover cluster metadata.
📝 Syntax
advanced
1:30remaining
Identify the correct JSON format for Kafka Manager cluster config
Which JSON snippet correctly defines a Kafka cluster configuration for Kafka Manager?
A{ name: "prod-cluster", zkHosts: "zk1:2181,zk2:2181", kafkaVersion: "2.8.0" }
B{ 'name': 'prod-cluster', 'zkHosts': 'zk1:2181,zk2:2181', 'kafkaVersion': '2.8.0' }
C{ "name": "prod-cluster", "zkHosts": "zk1:2181,zk2:2181", "kafkaVersion": "2.8.0" }
D{ "name" => "prod-cluster", "zkHosts" => "zk1:2181,zk2:2181", "kafkaVersion" => "2.8.0" }
Attempts:
2 left
💡 Hint
JSON keys and string values must use double quotes.
🚀 Application
expert
2: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?
A{ "name": "logs", "numPartitions": 3, "replicationFactor": 2 }
B{ "topic": "logs", "partitions": 3, "replicationFactor": 2 }
C{ "topicName": "logs", "partitionsCount": 3, "replicas": 2 }
D{ "topic": "logs", "partitions": "3", "replicationFactor": "2" }
Attempts:
2 left
💡 Hint
Check Kafka Manager API docs for exact field names and types.