Bird
0
0

How can you combine pull and push subscription features to build a hybrid message processing system?

hard📝 Application Q9 of 15
GCP - Cloud Pub/Sub
How can you combine pull and push subscription features to build a hybrid message processing system?
AUse a pull subscription and implement a custom push mechanism in the subscriber.
BCreate two subscriptions: one pull and one push, both attached to the same topic.
CCreate a push subscription with a pull client that acknowledges messages manually.
DConfigure a push subscription to automatically switch to pull mode on failure.
Step-by-Step Solution
Solution:
  1. Step 1: Understand hybrid system needs

    Hybrid means using both pull and push features simultaneously.
  2. Step 2: Evaluate options

    Creating two subscriptions (pull and push) on the same topic allows hybrid processing; others are incorrect or unsupported.
  3. Final Answer:

    Create two subscriptions: one pull and one push, both attached to the same topic. -> Option B
  4. Quick Check:

    Hybrid = Separate pull and push subscriptions [OK]
Quick Trick: Hybrid needs separate pull and push subscriptions [OK]
Common Mistakes:
  • Trying to mix pull and push in one subscription
  • Assuming push can switch to pull automatically
  • Implementing custom push on pull subscription

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes