Exam4Training

What should you do?

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?
A . Add logic to each Cloud Build step to HTTP POST the build information to a webhook.
B . Add a new step at the end of the pipeline in Cloud Build to HTTP POST the build information to a webhook.
C . Use Stackdriver Logging to create a logs-based metric from the Cloud Buitd logs. Create an Alert with a Webhook notification type.
D . Create a Cloud Pub/Sub push subscription to the Cloud Build cloud-builds PubSub topic to HTTP POST the build information to a webhook.

Answer: D

Exit mobile version