Bird
0
0

You want to build a system that collects user activity logs from multiple web servers and processes them in real time. Why is Kafka a good choice for this?

hard📝 Application Q8 of 15
Kafka - Basics and Event Streaming
You want to build a system that collects user activity logs from multiple web servers and processes them in real time. Why is Kafka a good choice for this?
AKafka replaces the need for web servers
BKafka provides a built-in user interface for log analysis
CKafka can ingest high volumes of logs reliably and allow multiple consumers to process them independently
DKafka automatically deletes logs after one minute
Step-by-Step Solution
Solution:
  1. Step 1: Identify system requirements

    The system needs to collect and process large amounts of logs from many sources in real time.
  2. Step 2: Match Kafka features

    Kafka handles high volume ingestion, stores logs durably, and supports multiple independent consumers.
  3. Final Answer:

    Kafka can ingest high volumes of logs reliably and allow multiple consumers to process them independently -> Option C
  4. Quick Check:

    Kafka suits real-time log ingestion and multi-consumer processing [OK]
Quick Trick: Kafka supports high-volume, reliable, multi-consumer data streams [OK]
Common Mistakes:
  • Expecting Kafka to provide UI tools
  • Thinking Kafka deletes data too quickly
  • Confusing Kafka with web servers

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes