Original study notes for cloud certification exams — Google Cloud first, more clouds in build.

Cloud IAM Study Notes

Cloud IAM is Google Cloud's identity and access management system that controls who can do what on which resource. Every API call is checked against an IAM policy before it is allowed, making IAM the foundation of security for all Google Cloud services.

Exam tip: When an exam scenario asks for the minimal permission change, choose the predefined service role at the lowest resource level that solves the problem.

Key facts

What the exam expects you to know

Cloud IAM vs Organization Policy: when to use which

Use IAM when the question is about who can perform an action: it grants or denies permissions to specific identities on specific resources. Use Organization Policy when the question is about what is allowed at all in the organization, regardless of who asks, such as requiring OS Login or blocking public IPs. IAM answers who and what role, while Organization Policy sets guardrails that even administrators cannot override with a role grant. On the exam, if a user has a role but is still blocked by a constraint, the answer involves Organization Policy, not a missing IAM binding. See also the Organization Policy notes.

Useful gcloud commands

gcloud projects add-iam-policy-binding PROJECT_ID --member=user:alice@example.com --role=roles/storage.objectViewer
gcloud projects get-iam-policy PROJECT_ID
gcloud projects remove-iam-policy-binding PROJECT_ID --member=user:alice@example.com --role=roles/storage.objectViewer
gcloud iam roles describe roles/storage.objectViewer

Common exam traps

Frequently asked questions

What is the difference between a role and a policy in IAM?

A role is a named collection of permissions, such as roles/storage.objectViewer, and it has no effect until it is bound to a member. A policy is the object attached to a resource that contains bindings linking members to roles. You grant access by editing the policy, not by editing the role itself.

Can IAM explicitly deny access?

Yes, IAM deny policies let you block specific principals from using specific permissions even if an allow policy grants them. Deny policies are evaluated before allow policies. They are useful for guardrails, such as preventing most users from deleting protected resources, with narrow exceptions for a break-glass administrator group.

Why use groups instead of individual members in bindings?

Binding a Google Group means you manage access by changing group membership rather than editing IAM policies in many projects. Joining or leaving the group updates access everywhere at once. This reduces errors, simplifies auditing, and is the approach Google recommends for teams and for exam scenarios about onboarding staff.

Study aid disclaimer: Cloud Cert Notes is an independent educational study aid. It is not affiliated with, endorsed by, or sponsored by Google, Microsoft, Amazon, Oracle, or Alibaba. Google Cloud, Associate Cloud Engineer, and Cloud Digital Leader are trademarks of Google LLC; all other certification names and product names are trademarks of their respective owners. Always confirm service details against the official provider documentation before sitting an exam.