You need to allow a team of developers to enable and disable Google Cloud service APIs within a specific project. Following the principle of least privilege, you must avoid granting unnecessary administrative permissions over other project resources. Which IAM role should you grant to the developers?
- Service Usage Admin (roles/serviceusage.serviceUsageAdmin)Cevap
- BOwner (roles/owner)
- CQuota Administrator (roles/servicemanagement.quotaAdmin)
- DOrganization Administrator (roles/resourcemanager.organizationAdmin)
Cevap
The Service Usage Admin role (roles/serviceusage.serviceUsageAdmin) should be assigned because it grants permissions to enable and disable Cloud APIs following least privilege.
The Service Usage Admin role (roles/serviceusage.serviceUsageAdmin) contains permissions to administer service usage, including enabling and disabling Google Cloud APIs within a project, satisfying the minimum required privileges requirement.
Adım Adım Çözüm
Anahtar Kavram
IAM Roles for Enabling and Managing Cloud Service APIs