Medium1 markMultiple Choice

GCP PCA · Question 47 · Domain 4: Analyzing and Optimizing Technical and Business Processes

You are designing a CI/CD pipeline for a GKE-based application. The development team wants to adopt a GitOps methodology. Which TWO tools/services are central to implementing GitOps on Google Cloud? (Select TWO)

Answer options:

A.

Cloud Dataflow.

B.

Cloud Build.

C.

Cloud Spanner.

D.

Anthos Config Management (Config Sync).

E.

Cloud Endpoints.

How to approach this question

Identify the CI tool (builds images) and the GitOps CD tool (syncs Git to Kubernetes).

Full Answer

B,D
In a GitOps workflow on GCP, Cloud Build handles the Continuous Integration (CI) phase: it detects a commit, runs tests, builds a Docker image, and pushes it to Artifact Registry. Anthos Config Management (specifically Config Sync) handles the Continuous Deployment (CD) phase: it runs inside the GKE cluster, constantly polling a Git repository for changes to Kubernetes YAML files, and automatically applying those changes to the cluster.

Common mistakes

Not recognizing Config Sync as the GitOps engine. Traditional CD pushes to the cluster; GitOps pulls from the repo.

Practice the full GCP Professional Cloud Architect Practice Exam 3

50 questions · hints · full answers · grading

More questions from this exam