
Answer-first summary for fast verification
Answer: Triggers can initiate pipelines both upon new commits to the repository and according to a predefined schedule.
Cloud Source Repositories triggers are versatile, allowing pipelines to be executed not only when new commits are made or tags are pushed but also on a scheduled basis. This flexibility supports various DevOps practices, such as nightly builds or timed deployments, enhancing automation and efficiency in the CI/CD pipeline.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
As a DevOps Engineer setting up a CI/CD pipeline in Google Cloud Platform with Cloud Source Repositories, which statement accurately describes the capabilities of triggers for Cloud Source Repositories?
A
Triggers are limited to executing pipelines on a scheduled basis, excluding events like commits in the repository.
B
Triggers can initiate pipelines both upon new commits to the repository and according to a predefined schedule.
C
The only trigger available is for new tags pushed to the repository, with no support for commits or schedules.
D
Pipelines can only be triggered by new commits to the repository, without any scheduling options.