CloudGuild · Blog · Cheat sheets · Lessons · Certifications
GCP-ACE Exam Question Walkthrough: CI/CD Pipeline Setup
Learn how to effectively choose services for a CI/CD pipeline in Google Cloud with this step-by-step breakdown of a GCP-ACE exam question.
Setting up a CI/CD pipeline can confuse many candidates. The challenge often lies in understanding which services directly support this process. Making the right choices is crucial for passing the GCP-ACE exam.
The question
You need to set up a CI/CD pipeline in Google Cloud for your application. Which combination of services would best support this requirement? Select all that apply.
- A. Google Cloud Build for building and testing code.
- B. Google Cloud Storage for storing build artifacts.
- C. Google Kubernetes Engine for deploying applications.
- D. Google Cloud Pub/Sub for messaging between services.
Think before you scroll
When evaluating options, focus on how each service aligns with the CI/CD process. Identify the services that directly contribute to building, testing, and deploying code, rather than those that provide ancillary support.
The answer
The correct options are A and C. Google Cloud Build automates the build and test processes, while Google Kubernetes Engine manages the deployment of applications. Both are fundamental to a CI/CD pipeline.
Why the other options lose
- B. Google Cloud Storage for storing build artifacts. While storing artifacts is important, this service does not directly participate in the build or deployment processes. It is more of a supporting service rather than an active component of CI/CD.
- D. Google Cloud Pub/Sub for messaging between services. This service focuses on messaging and event-driven architectures. It does not directly support CI/CD operations, which are centered around building, testing, and deploying applications.
The concept behind it
Understanding the roles of different services in the CI/CD cycle is essential. Google Cloud Build is crucial for automating builds and tests, while Google Kubernetes Engine provides the environment needed for deploying those applications. Artifacts may be stored in Google Cloud Storage, but that does not make it a core part of the CI/CD workflow.
Exam trap to remember
Remember: CI/CD focuses on automating the build and deployment processes. Identify services that contribute directly to these actions to avoid traps in the exam.