
Answer-first summary for fast verification
Answer: Establish a trigger in Cloud Build that responds to webhook events.
Option A is incorrect because it does not meet the requirement for automated triggering. Option B is incorrect as Cloud Build can only be triggered by external systems through webhooks, not directly from GitLab. Option C is correct because Cloud Build supports automated triggering via webhooks from external systems like GitLab. Option D is incorrect for the same reason as Option B; Cloud Build's integration with external systems is limited to webhooks. For more information, refer to the Cloud Build documentation on triggers and automating builds with webhooks.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A customer has chosen to use GitLab as their external source code management system and wishes to utilize Cloud Build for Continuous Integration and Deployment to Cloud Run. They aim to automatically initiate a build in Cloud Build upon pushing code to GitLab. What is the correct method to achieve this?
A
Set up a trigger in Cloud Build configured for manual invocation.
B
Configure a trigger in GitLab with Cloud Build as the destination.
C
Establish a trigger in Cloud Build that responds to webhook events.
D
Create a trigger in Cloud Build that reacts to Pub/Sub messages.
No comments yet.