AWS Certified SysOps Administrator – Associate (legacy) — Question 167

An organization has created 10 IAM users. The organization wants each of the IAM users to have access to a separate DynamoDB table. All the users are added to the same group and the organization wants to setup a group level policy for this. How can the organization achieve this?

Answer options

Correct answer: B

Explanation

The correct answer is B because creating a DynamoDB table with the same name as the IAM user allows the use of a variable in the policy to grant access based on the ARN specific to each user. Option A is incorrect because conditions based on IAM names won't work for this scenario. Option C is not feasible as it suggests creating separate databases rather than separate tables, which complicates the architecture unnecessarily. Option D is also incorrect as it is indeed possible to set up such a policy effectively.