Google Associate Cloud Engineer Question 169
Select 2Google Cloud PlatformYou are tasked with setting up an automated infrastructure on Google Cloud Platform using Infrastructure as Code (IaC). Which of the following tools could you use to achieve this?
- A
Terraform
- B
Google Cloud Deployment Manager
- C
Ansible
- D
Chef
- E
Google Cloud Console
Show answer and explanation
Correct answers: A, B
Explanation
Infrastructure as Code (IaC) tools are used to automate the setup and management of cloud infrastructure. Both Terraform and Google Cloud Deployment Manager are designed specifically for this purpose, allowing for the definition and deployment of cloud resources through code. Ansible and Chef are more focused on configuration management, and the Google Cloud Console is a manual interface for resource management.
- A. Correct.
Terraform is a popular open-source tool that allows you to define infrastructure as code across various cloud providers, including Google Cloud Platform.
- B. Correct.
Google Cloud Deployment Manager is a native Google Cloud service that allows you to manage your resources with configuration files, making it suitable for IaC purposes.
- C. Incorrect.
Ansible is a configuration management tool that is primarily used for application deployment and configuration management rather than setting up cloud infrastructure from scratch.
- D. Incorrect.
Chef is also a configuration management tool used for automating software deployment and systems management, not typically used for defining cloud infrastructure as code.
- E. Incorrect.
Google Cloud Console is a web-based interface for managing Google Cloud resources but does not itself function as an infrastructure as code tool.