ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 71 - Professional Cloud Developer discussion

Report
Export

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?

A.
Add RUN commands in the Dockerfile to execute unit and integration tests.
Answers
A.
Add RUN commands in the Dockerfile to execute unit and integration tests.
B.
Create a Cloud Build build config file with a single build step to compile unit and integration tests.
Answers
B.
Create a Cloud Build build config file with a single build step to compile unit and integration tests.
C.
Create a Cloud Build build config file that will spawn a separate cloud build pipeline for unit and integration tests.
Answers
C.
Create a Cloud Build build config file that will spawn a separate cloud build pipeline for unit and integration tests.
D.
Create a Cloud Build build config file with separate cloud builder steps to compile and execute unit and integration tests.
Answers
D.
Create a Cloud Build build config file with separate cloud builder steps to compile and execute unit and integration tests.
Suggested answer: D
asked 18/09/2024
Lee Michael
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first