AWS Certified Database – Specialty — Question 71

A database specialist needs to review and optimize an Amazon DynamoDB table that is experiencing performance issues. A thorough investigation by the database specialist reveals that the partition key is causing hot partitions, so a new partition key is created. The database specialist must effectively apply this new partition key to all existing and new data.
How can this solution be implemented?

Answer options

Correct answer: A

Explanation

Option A is correct because it describes the process of exporting data to Amazon S3 and re-importing it into a new table with the updated partition key, effectively transferring all data. Options B and C are incorrect as they do not provide a valid method for changing the partition key directly for existing data, and option D does not allow for changing the partition key through the restore process.