PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #107
Your company recently migrated to Google Cloud. You need to design a fast, reliable, and repeatable solution for your company to provision new projects and basic resources in Google Cloud. What…
The correct answer is D. Use the Terraform repositories from the Cloud Foundation Toolkit. Apply the code with. To provision Google Cloud projects and basic resources in a fast, reliable, and repeatable way, leverage the Cloud Foundation Toolkit with Terraform.
Question
Options
- AUse the Google Cloud console to create projects.
- BWrite a script by using the gcloud CLI that passes the appropriate parameters from the request.
- CWrite a Terraform module and save it in your source control repository. Copy and run the
- DUse the Terraform repositories from the Cloud Foundation Toolkit. Apply the code with
How the community answered
(17 responses)- A6% (1)
- B12% (2)
- D82% (14)
Why each option
To provision Google Cloud projects and basic resources in a fast, reliable, and repeatable way, leverage the Cloud Foundation Toolkit with Terraform.
Using the Google Cloud console is a manual process, not fast, reliable, or repeatable for provisioning multiple projects and resources at scale.
While gcloud CLI scripts can automate, they are generally less robust, maintainable, and less declarative than Terraform for managing infrastructure state, making them less reliable and repeatable for complex setups.
Writing a custom Terraform module is a good approach for specific needs, but the Cloud Foundation Toolkit (option D) offers pre-built, tested, and Google-recommended modules that fulfill the requirement for "basic resources" and promote best practices without reinventing the wheel.
The Cloud Foundation Toolkit provides pre-built, opinionated Terraform modules that encapsulate Google-recommended best practices for provisioning common cloud resources, making the process fast, reliable, and repeatable, and aligning with Infrastructure as Code principles. Applying this code from a source control repository ensures version control and auditability.
Concept tested: Infrastructure as Code (IaC) with Terraform & Cloud Foundation Toolkit
Source: https://cloud.google.com/architecture/cloud-foundation-toolkit
Topics
Community Discussion
No community discussion yet for this question.