IAM (Identity and Access Management)
A Beginner-Friendly and Exam-Ready Guide to Securing AWS
IAM (Identity and Access Management)
A Beginner-Friendly and Exam-Ready Guide to Securing AWS
If AWS were a building, IAM would be the security desk — deciding who gets in, what doors they can open, and under what conditions.
Whether you’re just starting with AWS or preparing for certification exams, IAM (Identity and Access Management) is one of the most important and most tested AWS services.
This post explains IAM from first principles and then layers in exam-focused insights, best practices, and common pitfalls.
What Is IAM?
AWS Identity and Access Management (IAM) is the AWS service that enables you to:
- Securely manage identities (users, roles, services)
- Define permissions for AWS resources
- Control authentication and authorization
- Enforce security best practices like least privilege and MFA
IAM is global (not region-specific) and is foundational to everything you do in AWS.
The Three Core IAM Questions (Exam Favorite)
IAM always answers these three questions:
- Who is making the request? (Authentication)
- What are they allowed to do? (Authorization)
- Under what conditions is access allowed? (Context)
If you understand these three, most IAM exam questions become easier.
IAM Identities
IAM Users
- Represent people or applications
- Have long-term credentials (passwords, access keys)
- Best for human access (with MFA)
Exam tip: AWS recommends minimizing IAM users and preferring roles.
IAM Groups
- Collections of IAM users
- Policies are attached to groups, not directly to users
- Simplifies permission management
IAM Roles (Very Important for Exams)
- No long-term credentials
- Assumed temporarily
- Used by:
- AWS services (EC2, Lambda, ECS)
- Cross-account access
- Federated users
Exam favorite:
If temporary access or service-to-service access is required → IAM Role
IAM Policies
Policies define what actions are allowed or denied.
Types of Policies
- Managed policies (AWS-managed or customer-managed)
- Inline policies (embedded directly in an identity)
Policy Structure (Conceptual)
- Effect: Allow or Deny
- Action: What can be done
- Resource: On which resource
- Condition: Under what circumstances
Exam tip: An explicit deny always wins, even if an allow exists.
Authentication vs Authorization (Common Confusion)

IAM policies do not authenticate users — they only control access.
IAM MFA (Multi-Factor Authentication)
MFA adds a second layer of security:
- Password (something you know)
- One-time code or device (something you have)
Where MFA Is Used
- Root account (mandatory best practice)
- Admin users
- Privileged roles
- Sensitive operations
Exam favorite:
Root account security = Enable MFA
IAM and Programmatic Access
IAM supports:
- Console access (username/password)
- Programmatic access (access keys)
- Temporary access (roles + STS)
AWS Security Token Service (STS) provides:
- Temporary credentials
- Automatic expiration
- Optional MFA enforcement
Exam clue: Temporary credentials → STS + IAM Role
IAM Best Practices (Highly Testable)
- Enable MFA on the root account
- Use roles instead of access keys
- Apply least privilege
- Rotate credentials regularly
- Use groups for permission management
- Never share credentials
- Never hardcode access keys
Common IAM Exam Scenarios
Look for IAM in questions involving:
- Securing AWS accounts
- Preventing unauthorized access
- Cross-account access
- Service-to-service permissions
- Compliance and auditing
- Temporary or time-bound access
Keywords that signal IAM:
Who, access, permissions, authentication, authorization, role, policy, MFA
IAM vs Other AWS Security Services (Exam Context)

Exam tip: If the question is about who can access, IAM is usually the answer.
Key Takeaways
- IAM is the foundation of AWS security
- It controls who can access what and how
- Roles and temporary credentials are preferred
- MFA significantly reduces risk
- IAM is heavily tested in AWS exams
Final Thought
If you master IAM, you master AWS security.
Almost every AWS architecture, best practice, and exam scenario assumes a solid understanding of IAM. Invest time here — it pays off everywhere else.
메타데이터
- post_id
- abd2e8be40b9
- slug
- iam-identity-and-access-management-abd2e8be40b9
- url
- https://medium.com/aws-cloud-school/iam-identity-and-access-management-abd2e8be40b9
- canonical_url
- https://medium.com/aws-cloud-school/iam-identity-and-access-management-abd2e8be40b9
- author_url
- https://medium.com/@nehag16
- status
- ok
- fetched_at
- 2026-06-15 20:49:13