AWS Certified Developer – Associate — Question 140

A game stores user game data in an Amazon DynamoDB table. Individual users should not have access to other users' game data.

How can this be accomplished?

Answer options

Correct answer: B

Explanation

The correct answer is B because restricting access based on primary key values ensures that users can only access their own data in the DynamoDB table. Option A, while it enhances security, does not restrict access at the database level. Option C does not relate to user access control, and option D does not prevent access to other users' data, as it relies on client-side filtering.