0
0
GCPcloud~5 mins

Custom roles creation in GCP - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a custom role in Google Cloud Platform?
A custom role is a set of permissions that you create to fit your specific needs, allowing you to control access more precisely than predefined roles.
Click to reveal answer
beginner
Which GCP service is used to create and manage custom roles?
The Identity and Access Management (IAM) service is used to create and manage custom roles in GCP.
Click to reveal answer
intermediate
What are the three main components you define when creating a custom role?
You define the role ID, title, description, and the list of permissions that the role grants.
Click to reveal answer
beginner
True or False: Custom roles can be created at the project, folder, or organization level in GCP.
True. Custom roles can be created at different levels to control scope and access.
Click to reveal answer
intermediate
Why should you avoid granting overly broad permissions in a custom role?
Granting broad permissions can lead to security risks by giving users more access than needed. It's best to follow the principle of least privilege.
Click to reveal answer
What is the first step when creating a custom role in GCP?
ACreate a role ID and title
BAssign the role to a user
CDefine the list of permissions
DEnable billing for the project
Which GCP IAM level allows you to create a custom role that applies to all projects in an organization?
AProject level
BFolder level
COrganization level
DBilling account level
What is a key benefit of using custom roles instead of predefined roles?
AThey are free to use
BThey automatically update with new permissions
CThey require no permissions to create
DThey allow precise control over permissions granted
Which of the following is NOT a valid component of a custom role?
ABilling account number
BRole description
CRole ID
DPermissions list
What principle should you follow when assigning permissions in a custom role?
AGrant all permissions to simplify management
BGrant the least privilege necessary
CGrant permissions based on user preference
DGrant permissions only to admins
Explain the process and key elements involved in creating a custom role in GCP.
Think about what you need to define and where you create the role.
You got /6 concepts.
    Why is it important to use custom roles instead of predefined roles in some cases?
    Consider security and access needs.
    You got /5 concepts.