nerdexam
GoogleGoogle

PROFESSIONAL-CLOUD-DEVELOPER · Question #101

PROFESSIONAL-CLOUD-DEVELOPER Question #101: Real Exam Question with Answer & Explanation

The correct answer is B: Create a build trigger on a Git tag pattern.. Your application is built on every commit to the master branch. You want to release SPECIFIC commits made to the master branch in an automated method. https://cloud.google.com/source-repositories/docs/integrating-with-cloud- build#create_a_build_triggers/

Implement CI/CD pipelines

Question

You are using Cloud Build to create a new Docker image on each source code commit to a Cloud Source Repositories repository. Your application is built on every commit to the master branch. You want to release specific commits made to the master branch in an automated method. What should you do?

Options

  • AManually trigger the build for new releases.
  • BCreate a build trigger on a Git tag pattern.
  • CCreate a build trigger on a Git branch name pattern.
  • DCommit your source code to a second Cloud Source Repositories repository with a second Cloud

Explanation

Your application is built on every commit to the master branch. You want to release SPECIFIC commits made to the master branch in an automated method. https://cloud.google.com/source-repositories/docs/integrating-with-cloud- build#create_a_build_triggers/

Topics

#Cloud Build#Git Tags#CI/CD#Release Management

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVELOPER PracticeBrowse All PROFESSIONAL-CLOUD-DEVELOPER Questions