Cloud concept / Identity and access management
Least privilege and IAM policies
Grant only the actions, resources, and conditions needed for a specific job.
How it works
An IAM user is a persistent identity; IAM groups organize users for common permissions; roles provide assumable, temporary sessions. AWS-managed policies are maintained by AWS, customer-managed policies are reusable and tailored by you, and inline policies belong to one identity. An explicit deny overrides an allow.
Exam keywords
Picture this
A delivery badge opens one loading door during business hours, not the whole building.
Start narrow; widen only with evidence.
When to use it
An invoice processor needs to read one bucket prefix and must not delete files or access other prefixes.
When not to use it
Do not attach AdministratorAccess to make a task work. A policy grants permissions; it is not itself a sign-in credential.
On the exam
AWS Certified Cloud Practitioner (CLF-C02) · Domain 2: Security & Compliance · Task 2.3