Courseiva

Google PCA Practice Question: Managing and Provisioning a Solution Infrastructure

An organization is using Cloud Build to build container images and push them to Artifact Registry. Which step in the cloudbuild.yaml file is necessary to tag and push the image?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

A step that runs 'docker push' with the Artifact Registry URL

The 'docker push' step with the destination in Artifact Registry is required to push the built image to a registry.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • A step that runs 'docker push' with the Artifact Registry URL

    Why this is correct

    This step pushes the image to Artifact Registry.

  • A step that runs 'gcloud container images push'

    Why it's wrong here

    'gcloud container images push' is not a valid command; use 'docker push'.

  • A step that runs 'gsutil cp' to upload the image

    Why it's wrong here

    gsutil is for Cloud Storage, not for container images.

  • A step that runs 'kubectl apply'

    Why it's wrong here

    kubectl is for Kubernetes, not for pushing images.

About these practice questions

This PCA question is part of Courseiva's 955-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This PCA practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCA exam.