Examtopics

Professional Cloud Developer
  • Topic 1 Question 98

    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?

    2 つ選択
    • Run gcloud builds submit in the directory that contains the application source code.

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

    • 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.

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

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


    シャッフルモード