
Answer-first summary for fast verification
Answer: Pull Request
**Correct Answer: D (Pull Request)** - **Option A (Push to a branch)**: Incorrect. This action can trigger Cloud Build when code is pushed to any specified branch in Cloud Source Repositories. - **Option B (Manual invocation)**: Incorrect. Cloud Build can be manually triggered to build code from the repository. - **Option C (Push new tag)**: Incorrect. Pushing code with a new tag to any branch in the repository can trigger Cloud Build. - **Option D (Pull Request)**: Correct. This action cannot be used to trigger builds in Cloud Build when using Cloud Source Repositories. For more details, refer to the [Google Cloud Build documentation](https://cloud.google.com/build/docs/automating-builds/create-manage-triggers).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
As a DevOps Engineer utilizing cloud-native tools for a CI/CD pipeline, automated builds are triggered in Cloud Build upon code pushes to Cloud Source Repositories. Which of the following actions cannot be used as a trigger with Cloud Source Repositories?
A
Push to a branch
B
Manual invocation
C
Push new tag
D
Pull Request