Free AWS Certified Solutions Architect Associate SAA-C03 Practice Question
Using AWS Identity and Access Management (IAM) roles is more secure for EC2 instances to access AWS services than storing static IAM user credentials on the instance.
Using IAM roles for EC2 instances is the recommended best practice for providing AWS service access from applications running on EC2, as IAM roles provide temporary security credentials that are automatically rotated and do not require manual management. Storing static IAM user credentials on the instance is less secure because it risks exposing long-term credentials if the instance is compromised.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are IAM roles and how do they work?
Open an interactive chat with Bash
Why is using temporary credentials more secure than static IAM user credentials?
Open an interactive chat with Bash
What is the risk of storing static IAM user credentials on an EC2 instance?