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).
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
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.examtopics.com/discussions/google/1/
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.
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.
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)
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/
Cloud build directly can't trigger spinnaker pipeline. you have to use cloud pub/sub to trigger spinnaker pipeline. ( In the backend it will use cloud build notifiers
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.
MF2C
Highly Voted 3 years, 1 month agoAzureDP900
2 years agoCharun
Highly Voted 3 years, 4 months agomanishk39
Most Recent 2 months agojomonkp
11 months agoJonathanSJ
1 year, 9 months agofloppino
1 year, 10 months agoTrinabh
2 years, 1 month agoGCP72
2 years, 3 months agorfd
2 years, 8 months agoalaahakim
2 years, 10 months agoLuvero
3 years agogcpengineer
3 years, 2 months agojagadeeshs
2 years, 9 months agoDark_Lord
3 years, 3 months agoTNT87
3 years, 1 month agoTNT87
3 years, 1 month agodesertlotus1211
6 months, 2 weeks agoMikeFR
3 years, 3 months agoholahola
3 years, 4 months agodesertlotus1211
6 months, 2 weeks agodevopsbatch
3 years, 4 months agorinkeshgala1
3 years, 4 months ago