What is Cloud IAM and what are its three core elements?
Answer: Cloud IAM controls who can do what on which resource. The three elements are the principal (a user, group, service account, or domain), the role (a collection of permissions), and the resource the binding applies to. A policy is the set of bindings attached to a resource, and it is evaluated together with everything inherited from above in the hierarchy.
Why interviewers ask this: The phrase interviewers want is "you never grant permissions directly — you grant roles, which are bundles of permissions". Permissions follow the service.resource.verb format such as compute.instances.delete, and knowing that format lets you reason about custom roles.
