
Answer-first summary for fast verification
Answer: Create a single Shared VPC and attach each Google Cloud project as a service project.
The requirements specify the need for individual Google Cloud projects for each internal project, with the ability to delete them upon completion, and centralized management. Option B, creating a single Shared VPC and attaching each Google Cloud project as a service project, meets these requirements by allowing each internal project to have its own project (service project) under a centralized network (Shared VPC). This setup facilitates easy deletion of service projects without affecting the Shared VPC, supports centralized management, and ensures the Terraform code is reusable. Options A and C do not provide centralized network management, and option D suggests creating a Shared VPC for each internal project, which contradicts the requirement for centralized management and simplicity.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are designing a Google Cloud infrastructure deployment using Terraform with the following requirements:
• Each internal team project must correspond to a separate Google Cloud project
• Infrastructure must be automatically removed when an internal project is completed
• Each internal project must have a dedicated Google Cloud project owner
• The solution must support 10-100 concurrent projects
How should you structure your Terraform implementation to ensure simple deployment, code reusability, and centralized management?
A
Create a single project and single VPC for each internal project.
B
Create a single Shared VPC and attach each Google Cloud project as a service project.
C
Create a single project and additional VPCs for each internal project.
D
Create a Shared VPC and service project for each internal project.
No comments yet.