A multi-department enterprise wants to secure its AWS environment by implementing the principle of least privilege and reducing security risks associated with credential management. The administrator must configure access for both developers (human users) and applications running on Amazon EC2 instances (machine identities). Which two methods represent AWS security best practices for managing these identities? (Select TWO.)
- Use AWS IAM Identity Center to federate human identities and centrally manage user access to AWS accounts.Answer
- Attach an IAM role to the Amazon EC2 instances to provide applications with temporary security credentials.Answer
- CGenerate long-term IAM access keys for developers and store them in a shared configuration file on the instances.
- DConfigure daily administrative operations to run under the AWS account root user credentials with multi-factor authentication (MFA) disabled for automation.
- ECreate a shared IAM user account for each development team to minimize administrative overhead.
Answer
The correct practices are to use AWS IAM Identity Center for federated human access, and to attach IAM roles to Amazon EC2 instances for secure machine access using temporary credentials.
Centrally managing human user identities with AWS IAM Identity Center and using IAM roles to assign temporary credentials to EC2 instances are the industry-standard AWS best practices. They eliminate the need for permanent access keys, simplify credential rotation, and preserve detailed accountability in audit logs.
Step-by-Step Solution
Key Concept
AWS IAM best practices for securing human and machine access using federation and temporary credentials.