Recall & Review
beginner
What is standalone mode in Kafka?
Standalone mode runs Kafka on a single machine where all components (broker, zookeeper) run together. It is simple and used for development or testing.
Click to reveal answer
beginner
What is distributed mode in Kafka?
Distributed mode runs Kafka across multiple machines. Brokers and Zookeeper run separately to provide fault tolerance and scalability.
Click to reveal answer
intermediate
Why use distributed mode instead of standalone mode?
Distributed mode allows Kafka to handle more data, stay available if some machines fail, and scale by adding more servers.
Click to reveal answer
beginner
Name one limitation of standalone mode.
Standalone mode cannot handle large workloads or provide fault tolerance because it runs on a single machine.
Click to reveal answer
intermediate
How does Kafka ensure reliability in distributed mode?
Kafka replicates data across multiple brokers and uses Zookeeper to manage cluster state, so if one broker fails, others keep working.
Click to reveal answer
What does Kafka run in standalone mode?
✗ Incorrect
Standalone mode runs all Kafka components on a single machine.
Which mode provides fault tolerance in Kafka?
✗ Incorrect
Distributed mode replicates data and runs on multiple machines to provide fault tolerance.
Why is standalone mode mainly used?
✗ Incorrect
Standalone mode is simple and used mainly for development or testing.
What role does Zookeeper play in distributed mode?
✗ Incorrect
Zookeeper manages cluster state and helps coordinate brokers in distributed mode.
Which is a key benefit of distributed mode?
✗ Incorrect
Distributed mode allows Kafka to scale and stay available even if some machines fail.
Explain the difference between standalone and distributed mode in Kafka.
Think about how many machines run Kafka components and what benefits that brings.
You got /4 concepts.
Why is distributed mode preferred for production Kafka deployments?
Consider what happens if one machine fails in production.
You got /4 concepts.