Google Cloud Professional Cloud DevOps Engineer — Question 165
Your company runs applications in Google Kubernetes Engine (GKE). Application developers frequently create cloud resources to support their applications. You need to give developers the ability to manage infrastructure as code while adhering to Google-recommended practices. You want to manage infrastructure as code through Kubernetes Custom Resource Definitions (CRDs) and ensure that your chosen setup can be supported by the Google Cloud Support Portal. What should you do?
Answer options
- A. Configure Cloud Build with a Terraform builder to execute the terraform plan and terraform apply commands.
- B. Install and configure Crossplane in GKE.
- C. Configure a GitHub Action with a Terraform builder to execute the terraform plan and terraform apply commands as part of the pull request process.
- D. Install and configure Config Connector in GKE.
Correct answer: D
Explanation
The correct answer is D, as Config Connector allows you to manage Google Cloud resources through Kubernetes Custom Resource Definitions (CRDs), aligning with the requirement of managing infrastructure as code. While Cloud Build and GitHub Actions can execute Terraform, they do not directly integrate with Kubernetes CRDs for this purpose. Crossplane can also manage infrastructure but may not be supported under the same guidelines as Config Connector for Google Cloud Support.