Chapter 4 of 4 · Google Cloud Associate Cloud Engineer

Configuring access and security

IAM policies, role types, custom roles, inheritance, service accounts, impersonation and workload identity.

  • 3topics
  • 13 minfast track
  • 20%of the exam

Topics in this chapter

Take them in order, or jump to the one you need.

  1. 1IAM Policies, Role Types and Custom RolesViewing and creating IAM allow policies, bindings and inheritance in the organization hierarchy, basic, predefined and custom…4 min
  2. 2Service AccountsCreating user-managed and Google-managed service accounts, granting minimum permissions, attaching them to resources, and…4 min
  3. 3Impersonation, Short-Lived Credentials and Workload IdentityService account impersonation, short-lived credentials, Workload Identity Federation for GKE, and Workload Identity Federation…5 min

About this chapter

What this chapter covers

This section is about controlling who and what can do things in Google Cloud. It is worth about 20 percent of the exam. It covers managing IAM (viewing and creating IAM policies, attaching roles with inheritance in the organization hierarchy, role types and custom roles) and managing service accounts (creating them, Google-managed service accounts, minimum permissions, assigning them to resources, managing their permissions, impersonation, short-lived credentials, GKE workloads and Workload Identity Federation).

The constant theme is least privilege: give exactly the access needed, to the right identity, at the right level, preferably without long-lived keys.

How the topics fit together

Principaluser, group, service accountRolebasic, predefined, customPolicy bindingon org, folder, project, resourceInherited downwardAccess
  • IAM policies, role types and custom roles covers allow policies, bindings, inheritance and the three role types.
  • Service accounts covers creating, assigning and managing service accounts with minimum permissions.
  • Impersonation, short-lived credentials and workload identity covers acting as a service account without keys, GKE workloads and Workload Identity Federation.
Exam tip

When an answer involves downloading a service account key, look for a keyless alternative first: attached service accounts, impersonation, Workload Identity Federation for GKE or Workload Identity Federation.

How to use these pages

Each topic page has the same shape, so you can skim for what you need.

  • What it is: the idea in plain words.
  • How it works: the mechanism, with examples, commands and tables.
  • What to remember for the exam: the facts to memorise and how questions are phrased.
  • Common mistakes: the classic traps.
  • Check yourself: three questions to test your understanding.

Ready for more practice?

The full Google Cloud Associate Cloud Engineer question bank has 661 questions, with timed practice exams and an explanation for every answer.

This study guide is independent and is not affiliated with, endorsed by, or sponsored by Google Cloud. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.