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.
Go deeper
Related to this question
Learn chapter
Introduction to Google Cloud Platform
Key term
Cloud Build
Cloud Build is a managed service that compiles source code into deployable artifacts, often used in continuous integration and continuous delivery pipelines.
Key term
Image
An image is a complete snapshot of a system's operating system, applications, and settings, used to deploy or restore computing environments quickly.
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 →
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.