Skip to main content
InterviewHubPRO
Section Overview
Q9

Question 9 of 50

Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

18%
GCP Cloud Architecture (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

What is Cloud Pub/Sub and how does it compare Push vs Pull subscriptions?

junior LevelGraphQL

In Simple Words: Cloud Pub/Sub is a fully managed, globally distributed asynchronous messaging service:

  • Topics: Publishers send JSON/binary messages to a topic.
  • Pull Subscription: Worker instances poll Pub/Sub for messages, process them, and send an acknowledgment (ack). Best for high-throughput batch consumers.
  • Push Subscription: Pub/Sub automatically sends an HTTP POST webhook request containing the message payload to a target URL (e.g. Cloud Run endpoint).