Your team needs to grant a newly hired developer access to manage Compute Engine virtual machine instances (create, start, stop, and delete) within a specific Google Cloud project. The developer must not be granted permissions to modify project firewall rules, VPC networks, or IAM policies. Following the principle of least privilege, which IAM role should you grant to the developer at the project level?
- Compute Instance Admin (v1) (roles/compute.instanceAdmin.v1)Cevap
- BEditor (roles/editor)
- CCompute Instance Admin (v1) (roles/compute.instanceAdmin.v1) bound at the Organization level
- DOwner (roles/owner)
Cevap
Grant the predefined Compute Instance Admin (v1) role (roles/compute.instanceAdmin.v1) at the project level.
The Compute Instance Admin (v1) role (roles/compute.instanceAdmin.v1) grants full control over Compute Engine instances while omitting permissions for networking, security, and other GCP services, satisfying the principle of least privilege.
Adım Adım Çözüm
Anahtar Kavram
Least Privilege and IAM Predefined Roles
Tahmini Süre:1m 0s