Skip to main content
InterviewHubPRO
Section Overview
Q2

Question 2 of 50

Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

4%
GCP Cloud Architecture (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

What are the types of IAM Roles in GCP (Primitive, Predefined, Custom)?

junior LevelgcpBasic

In Simple Words:

  • Primitive (Basic) Roles (Legacy): Viewer, Editor, and Owner. Too broad and dangerous for production (grant access to almost all services in a project).
  • Predefined Roles (Best Practice): Granular, service-specific roles created and maintained by Google (e.g. roles/storage.objectViewer, roles/spanner.databaseUser).
  • Custom Roles: Tailored roles created by defining exact permission sets (e.g. resourcemanager.projects.get, compute.instances.start) to satisfy strict Least Privilege requirements.