Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
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. Which two actions should you perform?
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/PROJECTID/app−namegcr.io/PROJECT_ID/app-name gcr.io/PROJECTID/app−namegcr.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