- Home
- All questions
- Question 8
AWS Certified Solutions Architect study material · question 8 of 500
An application running on an EC2 instance needs to read from S3. Which approach follows AWS security guidance?
Show the answer
Answer: A. Attach an IAM role to the instance so the SDK collects temporary credentials
AWS delivers a role's temporary credentials to the instance and the SDK finds them, so no long-lived key is stored with the application.
Source: Security best practices in IAM (Amazon Web Services) — Require workloads to use temporary credentials with IAM roles