Flashcardsfor IT Certifications

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.

Last updated: · Report an error on this page

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