Drag or tap steps into the slots.
Pub/Sub Push Subscription Message Retry: HTTP Status Code Impact
Drag and drop the steps to set up a Pub/Sub topic with a push subscription to an HTTPS endpoint into the correct order.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
Create a Pub/Sub topic, then create a push subscription with the HTTPS endpoint URL
The correct order to set up a Pub/Sub topic with a push subscription to an HTTPS endpoint is to first create the topic, then create a push subscription specifying the HTTPS endpoint URL. This ensures the topic exists before the subscription references it, and the push endpoint is configured at subscription creation time. Common mistakes include creating the subscription before the topic, omitting the endpoint, or attempting to convert a pull subscription to push, which is not supported.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Create a Pub/Sub topic, then create a push subscription with the HTTPS endpoint URL
Why this is correct
This is the correct order because a topic must exist before a subscription can reference it, and a push subscription requires the endpoint URL at creation time.
- ✗
Create a push subscription without an endpoint, then create the topic, then update the subscription with the endpoint
Why it's wrong here
This is incorrect because a subscription cannot be created without a topic, and the push endpoint must be specified when creating the subscription; it cannot be added later via update.
- ✗
Configure the HTTPS endpoint to accept messages, then create the topic, then create the subscription
Why it's wrong here
This is incorrect because while the endpoint must be ready to receive messages, the topic and subscription should be created first (or in parallel). The order of endpoint setup relative to Pub/Sub resources is not strictly required, but the typical workflow creates the Pub/Sub resources first.
- ✗
Create a topic, then create a pull subscription, then change it to a push subscription
Why it's wrong here
This is incorrect because a subscription's delivery type (push or pull) cannot be changed after creation. To use push delivery, you must create a push subscription directly.
About these practice questions
One of 747 original PDE practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PDE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PDE exam.