
Answer-first summary for fast verification
Answer: Install and configure Config Connector in GKE.
To manage infrastructure as code through Kubernetes Custom Resource Definitions (CRDs) and ensure that the setup can be supported by the Google Cloud Support Portal, the best approach is to use Config Connector in GKE. Config Connector is a Kubernetes add-on that allows you to manage Google Cloud resources through Kubernetes. It uses CRDs to represent Google Cloud resources, enabling developers to use Kubernetes manifests to manage their infrastructure. This approach adheres to Google-recommended practices and is supported by the Google Cloud Support Portal. Option A and C involve using Terraform, which, while effective for infrastructure as code, does not leverage Kubernetes CRDs directly. Option B, Crossplane, is a powerful tool for managing cloud resources across different providers using CRDs, but it is not specifically mentioned as supported by the Google Cloud Support Portal, making Config Connector the more appropriate choice for this scenario.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your company's applications run on Google Kubernetes Engine (GKE), and developers often provision cloud resources for their applications. You need to enable developers to manage infrastructure as code following Google's best practices. The solution should use Kubernetes Custom Resource Definitions (CRDs) for infrastructure-as-code management and must be supportable by the Google Cloud Support Portal. What is the recommended approach?
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.
No comments yet.