ASSOCIATE-CLOUD-ENGINEER · Question #33
While working on a project, an application administrator has been given the responsibility of managing all resources. He wants to delegate the responsibility of managing the existing service accounts
The correct answer is A. Granting iam.serviceAccountUser to the administrator at the project level. The task is to delegate the responsibility of managing all current and future service accounts within a project to another administrator.
Question
Options
- AGranting iam.serviceAccountUser to the administrator at the project level
- BGranting iam.serviceProjectAccountUser to the administrator at the project level
- CGranting iam.serviceAccountUser to the administrator at the service account level
- DGranting iam.serviceProjectAccountUser to the administrator at the service account level
How the community answered
(31 responses)- A58% (18)
- B6% (2)
- C13% (4)
- D23% (7)
Why each option
The task is to delegate the responsibility of managing all current and future service accounts within a project to another administrator.
Granting the `roles/iam.serviceAccountUser` role at the project level provides the ability to use or impersonate any service account within that project, which is required for broad management duties involving service account utilization for all existing and future service accounts.
The role `iam.serviceProjectAccountUser` is not a standard, predefined Google Cloud IAM role, making this option invalid.
Granting `iam.serviceAccountUser` at the service account level would only allow management of that specific service account, not all existing and future ones within the project.
The role `iam.serviceProjectAccountUser` is not a standard, predefined Google Cloud IAM role, making this option invalid.
Concept tested: GCP IAM roles for service account management scope
Source: https://cloud.google.com/iam/docs/understanding-service-accounts#service_account_roles
Topics
Community Discussion
No community discussion yet for this question.