exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 245 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 245
Topic #: 1
[All Professional Cloud Developer Questions]

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?

  • A. Configure a cron job on your workstations to periodically run gcloud run deploy --source in the working directory.
  • B. Configure a Jenkins trigger to run the container build and deploy process for each source code commit to Cloud Source Repositories.
  • C. Configure continuous deployment of new revisions from a source repository for Cloud Run using buildpacks.
  • D. Use Cloud Build with a trigger configured to run the container build and deploy process for each source code commit to Cloud Source Repositories.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
__rajan__
7 months, 1 week ago
Selected Answer: D
D is correct.
upvoted 1 times
...
purushi
8 months, 3 weeks ago
Selected Answer: D
D is more suitable since we need "simplest deployment solution". C is close but it is limited to only building the image and pushing that into artifact registry. It donot take part in deployment. B is also close but it takes more work than D.
upvoted 1 times
...
MaroonCDL
9 months, 1 week ago
Selected Answer: C
The correct answer is C, which is simpler than D. In option C, there is no need to create a Dockerfile, making it a more straightforward solution compared to option D.
upvoted 1 times
...
azinge
10 months, 1 week ago
C. Configure continuous deployment of new revisions from a source repository for Cloud Run using buildpacks. This is because Google Cloud Run offers the ability to automate the deployment of new revisions directly from a source repository using buildpacks. This is an extremely simple and managed way to set up a continuous deployment pipeline. Option D, while a valid method for automating deployments, is not as simple as using Cloud Run's integrated deployment feature, as it involves the additional service of Cloud Build.
upvoted 1 times
kldn
7 months, 2 weeks ago
https://cloud.google.com/blog/products/serverless/build-and-deploy-an-app-to-cloud-run-with-a-single-command
upvoted 1 times
...
...
Pime13
1 year, 2 months ago
Selected Answer: D
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.
upvoted 1 times
...
mrvergara
1 year, 2 months ago
Selected Answer: D
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.
upvoted 1 times
...
TNT87
1 year, 2 months ago
Selected Answer: D
https://cloud.google.com/run/docs/continuous-deployment-with-cloud-build
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago