Bird
0
0

What does a subscription in Google Cloud Pub/Sub do?

easy📝 Conceptual Q1 of 15
GCP - Cloud Pub/Sub
What does a subscription in Google Cloud Pub/Sub do?
AIt creates new topics automatically
BIt stores messages permanently
CIt deletes topics after use
DIt receives messages published to a topic
Step-by-Step Solution
Solution:
  1. Step 1: Understand the role of a subscription

    A subscription connects to a topic and receives messages published to it.
  2. Step 2: Differentiate from other components

    Subscriptions do not store messages permanently or create/delete topics; they only receive messages.
  3. Final Answer:

    It receives messages published to a topic -> Option D
  4. Quick Check:

    Subscription role = Receive messages [OK]
Quick Trick: Subscription pulls messages from topics to deliver [OK]
Common Mistakes:
  • Thinking subscriptions store messages permanently
  • Confusing subscriptions with topics
  • Assuming subscriptions create topics

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes