List of questions
Related questions
Question 227 - Professional Cloud Developer discussion
You are developing a new web application using Cloud Run and committing code to Cloud Source Repositories. You want to deploy new code in the most efficient way possible. You have already created a Cloud Build YAML file that builds a container and runs the following command: gcloud run deploy. What should you do next?
A.
Create a Pub/Sub topic to be notified when code is pushed to the repository. Create a Pub/Sub trigger that runs the build file when an event is published to the topic.
B.
Create a build trigger that runs the build file in response to a repository code being pushed to the development branch.
C.
Create a webhook build trigger that runs the build file in response to HTTP POST calls to the webhook URL.
D.
Create a Cron job that runs the following command every 24 hours: gcloud builds submit.
Your answer:
0 comments
Sorted by
Leave a comment first