
Explanation:
The correct answer is B (roles/storage.admin) because it grants team members full control over buckets and objects, but only within the specified bucket when applied individually. This aligns with the principle of least privilege by not granting unnecessary permissions.
For more details, refer to the GCP documentation on Cloud Storage IAM Roles.
No comments yet.
To adhere to the principle of least privilege, which role should be assigned to team members for managing files and buckets in Cloud Storage?
A
roles/storage.objectCreator
B
roles/storage.admin
C
roles/owner
D
roles/storage.objectAdmin