nerdexam
Google

PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #123

You use a multiple step Cloud Build pipeline to build and deploy your application to Google Kubernetes Engine (GKE). You want to integrate with a third-party monitoring platform by performing a HTTP P

The correct answer is D. Create a Cloud Pub/Sub push subscription to the Cloud Build cloud-builds PubSub topic to HTTP. To receive messages from push subscriptions, use a webhook and process the POST requests that Pub/Sub sends to the push endpoint. For more information about processing these POST requests in App Engine, see Writing and responding to Pub/Sub messages. https://cloud.google.com/pubs

Submitted by kavita_s· Apr 18, 2026Implementing service monitoring strategies

Question

You use a multiple step Cloud Build pipeline to build and deploy your application to Google Kubernetes Engine (GKE). You want to integrate with a third-party monitoring platform by performing a HTTP POST of the build information to a webhook. You want to minimize the development effort. What should you do?

Options

  • AAdd logic to each Cloud Build step to HTTP POST the build information to a webhook.
  • BAdd a new step at the end of the pipeline in Cloud Build to HTTP POST the build information to a
  • CUse Stackdriver Logging to create a logs-based metric from the Cloud Build logs. Create an Alert
  • DCreate a Cloud Pub/Sub push subscription to the Cloud Build cloud-builds PubSub topic to HTTP

How the community answered

(22 responses)
  • A
    9% (2)
  • B
    5% (1)
  • C
    5% (1)
  • D
    82% (18)

Explanation

To receive messages from push subscriptions, use a webhook and process the POST requests that Pub/Sub sends to the push endpoint. For more information about processing these POST requests in App Engine, see Writing and responding to Pub/Sub messages. https://cloud.google.com/pubsub/docs/push https://cloud.google.com/build/docs/subscribe-build-notifications

Topics

#Cloud Build#Cloud Pub/Sub#Webhooks#CI/CD Integration

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Practice