A global conglomerate wants to manage their GCP infrastructure using Terraform but wants to ensure that no developer can bypass the Terraform process and make manual changes in the console. How should they approach this?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Only grant 'Owner' or 'Editor' roles to the Terraform Service Account; all humans get 'Viewer' roles

The 'Principle of Least Privilege' applied to people (humans) vs automated service accounts is the core of infrastructure-as-code governance....

๐Ÿ“‹Part of Professional Cloud Architect ยท GCP Certification Practice
Real Exam ScenarioCloud IAM

A global conglomerate wants to manage their GCP infrastructure using Terraform but wants to ensure that no developer can bypass the Terraform process and make manual changes in the console. How should they approach this?

โœ“ Correct Answer & ExplanationCloud IAM

Correct Answer

Only grant 'Owner' or 'Editor' roles to the Terraform Service Account; all humans get 'Viewer' roles

Why This Answer Is Correct

The 'Principle of Least Privilege' applied to people (humans) vs automated service accounts is the core of infrastructure-as-code governance.

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of Cloud IAM โ€” a core concept tested in Professional Cloud Architect. Understanding Cloud IAM is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.