Google PCA Practice Question: Managing and Provisioning a Solution Infrastructure
A development team wants to automate the process of building container images from their GitHub repository and storing them in Artifact Registry. Which Google Cloud service should they use to create a build trigger that runs on every push to the main branch?
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
✓
Cloud Build
Cloud Build is the CI/CD service that can be configured with build triggers to automatically build images on source code changes and push them to Artifact 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.
- ✗
Container Registry
Why it's wrong here
Container Registry is deprecated and only stores images, it does not build them.
- ✓
Cloud Build
Why this is correct
Correct. Build triggers in Cloud Build can watch a repository branch and run a build automatically.
- ✗
Artifact Registry
Why it's wrong here
Artifact Registry stores artifacts, but it does not build images automatically.
- ✗
Cloud Deploy
Why it's wrong here
Cloud Deploy is for continuous delivery, not building images.
Go deeper
Related to this question
Learn chapter
Introduction to Google Cloud Platform
Key term
Artifact Registry
Artifact Registry is a managed service for storing, managing, and securing container images and other software packages in a centralized repository.
Key term
Service
A service is a software component or system that performs a specific function and is available to be used by other programs or users over a network.
About these practice questions
Courseiva writes every PCA question from scratch — 955 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.