Flashcardsfor IT Certifications

D4: Role Types & Custom Roles

Google Cloud Associate Cloud Engineer exam practice questions · 13 flashcards

Question
What are the three IAM role types?
1 / 13

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 13 Role Types & Custom Roles practice questions and answers
  1. What are the three IAM role types?
    Basic, predefined and custom.
  2. What are basic roles?
    Owner, Editor and Viewer: broad, project-wide; avoid in production.
  3. What are predefined roles?
    Google-managed, service-specific roles (e.g. roles/storage.objectViewer).
  4. What are custom roles?
    User-defined roles with a chosen list of permissions.
  5. Where can custom roles be created?
    At organization or project level, not folders.
  6. How do you create a custom role?
    gcloud iam roles create ROLE_ID --project=P --permissions=p1,p2 (or --file=role.yaml).
  7. How do you copy an existing role?
    gcloud iam roles copy --source=ROLE --destination=NEW --dest-project=P.
  8. Custom role launch stages?
    ALPHA, BETA, GA, DEPRECATED, DISABLED.
  9. Which role manages custom roles?
    Role Administrator (roles/iam.roleAdmin) or Organization Role Administrator.
  10. Downside of custom roles?
    You must maintain them as Google adds or changes permissions.
  11. When use a custom role?
    When no predefined role fits least-privilege needs.
  12. What does the Viewer role allow?
    Read-only access to most resources.
  13. Owner vs Editor?
    Owner also manages IAM and billing for the project.