Skip to content

AWS Interview Questions & Answers

Real questions asked in AWS Cloud, DevOps, and Solutions Architect interviews — IAM, EC2, S3, VPC, RDS, CloudFront, and cost/architecture tradeoffs.

Interview Prep

All 20 Questions

An IAM user represents a permanent identity (a person or application) with its own long-term credentials (password and/or access keys). An IAM role has no long-term credentials — it's assumed temporarily by a user, an AWS service (like an EC2 instance or Lambda function), or an external identity, and grants short-lived, auto-rotating credentials via STS. Roles are the recommended way to grant an EC2 instance or Lambda function permissions, instead of embedding a user's access keys in code.