ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 116 - Professional Cloud Developer discussion

Report
Export

You have decided to migrate your Compute Engine application to Google Kubernetes Engine. You need to build a container image and push it to Artifact Registry using Cloud Build. What should you do? (Choose two.)

A)

Run gcloud builds submit in the directory that contains the application source code.

B)

Run gcloud run deploy app-name --image gcr.io/$PROJECT_ID/app-name in the directory that contains the application source code.

C)

Run gcloud container images add-tag gcr.io/$PROJECT_ID/app-name gcr.io/$PROJECT_ID/app-name:latest in the directory that contains the application source code.

D)

In the application source directory, create a file named cloudbuild.yaml that contains the following contents:

E)

In the application source directory, create a file named cloudbuild.yaml that contains the following contents:

A.
Option A
Answers
A.
Option A
B.
Option B
Answers
B.
Option B
C.
Option C
Answers
C.
Option C
D.
Option D
Answers
D.
Option D
E.
Option E
Answers
E.
Option E
Suggested answer: A, D

Explanation:

https://cloud.google.com/sdk/gcloud/reference/builds/submit

https://cloud.google.com/artifact-registry/docs/configure-cloud-build

asked 18/09/2024
Nigel Choji
45 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first