ASSOCIATE-CLOUD-ENGINEER · Question #377
You assist different engineering teams in deploying their infrastructure on Google Cloud. Your company has defined certain practices required for all workloads. You need to provide the engineering tea
The correct answer is D. Write Terraform modules for each component that are compliant with the company's required. To enable engineering teams to independently deploy compliant infrastructure without needing to know all implementation details, create standardized Terraform modules for each component that embed the company's required practices.
Question
Options
- ACreate a service account per team, and grant the service account the Project Editor role. Ask the
- BProvide training for all engineering teams you work with to understand the company's required
- CConfigure organization policies to enforce your company's required practices. Ask the teams to
- DWrite Terraform modules for each component that are compliant with the company's required
How the community answered
(34 responses)- A15% (5)
- B6% (2)
- C9% (3)
- D71% (24)
Why each option
To enable engineering teams to independently deploy compliant infrastructure without needing to know all implementation details, create standardized Terraform modules for each component that embed the company's required practices.
Granting the Project Editor role provides overly broad permissions, violating the principle of least privilege, and does not enforce specific company practices or help teams deploy compliant infrastructure without knowing details.
While training is beneficial, it does not provide an automated solution for enforcing compliance or abstracting implementation details, and teams would still need to manually apply practices.
Organization policies enforce constraints at the organizational level (e.g., allowed resource types) but do not provide a mechanism for teams to *deploy* compliant infrastructure components without understanding *how* to build them compliantly.
Writing Terraform modules allows you to encapsulate the company's required practices, security configurations, and best practices into reusable and version-controlled infrastructure templates. Engineering teams can then consume these modules to deploy compliant infrastructure independently, abstracting away complex implementation details and ensuring consistency across all workloads.
Concept tested: Infrastructure as Code (Terraform modules) for standardization
Source: https://developer.hashicorp.com/terraform/language/modules
Topics
Community Discussion
No community discussion yet for this question.