Bird
0
0

Why is it important to monitor the size and message rate of a dead letter topic in Pub/Sub?

hard📝 Conceptual Q10 of 15
GCP - Cloud Pub/Sub
Why is it important to monitor the size and message rate of a dead letter topic in Pub/Sub?
ABecause dead letter topics limit the total number of messages a topic can have.
BBecause dead letter topics automatically delete messages after 1 hour.
CBecause dead letter topics can accumulate many failed messages, leading to increased costs and potential processing delays.
DBecause dead letter topics encrypt messages differently than regular topics.
Step-by-Step Solution
Solution:
  1. Step 1: Understand dead letter topic message accumulation

    Dead letter topics collect failed messages which can grow large if not processed.
  2. Step 2: Impact of accumulation

    Large message volume can increase costs and delay reprocessing or analysis.
  3. Step 3: Eliminate incorrect options

    Dead letter topics do not auto-delete after 1 hour, do not limit total messages, and use same encryption as other topics.
  4. Final Answer:

    Because dead letter topics can accumulate many failed messages, leading to increased costs and potential processing delays. -> Option C
  5. Quick Check:

    Monitor dead letter topic size to control costs and delays [OK]
Quick Trick: Monitor dead letter topic to avoid cost and backlog issues [OK]
Common Mistakes:
  • Assuming automatic message deletion
  • Thinking dead letter topics limit message count
  • Believing encryption differs for dead letter topics

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes