A financial technology startup is setting up its AWS environment. An application running on Amazon ECS tasks needs to retrieve records from an Amazon DynamoDB table, while an external compliance auditor requires weekly console access to inspect security configurations without modifying any resources. Which TWO of the following identity and access management actions should the startup implement to meet these requirements securely? (Select TWO.)
- Create an IAM role with the necessary DynamoDB read permissions and associate it with the Amazon ECS task definition.Answer
- Create a dedicated IAM user for the external auditor, require Multi-Factor Authentication (MFA), and attach a policy allowing read-only access to security settings.Answer
- CGenerate long-term access keys for the AWS account root user and configure them as environment variables inside the ECS tasks.
- DCreate an IAM user for the auditor, generate access keys, and configure the ECS task to use the auditor's credentials to authenticate to DynamoDB.
- ESubmit a request to AWS Support to review the security configuration, as policy auditing falls under the physical infrastructure layer managed by AWS.
Answer
The startup should configure an IAM role with DynamoDB read permissions for the ECS task definition and establish a dedicated IAM user with MFA and read-only permissions for the auditor.
The correct identity setup involves creating an IAM role for the ECS container tasks to assume temporary access credentials dynamically, and establishing a dedicated IAM user for the external auditor with a read-only policy and MFA enabled for safe administrative console access.
Step-by-Step Solution
Key Concept
The core of AWS identity security relies on isolating human identities (using IAM users/federation with MFA) and machine identities (using IAM roles for temporary credentials), whilst adhering to the Shared Responsibility Model where the customer owns resource access configuration.
Estimated Time:2m 30s