A retail company is migrating its inventory management system to AWS. The system runs on Amazon EC2 instances and requires permission to write to an Amazon DynamoDB table. Additionally, a team of developers requires access to perform administrative tasks. Which of the following actions represent AWS-recommended security practices for managing access in this scenario? (Select TWO.)
- Configure an IAM role with permissions to access DynamoDB and associate it with the EC2 instances.Answer
- Organize the developers into an IAM user group and attach policies directly to the group rather than to individual users.Answer
- CShare the AWS account root user credentials with the lead developer to perform administrative tasks.
- DEmbed long-term AWS access keys for an IAM user inside the EC2 application configuration files to access the DynamoDB table.
- ERequest that AWS Support configures the permissions and manages user credentials for the developers.
Answer
The correct practices are configuring an IAM role for the EC2 instances to access the database, and organizing developers into an IAM user group with attached policies.
The correct practices are configuring an IAM role with the appropriate permissions and associating it with the EC2 instances, which allows the application to securely access DynamoDB using temporary credentials. Additionally, organizing developers into an IAM user group and attaching policies directly to the group ensures consistency and simplifies administration, aligning with IAM best practices.
Step-by-Step Solution
Key Concept
AWS IAM best practices including IAM roles for EC2, IAM groups for user management, and the Shared Responsibility Model.