A retail company is designing its access management strategy on AWS. The company needs to configure access for its application developers and an application running on an Amazon EC2 instance. Which of the following actions follow AWS Identity and Access Management (IAM) best practices? (Select TWO.)
- Organize developer IAM users into an IAM group and attach permissions policies directly to the group.Answer
- Attach an IAM role to the Amazon EC2 instance to grant the application temporary credentials for accessing other AWS resources.Answer
- CStore permanent IAM access keys in the application's configuration files on the EC2 instance.
- DShare the AWS account root user credentials with the lead developers to simplify administrative tasks.
- ERely on AWS to manage and rotate IAM user access keys under the Shared Responsibility Model.
Answer
Organizing developer IAM users into an IAM group and attaching permissions to the group, and attaching an IAM role to the Amazon EC2 instance to grant the application temporary credentials.
Organizing developer IAM users into an IAM group and attaching policies to the group makes permission management efficient and consistent. Attaching an IAM role to the Amazon EC2 instance ensures the application uses temporary, secure credentials rather than hardcoded secrets.
Step-by-Step Solution
Key Concept
AWS Identity and Access Management (IAM) Best Practices