A company is designing a secure architecture for a reporting application that runs on Amazon EC2 instances in a private subnet. The application must retrieve a database password that is updated every 30 days. Additionally, developers who are managed in an external corporate directory need administrative access to manage these EC2 instances. The company's security policy prohibits the use of long-term credentials or hardcoded secrets.
Which combination of actions should a solutions architect recommend to meet these requirements? (Select TWO.)
- Configure AWS IAM Identity Center to federate the external directory, allowing developers to access AWS using temporary credentials associated with an administrative role.Cevap
- Attach an IAM role to the EC2 instances using an instance profile, and configure the application to retrieve the database password dynamically from AWS Secrets Manager.Cevap
- CCreate individual IAM users with long-term access keys for each developer in the AWS account, allowing them to authenticate directly.
- DUse the AWS account root user access keys on the EC2 instances to ensure administrative permissions are available for standard tasks.
- EStore the database password as a plaintext String parameter in Systems Manager Parameter Store, and enable AWS KMS key rotation to automatically update the password value.
Cevap
The solutions architect should recommend configuring AWS IAM Identity Center for directory federation and using an IAM role on the EC2 instances alongside AWS Secrets Manager for database password retrieval.
Configuring AWS IAM Identity Center enables secure, centralized identity federation with the external corporate directory, providing developers with short-term credentials via IAM roles. Associating an IAM role with the EC2 instances allows them to assume permissions securely without embedded credentials, and AWS Secrets Manager securely stores and automatically rotates the database password.
Adım Adım Çözüm
Anahtar Kavram
IAM role-based access, identity federation, and secure secrets management.