PROFESSIONAL-CLOUD-ARCHITECT · Question #363
You are using a GitHub repository for your application's source code. You want to set up an efficient and secure continuous deployment process to automatically build and deploy the application to…
The correct answer is D. Connect your repository using the Cloud Build GitHub app. Create a trigger in Cloud Build. Once. Connecting the repository using the Cloud Build GitHub app and using a Cloud Build trigger provides an automated, secure CI/CD path without storing long-lived credentials in the repo. Cloud Build can build the container and deploy directly to Cloud Run using Google-recommended…
Question
Options
- ACreate a GitHub webhook trigger in Cloud Build. Once a pull request is merged, trigger Cloud
- BCreate a workflow using GitHub Actions to build and deploy the application to Cloud Run once a
- CCreate a GitHub Enterprise trigger in Cloud Build. Once a pull request is merged, trigger Cloud
- DConnect your repository using the Cloud Build GitHub app. Create a trigger in Cloud Build. Once
How the community answered
(37 responses)- A3% (1)
- B5% (2)
- C3% (1)
- D89% (33)
Explanation
Connecting the repository using the Cloud Build GitHub app and using a Cloud Build trigger provides an automated, secure CI/CD path without storing long-lived credentials in the repo. Cloud Build can build the container and deploy directly to Cloud Run using Google-recommended identity-based authentication and managed integrations when a merge event occurs.
Topics
Community Discussion
No community discussion yet for this question.