nerdexam
Google

PROFESSIONAL-CLOUD-DEVELOPER · Question #262

You plan to deploy a new Go application to Cloud Run. The source code is stored in Cloud Source Repositories. You need to configure a fully managed, automated, continuous deployment pipeline that runs

The correct answer is D. Use Cloud Build with a trigger configured to run the container build and deploy process for each. https://cloud.google.com/run/docs/continuous-deployment-with-cloud-build Cloud Build is a fully managed, scalable, and efficient service provided by Google Cloud that allows you to automate your software delivery pipeline, including building, testing, and deploying applications.

Implementing and Deploying Applications

Question

You plan to deploy a new Go application to Cloud Run. The source code is stored in Cloud Source Repositories. You need to configure a fully managed, automated, continuous deployment pipeline that runs when a source code commit is made. You want to use the simplest deployment solution. What should you do?

Options

  • AConfigure a cron job on your workstations to periodically run gcloud run deploy --source in the
  • BConfigure a Jenkins trigger to run the container build and deploy process for each source code
  • CConfigure continuous deployment of new revisions from a source repository for Cloud Run using
  • DUse Cloud Build with a trigger configured to run the container build and deploy process for each

How the community answered

(43 responses)
  • A
    7% (3)
  • B
    2% (1)
  • C
    16% (7)
  • D
    74% (32)

Explanation

https://cloud.google.com/run/docs/continuous-deployment-with-cloud-build Cloud Build is a fully managed, scalable, and efficient service provided by Google Cloud that allows you to automate your software delivery pipeline, including building, testing, and deploying applications. By using a trigger with Cloud Build, you can automatically build and deploy your Go application to Cloud Run whenever a source code commit is made in Cloud Source Repositories. This provides a simple, fully managed solution for continuous deployment, and eliminates the need for manual processes or external tools like Jenkins.

Topics

#Cloud Build#Cloud Run#CI/CD#Continuous Deployment

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVELOPER Practice