nerdexam
Google

PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #104

Your company runs applications in Google Kubernetes Engine (GKE) that are deployed following a GitOps methodology. Application developers frequently create cloud resources to support their application

The correct answer is A. Install and configure Config Connector in Google Kubernetes Engine (GKE).. Config Connector is a Google-maintained Kubernetes add-on that lets developers manage Google Cloud resources (Cloud SQL, GCS, Pub/Sub, etc.) using Kubernetes CRDs stored in Git. It continuously reconciles the declared desired state against actual GCP resource state, directly prev

Submitted by wei.xz· Apr 18, 2026Building and implementing CI/CD pipelines for a service

Question

Your company runs applications in Google Kubernetes Engine (GKE) that are deployed following a GitOps methodology. Application developers frequently create cloud resources to support their applications. You want to give developers the ability to manage infrastructure as code, while ensuring that you follow Google-recommended practices. You need to ensure that infrastructure as code reconciles periodically to avoid configuration drift. What should you do?

Options

  • AInstall and configure Config Connector in Google Kubernetes Engine (GKE).
  • BConfigure Cloud Build with a Terraform builder to execute terraform plan and terraform apply
  • CCreate a Pod resource with a Terraform docker image to execute terraform plan and terraform
  • DCreate a Job resource with a Terraform docker image to execute terraform plan and terraform

How the community answered

(38 responses)
  • A
    71% (27)
  • B
    16% (6)
  • C
    5% (2)
  • D
    8% (3)

Explanation

Config Connector is a Google-maintained Kubernetes add-on that lets developers manage Google Cloud resources (Cloud SQL, GCS, Pub/Sub, etc.) using Kubernetes CRDs stored in Git. It continuously reconciles the declared desired state against actual GCP resource state, directly preventing configuration drift - which is the core requirement. This fits naturally into a GitOps workflow since all resource definitions live in source control. Options B, C, and D all involve Terraform but require external triggers or one-time Jobs; none provide the continuous, periodic reconciliation that Config Connector delivers natively.

Topics

#Config Connector#GitOps#Infrastructure as Code#Configuration Drift

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Practice