All jobs / Backend developer / Deployment Basics

Backend developer interview question · 0–1 years

What is the difference between an IAM user and an IAM role?

The strongest answer

A user is a permanent identity with long-lived credentials for a person; a role is a set of permissions any trusted identity — a service, a machine, a person — assumes temporarily, and workloads should use roles rather than keys

Why it works

Exactly. Temporary credentials via roles are why you never bake access keys into a server.

What a good answer covers

Answers that fall short

Who gets asked this

More Deployment Basics questions