Security & ComplianceQuestion 51 of 100

Which statement best distinguishes an IAM user from an IAM role?

a.A role always has a permanent password, while a user never does
b.A user represents a specific identity with long-term credentials, while a role is assumed temporarily by trusted entities
c.Roles can only be used by AWS employees
d.Users cannot be assigned any permissions

Explanation

An IAM user is a persistent identity with its own long-term credentials, whereas an IAM role is assumed temporarily and provides short-term credentials to whoever or whatever assumes it. Roles are ideal for granting access to applications, services, or federated users.

Practice all 100 questions free — no signup required.

Related questions on this topic

Last reviewed: · editorial process

PrepPass Editorial Team · Verified against AWS Certified Cloud Practitioner (CLF-C02) · How we review
Report