Recall & Review
beginner
What is an IAM policy binding in Google Cloud?
An IAM policy binding connects a role to one or more members, defining who has what permissions on a resource.
Click to reveal answer
beginner
What are the main components of an IAM policy binding?
The main components are: <br>1. Role - a set of permissions.<br>2. Members - users, groups, or service accounts.<br>3. Condition (optional) - a rule to limit when the binding applies.
Click to reveal answer
beginner
How do you specify a member in an IAM policy binding?
Members are specified by their type and identity, for example:<br>- user:email@example.com<br>- serviceAccount:my-sa@project.iam.gserviceaccount.com<br>- group:group@example.com
Click to reveal answer
intermediate
What is the purpose of a condition in an IAM policy binding?
A condition limits when the binding applies, based on attributes like request time or resource properties, adding extra security control.
Click to reveal answer
beginner
Why should you follow the principle of least privilege when creating IAM policy bindings?
To give only the minimum permissions needed, reducing the risk of accidental or malicious actions on your cloud resources.
Click to reveal answer
What does an IAM policy binding connect in Google Cloud?
✗ Incorrect
An IAM policy binding connects a role (permissions) to members (users, groups, service accounts).
Which of the following is NOT a valid member type in an IAM policy binding?
✗ Incorrect
Device is not a valid member type; valid types include user, serviceAccount, group, and domain.
What is the role of a condition in an IAM policy binding?
✗ Incorrect
Conditions limit when the binding applies, adding extra control based on rules.
Which principle helps reduce risk when assigning IAM roles?
✗ Incorrect
The principle of least privilege means giving only the permissions needed, reducing risk.
In an IAM policy binding, what does the 'role' represent?
✗ Incorrect
A role is a collection of permissions that define what actions members can perform.
Explain what an IAM policy binding is and its main components.
Think about who gets what permissions and under what conditions.
You got /4 concepts.
Describe why using conditions in IAM policy bindings can improve security.
Consider how rules can restrict access based on time or resource attributes.
You got /4 concepts.