nerdexam
Google

PROFESSIONAL-CLOUD-NETWORK-ENGINEER · Question #90

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…

The correct answer is C. Remove the resourcemanager.projects.list permission, and try again. 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 https://cloud.google.com/iam/docs/understanding-custom-roles

Submitted by katya_ua· Apr 18, 2026Implementing network security

Question

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?

Options

  • AAdd the resourcemanager.projects.get permission, and try again.
  • BTry again with a different role with a new name but the same permissions.
  • CRemove the resourcemanager.projects.list permission, and try again.
  • DAdd the resourcemanager.projects.setIamPolicy permission, and try again.

How the community answered

(25 responses)
  • A
    16% (4)
  • B
    4% (1)
  • C
    72% (18)
  • D
    8% (2)

Explanation

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 https://cloud.google.com/iam/docs/understanding-custom-roles

Topics

#IAM Custom Roles#gcloud CLI#Permissions#Error Handling

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-NETWORK-ENGINEER Practice