D3: Configuring Event Receivers
Google Cloud Professional Cloud Developer exam practice questions · 10 flashcards
Question
How does a Pub/Sub push endpoint acknowledge a message?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Configuring Event Receivers practice questions and answers
- How does a Pub/Sub push endpoint acknowledge a message?Return an HTTP 2xx status.
- What happens on non-2xx responses?Pub/Sub retries delivery with backoff.
- What is the ack deadline?Time to acknowledge before redelivery (10s default, up to 600s).
- How to handle poison messages?Dead-letter topic with max delivery attempts.
- Why must receivers be idempotent?At-least-once delivery may duplicate messages.
- How do you read Pub/Sub push payload?Base64-decode message.data from the JSON body.
- How do you read Eventarc events?Parse CloudEvents headers (ce-type, ce-source) and body.
- How do you verify push requests?Validate the OIDC token audience and issuer (or rely on Cloud Run IAM).
- Long processing per event?Increase timeout or hand off to Cloud Tasks/jobs.
- How to filter events?Eventarc event filters or Pub/Sub subscription filters.