GoogleGoogle
PROFESSIONAL-CLOUD-DEVELOPER · Question #246
PROFESSIONAL-CLOUD-DEVELOPER Question #246: Real Exam Question with Answer & Explanation
The correct answer is C: 1. Create a Cloud Function that calls the Google Cloud Deploy API to promote the application to. https://cloud.google.com/functions/docs/calling/pubsub
Implementing CI/CD Pipelines
Question
You are a developer at a large organization. You are deploying a web application to Google Kubernetes Engine (GKE). The DevOps team has built a CI/CD pipeline that uses Cloud Deploy to deploy the application to Dev, Test, and Prod clusters in GKE. After Cloud Deploy successfully deploys the application to the Dev cluster, you want to automatically promote it to the Test cluster. How should you configure this process following Google-recommended best practices?
Options
- A1. Create a Cloud Build trigger that listens for SUCCEEDED Pub/Sub messages from the
- B1. Create a Cloud Function that calls the Google Cloud Deploy API to promote the application to
- C1. Create a Cloud Function that calls the Google Cloud Deploy API to promote the application to
- D1. Create a Cloud Build pipeline that uses the gke-deploy builder.
Explanation
Topics
#Cloud Deploy#Automatic Promotion#Pub/Sub#Cloud Functions
Community Discussion
No community discussion yet for this question.