0
0
GCPcloud~5 mins

Pull vs push subscriptions in GCP - Quick Revision & Key Differences

Choose your learning style9 modes available
Recall & Review
beginner
What is a pull subscription in Google Cloud Pub/Sub?
A pull subscription is where the subscriber application requests messages from the Pub/Sub service when it is ready to process them.
Click to reveal answer
beginner
What is a push subscription in Google Cloud Pub/Sub?
A push subscription automatically sends messages to a subscriber's endpoint (like a web server) as soon as they arrive.
Click to reveal answer
intermediate
Which subscription type requires the subscriber to manage message pulling timing?
Pull subscriptions require the subscriber to control when and how often it pulls messages from the service.
Click to reveal answer
intermediate
What is a key advantage of push subscriptions?
Push subscriptions reduce latency because messages are sent immediately to the subscriber without waiting for a pull request.
Click to reveal answer
intermediate
Name one challenge of using push subscriptions.
The subscriber endpoint must be publicly reachable and able to handle incoming HTTPS requests reliably.
Click to reveal answer
In a pull subscription, who decides when to receive messages?
AThe subscriber application
BThe Pub/Sub service
CGoogle Cloud automatically
DThe message publisher
Which subscription type sends messages automatically to a subscriber endpoint?
APull subscription
BPush subscription
CBoth pull and push
DNeither pull nor push
What must a subscriber have to use push subscriptions?
AA publicly accessible HTTPS endpoint
BA private database
CA pull request scheduler
DA message queue
Which subscription type can help reduce message delivery latency?
APull subscription
BNeither
CPush subscription
DBoth equally
If a subscriber wants to control when to process messages, which subscription should they use?
APush subscription
BNone
CBoth push and pull
DPull subscription
Explain the difference between pull and push subscriptions in Google Cloud Pub/Sub.
Think about who initiates message delivery.
You got /4 concepts.
    What are the advantages and challenges of using push subscriptions?
    Consider message delivery speed and subscriber setup.
    You got /4 concepts.