Bird
0
0

You created a subscription but messages are not being received. Which of the following is the most likely cause?

medium📝 Debug Q14 of 15
GCP - Cloud Pub/Sub
You created a subscription but messages are not being received. Which of the following is the most likely cause?
AThe subscription is not attached to the correct topic
BThe topic does not exist
CThe subscription name is too long
DThe messages are too large
Step-by-Step Solution
Solution:
  1. Step 1: Check subscription-topic link

    If subscription is not linked to the right topic, it won't receive messages.
  2. Step 2: Evaluate other options

    Topic existence is important but usually creation fails if topic missing; name length or message size usually cause errors, not silent no messages.
  3. Final Answer:

    The subscription is not attached to the correct topic -> Option A
  4. Quick Check:

    Subscription-topic mismatch blocks messages [OK]
Quick Trick: Check subscription's topic link first if no messages [OK]
Common Mistakes:
  • Ignoring subscription-topic association
  • Assuming message size silently blocks delivery
  • Thinking subscription name length causes no messages

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes