
Explanation:
To automate nightly builds for the staging branch, you should:
Incorrect options include using webhook events or 'Push to a branch' for scheduled triggers, and creating triggers directly in Cloud Scheduler instead of Cloud Build. Reference: Google Cloud Build Documentation.
Ultimate access to all questions.
No comments yet.
As a DevOps Engineer, you're tasked with automating nightly builds for a staging branch that receives daily merges from various developer branches. Which two methods would you use to trigger these builds?
A
Set up a Cloud Build trigger with a webhook event.
B
Configure a Cloud Build trigger using 'Push to a branch' as the event.
C
Establish a Cloud Build trigger with 'manual invocation' as the event.
D
Utilize Cloud Scheduler to create a trigger for Cloud Build.
E
Activate the Cloud Scheduler API and set up a Cloud Scheduler job.