
Answer-first summary for fast verification
Answer: Configure a trigger in Cloud Build that activates upon receiving a Webhook event.
The correct approach involves creating a trigger in Cloud Build that is activated by a Webhook event. This method ensures that builds are automatically triggered upon code pushes to GitLab, aligning with the customer's requirements. Other options either misplace the trigger's location or do not fully automate the process as desired. For more details, refer to the documentation on setting up triggers in Cloud Build.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Imagine a scenario where a customer chooses to use GitLab as their external source code management system. They aim to utilize Cloud Build for Continuous Integration and Deployment to Cloud Run, with the requirement to automatically initiate a build in Cloud Build upon code push to GitLab. How can this automation be achieved?
A
Establish a trigger in Cloud Build that responds to a Pub/Sub message event.
B
Set up a trigger in GitLab, directing the destination to Cloud Build.
C
Configure a trigger in Cloud Build that activates upon receiving a Webhook event.
D
Initiate a trigger in Cloud Build designed for manual invocation events.
No comments yet.