PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #104
PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Question #104: Real Exam Question with Answer & Explanation
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
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
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
Community Discussion
No community discussion yet for this question.