D2: IAM Users, Groups, Roles & Policies
AWS Foundational AWS Certified Cloud Practitioner exam practice questions · 11 flashcards
Question
What is AWS IAM?
1 / 11
Tip: Space flips the card, ← / → navigate.
Show all 11 IAM Users, Groups, Roles & Policies practice questions and answers
- What is AWS IAM?Service to securely control access to AWS resources: authentication and authorization. Global and free.
- What is an IAM user?An identity for a person or application with long-term credentials.
- What is an IAM group?A collection of users that share permissions; groups can't be nested.
- What is an IAM role?An identity with temporary credentials assumed by users, services or other accounts.
- What is an IAM policy?A JSON document defining allowed or denied actions on resources.
- AWS managed vs customer managed policies?AWS managed: created/maintained by AWS. Customer managed: you create and control for precise least-privilege.
- What is an inline policy?A policy embedded directly in a single user, group or role.
- What is the principle of least privilege?Grant only the permissions required to perform a task.
- Best practice for granting permissions to many users?Attach policies to groups, then add users to groups.
- How should an EC2 application access S3?Attach an IAM role (instance profile) — never store access keys on the instance.
- Explicit deny vs allow?An explicit deny always overrides any allow.