Google Cloud Professional Cloud DevOps Engineer — 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?

Answer options

Correct answer: B

Explanation

The correct answer is B, as using Cloud Pub/Sub allows for seamless triggering of the Spinnaker pipeline when an image update occurs, achieving automation with minimal effort. Option A is incorrect because Cloud Build does not directly trigger Spinnaker without an intermediary like Pub/Sub. Option C introduces unnecessary complexity by adding Jenkins, which is not needed in this context. Option D, while possible, does not utilize Spinnaker, which is specifically designed for managing continuous delivery pipelines.