Google PCA Practice Question: Managing and Provisioning a Solution Infrastructure
A cloud architect is designing a CI/CD pipeline for a microservices application. Each service is deployed to Cloud Run. They want to use Cloud Build to automate building and deploying services only when changes occur in their respective directories. Which Cloud Build feature should they configure?
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
✓
Build triggers with included files filter
Cloud Build triggers can be configured with regular expressions to match changed files in specific directories, so builds are only started for relevant changes. Build steps define actions but not triggers; cloudbuild.yaml is the build configuration file; Artifact Registry is a storage service.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Build steps in cloudbuild.yaml
Why it's wrong here
Build steps define what happens during a build, but not when the build is triggered.
- ✓
Build triggers with included files filter
Why this is correct
Correct: Cloud Build triggers can filter by file paths to trigger builds only on changes to specific directories.
- ✗
Cloud Build's 'includedFiles' option in the build configuration
Why it's wrong here
The 'includedFiles' option is part of a trigger configuration, not the build configuration itself.
- ✗
Artifact Registry triggers
Why it's wrong here
Artifact Registry does not trigger builds; it stores artifacts.
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
Cloud Build
Cloud Build is a managed service that compiles source code into deployable artifacts, often used in continuous integration and continuous delivery pipelines.
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.