Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam Professional Cloud DevOps Engineer topic 1 question 6 discussion

Actual exam question from Google's Professional Cloud DevOps Engineer
Question #: 6
Topic #: 1
[All Professional Cloud DevOps Engineer Questions]

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 Build 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.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Charun
Highly Voted 2 years, 10 months ago
I have submitted D answer
upvoted 17 times
...
francisco_guerra
Highly Voted 2 years, 11 months ago
Ans: D Pub/Sub A: No becauseThere is not Structure attribute to create a http request in the steps and remember you want minimize the development effort. B: The same A C: minimize the development effort D: Its OK 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
upvoted 17 times
...
JonathanSJ
Most Recent 1 year, 4 months ago
Selected Answer: D
Answer D
upvoted 1 times
...
floppino
1 year, 4 months ago
Selected Answer: D
Ans: D Exam pased and taken on 19/12/2022, 50/50 from this dump without buying the full access.
upvoted 1 times
[Removed]
1 year, 4 months ago
exam taken on 26/12/2022, 50/50 from this dump, without buying the full access, thanks for your help floppino
upvoted 1 times
...
...
zellck
1 year, 6 months ago
Selected Answer: D
D is the answer. https://cloud.google.com/build/docs/subscribe-build-notifications Cloud Build publishes messages on a Google Pub/Sub topic when your build's state changes, such as when your build is created, when your build transitions to a working state, and when your build completes. The Pub/Sub topic to which Cloud Build publishes these build update messages is called cloud-builds. Each message contains a base64 JSON string representation of your Build resource in the message.data attribute. The build's unique ID and the build's status can be found in the message.attributes field. You can use a push or pull model for your Pub/Sub subscriptions. https://cloud.google.com/build/docs/subscribe-build-notifications#push Push subscriptions deliver messages to an HTTP endpoint that you define. Messages are delivered as soon as they are published to the topic.
upvoted 6 times
AzureDP900
1 year, 6 months ago
Yes, D is right based on given scenario
upvoted 1 times
...
...
GCP72
1 year, 9 months ago
Selected Answer: D
Ans: D
upvoted 1 times
...
Ananda
2 years ago
Selected Answer: D
Submitted D in exam.
upvoted 1 times
...
akshay_jadhav
2 years ago
Selected Answer: D
Cloud Build -> Pubsub -> HTTP Builder.........SO ans is D
upvoted 2 times
...
pddddd
2 years, 3 months ago
https://medium.com/google-cloud/cloud-build-notifications-with-cloud-run-and-c-a23294e2e959
upvoted 2 times
...
pddddd
2 years, 3 months ago
Not sure on D. Pub/Sub posts into specific format and the actual payload in is message.data. Third party system API (where you post status) will have its own POST format. I feel B is better - you add a step in CLoud Build to do the POST.
upvoted 3 times
...
alaahakim
2 years, 5 months ago
Ans : D
upvoted 1 times
...
muk5658
2 years, 5 months ago
Its D. Cloud Build -> Pubsub -> HTTP Builder
upvoted 1 times
...
rinkeshgala1
2 years, 11 months ago
D is correct answer https://cloud.google.com/build/docs/subscribe-build-notifications
upvoted 2 times
akg001
2 years, 11 months ago
Agree D looks correct to me.
upvoted 2 times
...
...
devopsbatch
2 years, 11 months ago
no idea on this
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...