Topic: Professional Cloud DevOps Engineer topic 1 question 14

Your application images are built and pushed to Google Container Registry (GCR). You want to build an automated pipeline that deploys the application when the image is updated while minimizing the development effort. What should you do?

A.
Use Cloud Build to trigger a Spinnaker pipeline.
B.
Use Cloud Pub/Sub to trigger a Spinnaker pipeline.
C.
Use a custom builder in Cloud Build to trigger Jenkins pipeline.
D.
Use Cloud Pub/Sub to trigger a custom deployment service running in Google Kubernetes Engine (GKE).

Re: Professional Cloud DevOps Engineer topic 1 question 14

B is correct : https://cloud.google.com/architecture/continuous-delivery-toolchain-spinnaker-cloud#triggering_a_spinnaker_pipeline_when_a_docker_image_is_pushed_to_container_registry

Re: Professional Cloud DevOps Engineer topic 1 question 14

Agree B is right

Re: Professional Cloud DevOps Engineer topic 1 question 14

B is correct

Re: Professional Cloud DevOps Engineer topic 1 question 14

option B

Re: Professional Cloud DevOps Engineer topic 1 question 14

Agree with B option.

Re: Professional Cloud DevOps Engineer topic 1 question 14

Ans: B

Exam passed and taken on 19/12/2022, 50/50 from this dump without buying the full access and looking for 'devops' word here: https://www.islever.com/discussions/google/1/

Re: Professional Cloud DevOps Engineer topic 1 question 14

B is correct

Re: Professional Cloud DevOps Engineer topic 1 question 14

B is correct

10

Re: Professional Cloud DevOps Engineer topic 1 question 14

most sensible choice

Re: Professional Cloud DevOps Engineer topic 1 question 14

Ans : B

Re: Professional Cloud DevOps Engineer topic 1 question 14

Its B

Google Cloud Build vs Spinnaker: What are the differences?

What is Google Cloud Build? Continuously build, test, and deploy. Cloud Build lets you build software quickly across all languages. Get complete control over defining custom workflows for building, testing, and deploying across multiple environments such as VMs, serverless, Kubernetes, or Firebase.

What is Spinnaker? Multi-cloud continuous delivery platform for releasing software changes with high velocity and confidence. Created at Netflix, it has been battle-tested in production by hundreds of teams over millions of deployments. It combines a powerful and flexible pipeline management system with integrations to the major cloud providers.

Google Cloud Build and Spinnaker belong to "Continuous Deployment" category of the tech stack.

Re: Professional Cloud DevOps Engineer topic 1 question 14

A is the answer

Re: Professional Cloud DevOps Engineer topic 1 question 14

Cloud Build can't deploy inform Spinnaker to initiate a pipeline as and when the GCR is updated with new image. Whereas CloudPub/Sub can do. Answer should B.

Re: Professional Cloud DevOps Engineer topic 1 question 14

B, the pub/sub can trigger any deployment tool(spinnaker, cloud Run etc), but in platform native approach is to use spinnnaker.

You can also validate this, because they have only used platform native tools in the question like google container registry(instead of docker hub)

Re: Professional Cloud DevOps Engineer topic 1 question 14

Yes, Spinnaker for Google Cloud can be configured to trigger pipelines from Cloud Build when an image is updated in Google Cloud Registry

Re: Professional Cloud DevOps Engineer topic 1 question 14

no no no

Re: Professional Cloud DevOps Engineer topic 1 question 14

eyyy,sorry meant B

Re: Professional Cloud DevOps Engineer topic 1 question 14

OK for B but there is mistake by saying to bigger instead of to trigger

Re: Professional Cloud DevOps Engineer topic 1 question 14

B is correct, because it says that image is built already, then there must be a trigger of some sort for spinnaker. Cloud Build does not trigger Spinnaker itself. Cloud Pub/Sub trigger can be configured in Spinnaker as documented:  https://spinnaker.io/guides/user/pipeline/triggers/pubsub/

Re: Professional Cloud DevOps Engineer topic 1 question 14

Yes, Spinnaker for Google Cloud can be configured to trigger pipelines from Cloud Build when an image is updated in Google Cloud Registry

Re: Professional Cloud DevOps Engineer topic 1 question 14

Sorry the correct is D. Cloud Pub/Sub can trigger custom deployment service like Spinnaker pipeline etc.

Re: Professional Cloud DevOps Engineer topic 1 question 14

instead of using custom deployment service. We should focus on native tools for deployment. so should be -B the right option.

Re: Professional Cloud DevOps Engineer topic 1 question 14

It says to reduce development effort.

Re: Professional Cloud DevOps Engineer topic 1 question 14

B is correct.