Which of the following statements correctly describes the basic roles in Google Cloud Platform?
Think about roles that apply broadly across a whole project.
Basic roles are the broadest roles in GCP: Owner, Editor, and Viewer. They apply to all resources in a project and grant wide-ranging permissions.
What is the main purpose of predefined roles in Google Cloud Platform?
Think about roles designed for specific services or tasks.
Predefined roles provide fine-grained permissions for specific GCP services or tasks, offering more control than basic roles.
You are designing access control for a GCP project. You want to follow the principle of least privilege and allow users to perform only necessary actions on Compute Engine and Cloud Storage. Which role types should you assign?
Think about limiting permissions to only what is needed.
Using predefined roles specific to services allows you to grant only the permissions users need, following the least privilege principle.
Which statement about custom roles in GCP is true?
Consider how custom roles help tailor permissions.
Custom roles let you pick and combine permissions from predefined roles or individual permissions to create a role that fits your exact needs.
If a user is assigned both a predefined role with read-only permissions on Cloud Storage and a custom role with write permissions on the same service, what will be the user's effective permissions?
Think about how permissions from multiple roles combine.
In GCP, permissions from multiple roles assigned to a user are combined, so the user gets all permissions granted by any role.