Google Cloud Associate Cloud Engineer — Question 194

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?

Answer options

Correct answer: A

Explanation

The correct answer is A because creating a custom role allows you to include only the necessary permissions, such as compute.disks.list and compute.images.list, while adhering to the principle of least privilege. Option B is incorrect as it does not include the required compute.images.list permission, and options C and D grant broader permissions than needed, which goes against best practices.