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?
✗ Incorrect
In pull subscriptions, the subscriber application requests messages when it is ready.
Which subscription type sends messages automatically to a subscriber endpoint?
✗ Incorrect
Push subscriptions send messages automatically to the subscriber's endpoint.
What must a subscriber have to use push subscriptions?
✗ Incorrect
Push subscriptions require a publicly accessible HTTPS endpoint to receive messages.
Which subscription type can help reduce message delivery latency?
✗ Incorrect
Push subscriptions send messages immediately, reducing latency.
If a subscriber wants to control when to process messages, which subscription should they use?
✗ Incorrect
Pull subscriptions let the subscriber control message retrieval timing.
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.