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 a Jenkins pipeline.
D . Use Cloud Pub/Sub to trigger a custom deployment service running in Google Kubernetes Engine (GKE).
Answer: B
Explanation:
https://cloud.google.com/architecture/continuous-delivery-toolchain-spinnaker-cloud
https://spinnaker.io/guides/user/pipeline/triggers/pubsub/
The most efficient way to build an automated pipeline that deploys the application when the image is updated is to use Cloud Pub/Sub to trigger a Spinnaker pipeline. This way, you can leverage the built-in integration between GCR and Cloud Pub/Sub, and use Spinnaker as a continuous delivery platform for deploying your application.
Latest Professional Cloud DevOps Engineer Dumps Valid Version with 52 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund