nerdexam
Google

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…

Submitted by salim_om· Mar 30, 2026Managing implementation

Question

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 Cloud Run whenever a pull request is merged. What should you do?

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)
  • A
    3% (1)
  • B
    5% (2)
  • C
    3% (1)
  • D
    89% (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

#Cloud Build#GitHub integration#CI/CD pipeline#Cloud Run deployment

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-ARCHITECT Practice