QuestionQ17

Configuring access and security

An external member of your team needs list access to compute images and disks in one of your projects. You want to follow Google-recommended practices when you grant the required permissions to this user. What should you do?

Explanation

Creating a custom role with only compute.disks.list and compute.images.list permissions follows the principle of least privilege, granting exactly the access needed. Basing a custom role on pre-defined roles (B, C) includes unnecessary additional permissions. Assigning Compute Storage Admin (D) grants excessive permissions beyond what the external user requires.

Community Discussion

No comments yet. Be the first to start the discussion!