Examtopics

Professional Cloud DevOps Engineer
  • Topic 1 Question 108

    You are creating a CI/CD pipeline in Cloud Build to build an application container image. The application code is stored in GitHub. Your company requires that production image builds are only run against the main branch and that the change control team approves all pushes to the main branch. You want the image build to be as automated as possible. What should you do?

    2 つ選択
    • Create a trigger on the Cloud Build job. Set the repository event setting to ‘Pull request’.

    • Add the OWNERS file to the Included files filter on the trigger.

    • Create a trigger on the Cloud Build job. Set the repository event setting to ‘Push to a branch’

    • Configure a branch protection rule for the main branch on the repository.

    • Enable the Approval option on the trigger.


    シャッフルモード