You plan to deploy a Go app to Cloud Run from Cloud Source Repositories with a fully managed automated deployment on each commit. What is the simplest solution?
Choose an answer
Tap an option to check your answer.
Correct answer: Use Cloud Build with a trigger to build and deploy on each Cloud Source Repositories commit..
Why this is the answer
The simplest and most integrated solution for automated deployments to Cloud Run from Cloud Source Repositories on each commit is to use Cloud Build with a trigger. Cloud Build natively integrates with Cloud Source Repositories, allowing you to easily configure triggers that automatically start a build and deployment process whenever changes are pushed to your repository. This leverages Google Cloud's managed services for CI/CD. Running a cron job on workstations is not automated, scalable, or integrated. Using a Jenkins trigger would require setting up and managing a Jenkins instance, which is more complex than using Cloud Build. While Cloud Run supports buildpacks, configuring continuous deployment directly from the source repository using buildpacks is typically handled by a CI/CD tool like Cloud Build, not as a standalone solution for automated deployment triggers.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed