nerdexam
GoogleGoogle

PROFESSIONAL-CLOUD-DEVELOPER · Question #87

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

Sign in or unlock PROFESSIONAL-CLOUD-DEVELOPER to reveal the answer and full explanation for question #87. The question stem and answer options stay visible for context.

Implementing CI/CD Pipelines

Question

You are using Cloud Build to build a Docker image. You need to modify the build to execute unit and run integration tests. When there is a failure, you want the build history to clearly display the stage at which the build failed. What should you do?

Options

  • AAdd RUN commands in the Dockerfile to execute unit and integration tests.
  • BCreate a Cloud Build build config file with a single build step to compile unit and integration tests.
  • CCreate a Cloud Build build config file that will spawn a separate cloud build pipeline for unit and
  • DCreate a Cloud Build build config file with separate cloud builder steps to compile and execute

Unlock PROFESSIONAL-CLOUD-DEVELOPER to see the answer

You've previewed enough free PROFESSIONAL-CLOUD-DEVELOPER questions. Unlock PROFESSIONAL-CLOUD-DEVELOPER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Cloud Build#CI/CD#Docker#Testing
Full PROFESSIONAL-CLOUD-DEVELOPER PracticeBrowse All PROFESSIONAL-CLOUD-DEVELOPER Questions