Bird
0
0

Which of the following is the correct way to describe Redis Pub/Sub behavior?

easy📝 Syntax Q3 of 15
Kafka - Basics and Event Streaming
Which of the following is the correct way to describe Redis Pub/Sub behavior?
AIt stores messages for later delivery
BIt guarantees message delivery even if subscriber is offline
CIt delivers messages only to currently connected subscribers
DIt supports message persistence and replay
Step-by-Step Solution
Solution:
  1. Step 1: Understand Redis Pub/Sub delivery

    Redis Pub/Sub delivers messages only to subscribers connected at the time of publishing.
  2. Step 2: Contrast with message persistence

    Redis Pub/Sub does not store or persist messages for offline subscribers.
  3. Final Answer:

    It delivers messages only to currently connected subscribers -> Option C
  4. Quick Check:

    Redis Pub/Sub delivers live only = A [OK]
Quick Trick: Redis Pub/Sub sends messages live, no storage [OK]
Common Mistakes:
  • Thinking Redis stores messages
  • Assuming offline delivery
  • Confusing with Redis streams

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes