Google Professional Cloud DevOps Engineer Question 188
Single answerGoogle Cloud PlatformYour team is adopting Infrastructure-as-Code (IaC) to manage your cloud resources in Google Cloud. You have a requirement to enforce consistency, modularity, and reusability across multiple projects while ensuring that any changes to infrastructure configurations are version-controlled. Which tool would be the best choice to meet these requirements?
- A
Terraform
- B
Helm
- C
Cloud Foundation Toolkit
- D
Config Connector
Show answer and explanation
Correct answer: A
Explanation
Terraform is the best choice because it is a widely used Infrastructure-as-Code tool that meets the requirements of consistency, modularity, reusability, and version control. While other tools like Helm, Cloud Foundation Toolkit, and Config Connector have specific use cases, Terraform provides a flexible and comprehensive solution for managing cloud infrastructure across multiple projects.
- A. Correct.
Terraform is highly suitable for managing Infrastructure-as-Code in a modular, reusable, and version-controlled manner. It supports multiple cloud providers, including Google Cloud, and allows you to define configurations in a consistent and repeatable way.
- B. Incorrect.
Helm is a tool specifically designed for managing Kubernetes application deployments via Helm charts. While powerful for Kubernetes, it is not a general-purpose IaC tool for managing cloud infrastructure.
- C. Incorrect.
Cloud Foundation Toolkit provides best-practice templates for Google Cloud, but it is not a standalone IaC tool. It is often used alongside tools like Terraform to standardize configurations.
- D. Incorrect.
Config Connector allows the management of Google Cloud resources using Kubernetes Custom Resource Definitions (CRDs). While it integrates with Kubernetes, it is not the most suitable choice for general-purpose IaC across multiple projects.