
Answer-first summary for fast verification
Answer: Employ the Cloud Foundation Toolkit (CFT) to create a universal deployment template for all environments, deploying with Terraform.
Option D is the correct choice because the Cloud Foundation Toolkit (CFT) offers templates based on Google Cloud's best practices, facilitating automated environment creation. This approach ensures consistency across development, test, and production environments, simplifies management, and minimizes errors. Options A, B, and C are less optimal due to their potential for inconsistency, complexity, and increased manual effort. For more details, visit [Cloud Foundation Toolkit](https://cloud.google.com/foundation-toolkit).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Your team is developing a new user-facing photo editing application on GCP, which will be deployed across three distinct environments: development, test, and production. What is the best approach to deploy and manage these environments to maintain consistency?
A
Create separate Terraform configurations for each environment and use them for repeated deployments, with periodic template reconciliation.
B
Utilize a Cloud Shell script with gcloud commands to deploy the environments.
C
Develop a single Terraform configuration for all environments, parameterizing the differences between them.
D
Employ the Cloud Foundation Toolkit (CFT) to create a universal deployment template for all environments, deploying with Terraform.