Google Cloud Professional Cloud Network Engineer — Question 73

You are using the gcloud command line tool to create a new custom role in a project by coping a predefined role. You receive this error message:
INVALID_ARGUMENT: Permission resourcemanager.projects.list is not valid
What should you do?

Answer options

Correct answer: C

Explanation

The correct answer is C because the error indicates that the resourcemanager.projects.list permission is not valid for the custom role you are trying to create. Removing this invalid permission allows the role creation to proceed. The other options suggest adding permissions or changing the role name, which do not address the specific issue of the invalid permission.