ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 157 - Professional Cloud Developer discussion

Report
Export

You are using Cloud Build for your CI/CD pipeline to complete several tasks, including copying certain files to Compute Engine virtual machines. Your pipeline requires a flat file that is generated in one builder in the pipeline to be accessible by subsequent builders in the same pipeline. How should you store the file so that all the builders in the pipeline can access it?

A.
Store and retrieve the file contents using Compute Engine instance metadata.
Answers
A.
Store and retrieve the file contents using Compute Engine instance metadata.
B.
Output the file contents to a file in /workspace. Read from the same /workspace file in the subsequent build step.
Answers
B.
Output the file contents to a file in /workspace. Read from the same /workspace file in the subsequent build step.
C.
Use gsutil to output the file contents to a Cloud Storage object. Read from the same object in the subsequent build step.
Answers
C.
Use gsutil to output the file contents to a Cloud Storage object. Read from the same object in the subsequent build step.
D.
Add a build argument that runs an HTTP POST via curl to a separate web server to persist the value in one builder. Use an HTTP GET via curl from the subsequent build step to read the value.
Answers
D.
Add a build argument that runs an HTTP POST via curl to a separate web server to persist the value in one builder. Use an HTTP GET via curl from the subsequent build step to read the value.
Suggested answer: B

Explanation:

https://cloud.google.com/build/docs/build-config-file-schema

asked 18/09/2024
sidra gray
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first