AWS IAM Explained: Users, Roles, and Policies for the Cloud Practitioner (CLF-C02)
IAM confuses more CLF-C02 candidates than any other AWS topic. Here is a plain-English guide to users, groups, roles, and policies, and why roles beat access keys.

AWS Identity and Access Management (IAM) is the single topic that trips up more AWS Certified Cloud Practitioner (CLF-C02) candidates than any other, and it is easy to see why. IAM sits inside the Security and Compliance domain, one of the two most heavily weighted areas of the exam, and it is built from a handful of terms — users, groups, roles, and policies — that sound similar but do very different jobs. Get the vocabulary straight and IAM becomes one of the most answerable parts of the whole exam. This guide teaches those pieces from the ground up, with the analogies and worked examples the foundational audience actually needs, so that when you sit the AWS Certified Cloud Practitioner exam the identity questions read as easy points rather than guesswork.
What IAM is and where it fits
Every action taken in Amazon Web Services — launching a server, reading a file in Amazon S3, viewing a bill — is a request that AWS must decide to allow or deny. IAM is the service that makes that decision. It handles two questions: authentication (are you who you say you are?) and authorization (are you allowed to do this?). A useful mental model is a corporate office building. IAM is the front desk plus the badge system: it checks your identity at the door, and your badge determines which floors and rooms you can enter. Importantly, IAM is a global, free service, and by default a brand-new identity in AWS can do nothing at all. Access is only ever granted, never assumed — a principle worth remembering when the exam describes a user who unexpectedly cannot perform an action.
The root user: powerful and rarely used
When you first create an AWS account, you sign in with the email address you registered — this is the root user, and it has unlimited, unrestricted access to everything, including billing and the ability to close the account. Because it is so powerful, AWS's guidance is blunt: lock it away. Enable multi-factor authentication (MFA) on it, do not create access keys for it, and do not use it for daily work. Instead, create individual IAM identities for the actual tasks. On the exam, if a scenario mentions using the root user for routine administration, that is almost always the wrong practice being described. Think of the root user as the master key to the building that you keep in a safe, not on your keyring.
Users, groups, and roles — the three identities
This is the distinction the CLF-C02 loves to test, so it is worth slowing down. An IAM user represents one person or one long-lived application that needs its own permanent credentials — a username and password for the console, or access keys for programmatic calls. If three people join your team, you create three users so that each has their own sign-in and their actions can be traced individually. You never share one login.
An IAM group is simply a container for users that makes permissions manageable at scale. Rather than attaching the same set of permissions to twelve individual developers, you create a "Developers" group, attach the permissions once, and drop every developer into it. Add a new hire and they inherit the group's access instantly; move someone to a new team and you change their group membership rather than rewriting their permissions. Groups cannot be nested, and a group is not an identity you can log in as — it is purely an administrative convenience. Picture it as a department in the org chart: everyone in Finance gets the Finance access, and HR manages the roster.
An IAM role is where most beginners get stuck, because a role is an identity that nobody owns permanently. A role is a set of permissions that can be temporarily assumed by whoever needs it, and when assumed it hands out short-lived, automatically-expiring credentials rather than a fixed password. The office analogy is a visitor badge on a lanyard by the door: it is not tied to one person, anyone authorized can pick it up for the duration of a task, and it stops working when they hand it back. Roles are how an Amazon EC2 instance gets permission to read from an S3 bucket, how an AWS Lambda function talks to a database, and how a user from one AWS account is granted temporary access to another. The key idea for the exam: use a role whenever a service, application, or temporary session needs permissions, rather than embedding a user's long-term access keys somewhere.
Policies: how permissions are actually written
Identities are only half the picture. What any of them can do is defined by policies — documents, written in JSON, that list which actions are allowed or denied on which resources. You do not need to write JSON by hand for CLF-C02, but you should recognize the structure: a policy states an effect (Allow or Deny), one or more actions (such as reading an object from S3), and the resources those actions apply to.
There are two flavors worth distinguishing. An identity-based policy attaches to a user, group, or role and says what that identity can do — "the Developers group may start and stop EC2 instances." A resource-based policy attaches directly to a resource, such as an S3 bucket, and says who may act on it — "this bucket may be read by that account." The two work together, and a helpful worked example is granting a role to an EC2 instance: you write an identity-based policy allowing S3 reads and attach it to the instance's role, and the instance can then read the bucket without any password ever being stored on the server. One more rule the exam rewards: an explicit Deny always wins. If any policy denies an action, no Allow anywhere can override it.
Least privilege and MFA: the habits the exam rewards
Two security principles run through every IAM question. The first is least privilege: grant only the permissions an identity genuinely needs, and nothing more. Because IAM starts everyone at zero, this is the natural default — you add specific permissions deliberately rather than handing out broad administrative rights and trimming later. The second is multi-factor authentication, which requires a second proof of identity (typically a code from a phone app) on top of the password, so that a stolen password alone cannot get in. Enabling MFA, especially on the root user and any privileged accounts, is one of the most frequently correct answers whenever an exam scenario asks how to strengthen sign-in security.
If you can explain, in your own words, why a role beats a long-lived access key, why groups make permissions manageable, and why the root user stays in the safe, you have covered the majority of what the AWS Certified Cloud Practitioner asks about identity. The remaining work is turning that understanding into fast recognition under time pressure, and that comes from answering questions rather than re-reading notes.
Turning understanding into a passing score
IAM concepts feel clear while you are reading and slippery the moment a question forces you to choose between a user and a role, or between an identity-based and a resource-based policy. That gap is exactly what practice closes. Working through CLF-C02 practice questions and then reviewing every miss with its explanation converts vague familiarity into the instant recognition the exam demands, and adaptive practice keeps steering you back toward Security and Compliance if that is where your answers wobble. When you want to confirm it has stuck, sit a full timed Cloud Practitioner exam simulation that mirrors the real 65-question, 90-minute format and scaled passing bar; the readiness tracking will show you when your scores are consistently clearing the mark on fresh questions. Learn IAM as a system rather than a list of terms, then prove it with the AWS Cloud Practitioner practice set on ExamStudyApp, and one of the exam's most feared topics becomes a reliable source of points.


