GCDL.IV · Cloud Digital Leader practice question
A company needs to grant a user the ability to view compute instances in their Google Cloud project. Which component of IAM is primarily used to define *what* actions that user is permitted to perform on the resources?
Check answer and explanation
Correct answer: The role, which bundles specific permissions into a collection that can be assigned to users or service accounts.
Explanation
Roles in IAM bundle a set of specific permissions (like 'viewer' or 'storage.objects.get'). Assigning a role to a principal (like a user) dictates the set of allowed actions on the resources.
Common trap
A candidate might confuse the resource (the compute instance) with the mechanism that controls access, or they might confuse the role with the identity (the user).
Source: Identity and Access Management (IAM) overview - Google Cloud
Checked against the cited text on 2026-11-27.