nerdexam
Google

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.

Submitted by manish99· Mar 30, 2026Deploying and implementing a cloud solution

Question

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 teams with a solution that enables teams to deploy their infrastructure independently without having to know all implementation details of the company's required practices. What should you do?

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)
  • A
    15% (5)
  • B
    6% (2)
  • C
    9% (3)
  • D
    71% (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.

ACreate a service account per team, and grant the service account the Project Editor role. Ask the

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.

BProvide training for all engineering teams you work with to understand the company's required

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.

CConfigure organization policies to enforce your company's required practices. Ask the teams to

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.

DWrite Terraform modules for each component that are compliant with the company's requiredCorrect

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

#Terraform modules#infrastructure as code#compliance guardrails#self-service infrastructure

Community Discussion

No community discussion yet for this question.

Full ASSOCIATE-CLOUD-ENGINEER Practice