Easy1 markMultiple Choice

GCP ACE · Question 41 · Domain 5.1: Managing Identity and Access Management

In Google Cloud IAM, what is the fundamental difference between a primitive role (like Editor) and a predefined role (like Compute Instance Admin)?

Answer options:

A.

Primitive roles can only be assigned to Service Accounts.

B.

Primitive roles grant broad permissions across all services in a project, while predefined roles grant granular permissions for specific services.

C.

Predefined roles are created by users, while primitive roles are created by Google.

D.

Primitive roles are free, while predefined roles incur a monthly charge.

How to approach this question

Understand the IAM role hierarchy: Primitive (broad), Predefined (granular), Custom (user-defined).

Full Answer

B.Primitive roles grant broad permissions across all services in a project, while predefined roles grant granular permissions for specific services.✓ Correct
Primitive roles (Owner, Editor, Viewer) existed before IAM and grant broad access to almost all resources in a project. Predefined roles are created and maintained by Google and provide granular access to specific services (e.g., `roles/compute.instanceAdmin` only grants access to Compute Engine). Best practice is to use predefined roles.

Common mistakes

Confusing predefined roles with custom roles.

Practice the full GCP Associate Cloud Engineer Practice Exam 1

50 questions · hints · full answers · grading

More questions from this exam