
Ultimate access to all questions.
You are setting up a CI/CD pipeline in Cloud Build to build a container image for an application stored in GitHub. Your organization mandates that production image builds only execute against the main branch and that all pushes to the main branch require approval from the change control team. You aim to maximize automation for the image build process. What should you do? (Select two.)
A
Create a trigger on the Cloud Build job. Set the repository event setting to ‘Pull request’.
B
Add the OWNERS file to the Included files filter on the trigger.
C
Create a trigger on the Cloud Build job. Set the repository event setting to ‘Push to a branch’.
D
Configure a branch protection rule for the main branch on the repository.
E
Enable the Approval option on the trigger.