A logistics company is deploying a tracking application on a fleet of Amazon EC2 instances that requires access to a private Amazon DynamoDB table. Additionally, an external audit team needs temporary access to view the company's billing dashboards for a period of one week. Which of the following configurations should the administrator implement to meet these requirements securely? (Select TWO.)
- Create an IAM role with DynamoDB access permissions and associate it with the EC2 instances using an instance profile.Answer
- Create an IAM role with billing read-only permissions that the external audit team can assume temporarily.Answer
- CCreate a single IAM user, generate long-lived access keys, and hardcode them in the tracking application's configuration file on the EC2 instances.
- DShare the AWS account root user credentials with the external audit team for the duration of the audit, then change the password.
- EConfigure a Network Access Control List (Network ACL) rule that permits the external audit team to bypass IAM authentication and log in directly to the console.
Answer
The correct configurations are to create an IAM role with DynamoDB access permissions for the EC2 instances, and to create an IAM role with billing read-only permissions that the external audit team can assume temporarily.
Creating an IAM role with DynamoDB access permissions and associating it with the EC2 instances allows the application to dynamically retrieve temporary credentials. Creating a separate IAM role with billing read-only permissions allows the external audit team to assume the role temporarily for the duration of the audit without possessing permanent user accounts.
Step-by-Step Solution
Key Concept
AWS Identity and Access Management (IAM) Roles and Access Control Best Practices
Estimated Time:1m 30s