
Answer-first summary for fast verification
Answer: Create a Cloud Build trigger with 'manual invocation' as the event type.
The correct approach involves creating a Cloud Build trigger with 'manual invocation' as the event type. This method is appropriate because: - Scheduled triggers require 'manual invocation' to be set as the event. - Triggers are configured within Cloud Build, not Cloud Scheduler. - Following trigger creation in Cloud Build, a corresponding Cloud Scheduler job must be established. For further details, consult the documentation on manually building code in source repositories.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
As a DevOps Engineer, your team pushes code changes to various branches in a repository daily, with all changes merged into a staging branch each day. The client requests a nightly build of the staging branch. How would you implement this?
A
Set up a Cloud Scheduler job after enabling the Cloud Scheduler API.
B
Configure a Cloud Build trigger with 'Push to a branch' as the triggering event.
C
Establish a Cloud Scheduler trigger specifically for Cloud Build operations.
D
Implement a Cloud Build trigger that responds to webhook events.
E
Create a Cloud Build trigger with 'manual invocation' as the event type.
No comments yet.