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?
Suggested Answer: C
Get Premium Professional Cloud Network Engineer Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
11 comments · newest first
AL
Alesia
1 year ago
I thought you couldn't just remove permissions like that!
JE
Jennie
1 year ago
Adding permissions usually helps, but not sure about option D.
FL
Flo
1 year ago
Wait, isn't resourcemanager.projects.list a common permission?
SH
Sherly
1 year ago
I think option C makes sense here.
BR
Brandon
1 year ago
You need the right permissions to create roles.
WI
Wilda
1 year ago
I’m leaning towards option C, but I wonder if there’s a specific reason why that permission is causing the issue.
SH
Shawn
1 year ago
I think I practiced a similar question where adding permissions was the solution, but I can't recall which one.
SH
Shala
1 year ago
I remember something about permissions needing to be valid for the role, but I'm not sure if removing a permission is the right move.
KA
Kattie
1 year ago
This error seems familiar; I feel like I read that the resourcemanager.projects.list permission might not be necessary, but I’m not entirely confident.
LA
Lashandra
1 year ago
Hmm, I'm a bit confused by the wording here. I'll need to re-read the options to make sure I understand the differences.
TH
Thad
1 year ago
I've got a good feeling about option C. The ORDER BY clause matches the column names in the SELECT statement, so that should execute successfully.