QuestionQ83

VerifiedBuilding and testing applications

You have chosen to migrate your Compute Engine application to Google Kubernetes Engine. You must build a container image and push it to Artifact Registry with Cloud Build. What should you do?

Choose two
Explanation

Cloud Build automates container image construction and registry upload. Running gcloud builds submit in the application directory triggers Cloud Build, which reads cloudbuild.yaml and executes build steps. A valid build configuration with Docker build and push steps (shown in option D) completes the required container build and push to Artifact Registry. Cloud Run deployment and image retagging bypass the essential build-and-push process.

Community Discussion

No comments yet. Be the first to start the discussion!