Question 317 of 500
Integrating Google Cloud serviceshardMultiple ChoiceObjective-mapped

Quick Answer

The answer is Cloud Build with a build trigger on tag push because it natively orchestrates event-driven CI/CD pipelines for GKE by responding to Git tag events, automatically building container images and deploying microservices. This service directly supports the requirement to run integration tests against a staging environment before promoting to production, as Cloud Build can chain multiple build steps and conditional promotions within a single pipeline configuration. On the Google Professional Cloud Developer exam, this scenario tests your understanding of Cloud Build triggers versus alternatives like Cloud Deploy or Jenkins, with a common trap being to overcomplicate the solution by adding a separate orchestrator like Cloud Composer. Remember that Cloud Build’s built-in trigger on tag push eliminates the need for external orchestration, making it the simplest and most native choice for tag-based CI/CD on GKE. A helpful memory tip: “Tag triggers in Cloud Build mean no extra orchestrator is needed.”

PCD Integrating Google Cloud services Practice Question

This PCD practice question tests your understanding of integrating google cloud services. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A DevOps team is designing a CI/CD pipeline for a microservices application deployed on Google Kubernetes Engine (GKE). They want to automatically build and deploy each service when a new tag is pushed to its repository. They also need to run integration tests against a staging environment before promoting to production. Which service should they use to orchestrate the pipeline?

Question 1hardmultiple choice
Full question →

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 with a build trigger on tag push

Cloud Build with a build trigger on tag push is the correct choice because it natively supports event-driven pipelines triggered by Git tags, enabling automatic build and deployment of each microservice. Combined with Cloud Build's ability to run integration tests in a staging environment and then promote to production, it provides a complete CI/CD solution for GKE without additional orchestration services.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Deployment Manager with a template

    Why it's wrong here

    Deployment Manager is for declarative infrastructure management, not CI/CD pipelines.

  • Cloud Deploy with a delivery pipeline

    Why it's wrong here

    Cloud Deploy is for continuous delivery, but it requires pre-built images and does not handle build triggers.

  • Cloud Build with a build trigger on tag push

    Why this is correct

    Cloud Build can be triggered by a tag push, build the container, and deploy to GKE. It also supports running tests.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Cloud Run with continuous deployment

    Why it's wrong here

    Cloud Run is a serverless compute service, not a CI/CD orchestrator.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the distinction between CI/CD orchestration (Cloud Build) and delivery/rollout management (Cloud Deploy), leading candidates to choose Cloud Deploy because it sounds like a pipeline orchestrator, but it requires an external CI trigger to start the process.

Detailed technical explanation

How to think about this question

Cloud Build triggers can be configured to match a regex pattern on Git tags (e.g., `^v[0-9]+\.[0-9]+\.[0-9]+$`), and the pipeline can use `gcloud builds submit` or `kubectl` to deploy to GKE. Under the hood, Cloud Build uses a `cloudbuild.yaml` configuration where you can define steps for building, testing (e.g., running integration tests in a staging namespace), and promoting to production via a separate trigger or manual approval. A real-world scenario is a monorepo where each service has its own tag, and Cloud Build's substitution variables (e.g., `$TAG_NAME`) allow dynamic deployment to the correct GKE cluster.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related PCD practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free PCD practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this PCD question test?

Integrating Google Cloud services — This question tests Integrating Google Cloud services — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Cloud Build with a build trigger on tag push — Cloud Build with a build trigger on tag push is the correct choice because it natively supports event-driven pipelines triggered by Git tags, enabling automatic build and deployment of each microservice. Combined with Cloud Build's ability to run integration tests in a staging environment and then promote to production, it provides a complete CI/CD solution for GKE without additional orchestration services.

What should I do if I get this PCD question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This PCD 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 PCD exam.