Bird
0
0

What is the main difference between a pull subscription and a push subscription in Google Cloud Pub/Sub?

easy📝 Conceptual Q11 of 15
GCP - Cloud Pub/Sub
What is the main difference between a pull subscription and a push subscription in Google Cloud Pub/Sub?
APull subscriptions send messages automatically; push subscriptions require your app to request messages.
BPull subscriptions are faster than push subscriptions in all cases.
CPull subscriptions only work with HTTP; push subscriptions only work with gRPC.
DPull subscriptions require your app to request messages; push subscriptions send messages automatically.
Step-by-Step Solution
Solution:
  1. Step 1: Understand pull subscription behavior

    Pull subscriptions require the client application to ask for messages explicitly.
  2. Step 2: Understand push subscription behavior

    Push subscriptions automatically send messages to the client via HTTP POST.
  3. Final Answer:

    Pull subscriptions require your app to request messages; push subscriptions send messages automatically. -> Option D
  4. Quick Check:

    Pull = request, Push = automatic [OK]
Quick Trick: Pull means ask; push means receive automatically [OK]
Common Mistakes:
  • Confusing which subscription type initiates message delivery
  • Thinking push requires app to poll for messages
  • Assuming pull subscriptions send messages automatically

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes