Cloud Digital Leader Google Cloud Products and Services Practice Question
A developer wants to build a CI/CD pipeline that automatically builds a Docker container from a GitHub repository, stores the image securely, and deploys it to Cloud Run. Which THREE services should they integrate? (Select 3)
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 builds the Docker image, Artifact Registry stores the image, and Cloud Run deploys it. Cloud Storage is for object storage, not container images. Cloud Build triggers can be used with GitHub, but the question asks for services that are part of the pipeline; Cloud Source Repositories is a code repository, not required if using GitHub.
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
Why this is correct
Cloud Build ingests source code from GitHub and executes a series of build steps, including compiling code and building a Docker image using a Dockerfile. Because it is a managed service, it scales automatically and can trigger builds on commits or PRs, making it the core automation engine of this CI/CD pipeline.
- ✓
Artifact Registry
Why this is correct
Artifact Registry provides fully managed, private Docker image repositories with granular IAM controls and regional storage to keep image retrieval fast. It integrates directly with Cloud Build for pushing images and with Cloud Run for pulling them at deployment, ensuring only authorized services access the specific image versions.
- ✗
Cloud Storage
Why it's wrong here
Cloud Storage is an object store for arbitrary files, not a container-native registry; it lacks the manifest, tag, and layer integrity checks that Docker registries need. While you could theoretically upload a tarball, Cloud Run and Cloud Build expect images in a registry, so using Cloud Storage would break the pipeline's native integration.
- ✓
Cloud Run
Why this is correct
Cloud Run is the serverless compute target that deploys your container image, automatically scaling instances from zero based on HTTP requests and billing only for CPU and memory used during request processing. Although it is an essential part of the pipeline's deployment phase, it is not the tool that builds or orchestrates the pipeline—that is Cloud Build's responsibility.
- ✗
Cloud Source Repositories
Why it's wrong here
Cloud Source Repositories is Google's hosted Git repository, providing code storage, branch management, and integration with IAM, but the question explicitly assumes GitHub as the source control and trigger source. Since source is already in GitHub, Cloud Source Repositories would be redundant and is not a required component of this pipeline.
Go deeper
Related to this question
Learn chapter
Cloud Digital Transformation
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
Cloud storage
Cloud storage is a service that lets you save data on remote servers accessed over the internet instead of on your computer's hard drive.
About these practice questions
This GCDL question is part of Courseiva's 829-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 GCDL 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 GCDL exam.