A financial services company is setting up its application environment on AWS. The environment will consist of developers who need to configure resources and applications running on Amazon EC2 instances that need to retrieve data from Amazon S3. Which two of the following actions align with AWS-recommended security best practices for managing identity and access in this scenario?
- Configure an IAM role with the required Amazon S3 access permissions and attach it to the Amazon EC2 instances.Answer
- Enable Multi-Factor Authentication (MFA) on the AWS account root user and restrict its use to only essential account management tasks.Answer
- CGenerate long-term IAM access keys for the applications and store them directly within the application configuration files on the EC2 instances.
- DUse the AWS account root user for daily administrative and development tasks to simplify resource management.
- ERely on AWS to automatically configure and audit all user permissions inside the operating systems of the EC2 instances.
Answer
The correct practices are configuring an IAM role with S3 permissions for the EC2 instances, and enabling MFA on the root user while restricting its daily usage.
Configuring an IAM role for EC2 instances allows applications to securely access Amazon S3 using temporary, auto-rotated credentials. Additionally, securing the root user with Multi-Factor Authentication (MFA) and restricting its use to essential tasks protects the account from unauthorized administrative actions.
Step-by-Step Solution
Key Concept
AWS IAM security best practices, including temporary credentials via roles and root user protection.