D1: IAM Conditions & Deny Policies
Google Cloud Professional Cloud Security Engineer exam practice questions · 10 flashcards
Question
What are IAM conditions?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 IAM Conditions & Deny Policies practice questions and answers
- What are IAM conditions?CEL expressions restricting when a role binding applies.
- Condition attributes?Resource name/type, request time, tags and more.
- Example IAM condition?Grant access only until a date or only to resources with a tag.
- What are IAM deny policies?Rules that deny permissions to principals regardless of allow policies.
- Deny vs allow evaluation?Deny policies are evaluated first and override allows.
- Where can deny policies attach?Organization, folder or project.
- Deny policy exceptions?Exception principals excluded from the deny.
- Example deny use?Prevent anyone except a security group from deleting projects.
- Can deny policies use conditions?Yes, e.g. based on resource tags.
- Why use tags with conditions?Scalable, attribute-based access control.