Professional Cloud Network Engineer Exam QuestionsBrowse all questions from this exam

Professional Cloud Network Engineer Exam - Question 75


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?

Show Answer
Correct Answer: C

The error message 'INVALID_ARGUMENT: Permission resourcemanager.projects.list is not valid' indicates that the permission resourcemanager.projects.list is not applicable for the role you are trying to create at the project level. This permission can only be added to custom roles at the organization level. To resolve the error, you should remove the resourcemanager.projects.list permission and try again.

Discussion

9 comments
Sign in to comment
cesar7816Option: C
Dec 13, 2020

Agree C, if you try doning the same you will get this These permissions can only be added to custom roles at the organization level; they have no effect at the project level or below. resourcemanager.projects.list

lukedj87Option: C
Nov 11, 2020

It's C. If you try from the console, you'll see that that role is not applicable to project-level custom roles

VidyasagarOption: C
Mar 23, 2021

C is correct

karmajuney
Jun 10, 2024

This may be the worst question I've ever seen

[Removed]Option: C
Nov 20, 2020

Ans - C

Mr_MIXER007Option: C
Oct 4, 2022

CCCCCCCC

desertlotus1211Option: C
Dec 29, 2021

Answer is C: https://cloud.google.com/iam/docs/understanding-custom-roles

kumarp6Option: C
Jan 4, 2022

Answer is : C

pk349Option: C
Jan 14, 2023

• C. Remove ***** the resourcemanager.projects.list permission, and try again. Method: projects.list Lists Projects that the caller has the resourcemanager.projects.get permission on and satisfy the specified filter. This method returns Projects in an unspecified order. This method is eventually consistent with project mutations; this means that a newly created project may not appear in the results or recent updates to an existing project may not be reflected in the results. To retrieve the latest state of a project, use the projects.get method.