Bird
0
0

Why might a developer choose a pull subscription over a push subscription despite the extra client management?

hard📝 Conceptual Q10 of 15
GCP - Cloud Pub/Sub
Why might a developer choose a pull subscription over a push subscription despite the extra client management?
APull subscriptions allow better control over message processing rate and error handling.
BPull subscriptions guarantee message delivery without any client effort.
CPush subscriptions do not support message acknowledgment.
DPush subscriptions require manual polling by the subscriber.
Step-by-Step Solution
Solution:
  1. Step 1: Analyze advantages of pull subscriptions

    Pull subscriptions give clients control over when and how to process messages, aiding error handling and rate control.
  2. Step 2: Check other options

    Pull requires client effort; push supports acknowledgment; push does not require polling.
  3. Final Answer:

    Pull subscriptions allow better control over message processing rate and error handling. -> Option A
  4. Quick Check:

    Pull = Control and error handling [OK]
Quick Trick: Pull offers control despite more client work [OK]
Common Mistakes:
  • Thinking pull needs no client effort
  • Believing push lacks acknowledgment
  • Confusing push with polling

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes