SAA-C03 ยท Cloud foundations and IAM basics
IAM policies, evaluation logic and least privilege
Identity-based policy structure (Effect, Action, Resource, Condition), groups, evaluation logic with explicit deny, permissions boundaries and least privilege.
Key points
- Identity-based policy: JSON on a user, group or role.
- Statement: Effect (Allow or Deny), Action (s3:GetObject), Resource (ARNs), optional Condition.
- Implicit deny first; Allow opens access; explicit Deny always wins.
- Permissions boundary: managed policy on a user or role, upper limit; access = intersection with identity policies; grants nothing itself.
- Least privilege: only the actions and resources needed.
Source: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html
Practice questions
Which IAM policy element lists the API operations a statement allows or denies, for example s3:PutObject?
- Effect
- Action
- Resource
- Condition
Show answer
Answer: B. Action
Action names the operations. Effect only says Allow or Deny, Resource names the ARNs the statement applies to, and Condition adds circumstances under which it applies.
Which statements about IAM permissions boundaries are true?
- It sets the maximum permissions for an IAM user or role
- It does not grant any permissions by itself
- Effective access is the intersection with identity-based policies
- It can be set on an IAM group to cap all its members
- An Allow in the boundary overrides an explicit Deny elsewhere
Show answer
Answer: A. It sets the maximum permissions for an IAM user or role, B. It does not grant any permissions by itself, C. Effective access is the intersection with identity-based policies
A boundary is a managed policy set on a user or role that caps its maximum permissions; it grants nothing on its own, and effective permissions are the intersection with the identity-based policies. Boundaries are not set on groups, and they cannot cancel an explicit Deny, which always wins.
If no policy mentions an action at all, an IAM user in the same account is allowed to perform it by default.
Show answer
Answer: False
False. Requests start from an implicit deny. An IAM principal can do only what some applicable policy explicitly allows, and an explicit Deny removes even that.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
