A telecommunications enterprise organizes its Google Cloud resource hierarchy using an Organization node containing a parent folder named Telematics-Platform, which holds two sub-folders: Connected-Fleet-Prod and Connected-Fleet-Staging. External operational contractors require permissions to deploy Compute Engine instances and configure instance templates inside projects under Connected-Fleet-Prod only. The instances must run using specific existing service accounts. The security policy mandates strict adherence to the principle of least privilege, preventing contractors from modifying service account identity policies or accessing staging workloads. How should the principal cloud architect grant the required permissions?
- Grant the Compute Instance Admin (v1) role to the contractors' Google group on the Connected-Fleet-Prod folder, and grant the Service Account User role to the group on the specific workload service accounts.Cevap
- BGrant the Editor primitive role to the contractors' Google group on the Telematics-Platform parent folder.
- CGrant the Compute Instance Admin (v1) role and the Service Account Admin role to the contractors' Google group on the Connected-Fleet-Prod folder.
- DGrant the Compute Instance Admin (v1) role to the contractors' Google group on the Connected-Fleet-Prod folder and configure a VPC Service Controls perimeter around the folder without granting IAM service account permissions.
Cevap
Grant the Compute Instance Admin (v1) role to the contractors' Google group on the Connected-Fleet-Prod folder, and grant the Service Account User role to the group on the specific workload service accounts.
The solution requiring Compute Instance Admin (v1) at the Connected-Fleet-Prod folder level and Service Account User on specific target service accounts adheres strictly to least privilege. Scoping the compute role at the specific sub-folder prevents access to Connected-Fleet-Staging, while granting Service Account User permits contractors to launch instances under the workload identity without conferring administrative management over the service accounts.
Adım Adım Çözüm
Anahtar Kavram
Resource Hierarchy Scoping and Service Account User Authorization
Tahmini Süre:2m 0s