An organization wants to configure secure access to its AWS resources. They need to grant an application running on an Amazon EC2 instance access to an Amazon S3 bucket, and they need to configure access for a new team of system administrators. Which of the following AWS Identity and Access Management (IAM) practices should the organization implement? (Select TWO.)
- Associate an IAM role with the Amazon EC2 instance to grant the application temporary access to the S3 bucketAnswer
- BStore the AWS Account Root User access keys in the application configuration file on the EC2 instance
- Create individual IAM users for each system administrator and assign them to an IAM group with administrative policies attachedAnswer
- DShare a single administrative IAM user account and its password among all the system administrators to simplify access
- EDelegate user password rotation and permission management tasks to AWS support as part of the AWS infrastructure management
Answer
Associate an IAM role with the Amazon EC2 instance to grant the application temporary access to the S3 bucket, and create individual IAM users for each system administrator and assign them to an IAM group with administrative policies attached.
The correct practices are to associate an IAM role with the EC2 instance, allowing the application to securely obtain temporary credentials to access the S3 bucket, and to create individual IAM users inside an IAM group for the system administrators to manage their administrative access centrally and securely.
Step-by-Step Solution
Key Concept
AWS IAM Best Practices and Access Control