Google Cloud Professional Cloud DevOps Engineer — Question 127
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?
Answer options
- A. Install and configure Config Connector in Google Kubernetes Engine (GKE).
- B. Configure Cloud Build with a Terraform builder to execute terraform plan and terraform apply commands.
- C. Create a Pod resource with a Terraform docker image to execute terraform plan and terraform apply commands.
- D. Create a Job resource with a Terraform docker image to execute terraform plan and terraform apply commands.
Correct answer: A
Explanation
The correct answer is A because Config Connector allows Kubernetes users to manage Google Cloud resources declaratively using Kubernetes manifests, ensuring periodic reconciliation and minimizing configuration drift. Options B, C, and D do not provide the same level of integration and automated reconciliation with Google Cloud services as Config Connector does.