D4: IAM Features & Policies
AWS Associate AWS Certified CloudOps Engineer – Associate exam practice questions · 11 flashcards
Question
What is an IAM password policy?
1 / 11
Tip: Space flips the card, ← / → navigate.
Show all 11 IAM Features & Policies practice questions and answers
- What is an IAM password policy?Account-level rules for IAM user password complexity, length, expiry and reuse.
- How do you enforce MFA for API calls?Policy condition aws:MultiFactorAuthPresent: true (deny actions without MFA).
- What is a resource-based policy?Policy attached to a resource (S3 bucket, KMS key, SQS queue) specifying which principals can access it.
- What are IAM policy conditions?Restrict when a policy applies, e.g. aws:SourceIp, aws:RequestedRegion, aws:PrincipalOrgID, tags.
- What is a permissions boundary?Maximum permissions an IAM user/role can have, even if identity policies allow more.
- Policy evaluation logic?Explicit deny > SCP/RCP/boundary/session limits > explicit allow; default is implicit deny.
- What is role trust policy?Defines who (principal) can assume the role.
- What is IAM federation?External identities (SAML/OIDC) assume IAM roles to get temporary credentials.
- What is ABAC?Attribute-based access control using tags on principals and resources.
- User gets AccessDenied though identity policy allows. Possible causes?Explicit deny elsewhere, SCP, permissions boundary, resource policy, or session policy.
- Cross-account S3 access requirements?Bucket policy allowing the other account + IAM policy in that account allowing access.