Google PCA Practice Question: Managing and Provisioning a Solution Infrastructure
A DevOps engineer needs to automate the deployment of a containerized application to Google Kubernetes Engine (GKE) using a CI/CD pipeline. The pipeline should build a Docker image, store it in Artifact Registry, and then deploy it to a GKE cluster. Which two Google Cloud services should be used together to achieve this?
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 and Cloud Deploy
Cloud Build can build the Docker image and push it to Artifact Registry. Cloud Deploy can then deploy the image to GKE using a delivery pipeline. Cloud Run is for serverless containers, not GKE. Cloud Source Repositories is a code repository, not a deployment service. Compute Engine is not needed for this use case.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Cloud Build and Cloud Run
Why it's wrong here
Cloud Run is for serverless containers, not GKE deployments.
- ✗
Artifact Registry and GKE alone
Why it's wrong here
Artifact Registry stores images but does not automate builds or deployments; a CI/CD service is needed.
- ✗
Cloud Source Repositories and Compute Engine
Why it's wrong here
Source Repositories is for code storage, Compute Engine provides VMs, not suitable for container orchestration.
- ✓
Cloud Build and Cloud Deploy
Why this is correct
Correct: Cloud Build builds and pushes the image, Cloud Deploy handles deployment to GKE.
Quick reference
Cloud Service Model Comparison
| Model | You Manage | Provider Manages | Examples |
|---|---|---|---|
| IaaS | OS, runtime, apps, data | Hardware, hypervisor, networking | EC2, Azure VMs, GCP Compute Engine |
| PaaS | Apps and data | OS, runtime, middleware, hardware | Elastic Beanstalk, Azure App Service |
| SaaS | Data and settings only | Everything else | Microsoft 365, Salesforce, Workday |
| FaaS / Serverless | Function code only | Infra, scaling, runtime | Lambda, Azure Functions, Cloud Run |
| CaaS | Containers and apps | Kubernetes, OS, hardware | EKS, AKS, GKE |
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
Compute Engine
Compute Engine is Google Cloud's Infrastructure-as-a-Service (IaaS) offering that lets you create and run virtual machines on Google's infrastructure.
About these practice questions
One of 955 original PCA practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.