AWS Certified Data Engineer - Associate

AWS Certified Data Engineer - Associate

Get started today

Ultimate access to all questions.


Your company is migrating from a Cassandra database to Amazon DynamoDB. The existing schema includes a table with user sessions, which includes session ID, user ID, start time, end time, and actions. The actions are stored as a list of JSON objects within the session record. What approach should be taken to convert this schema to DynamoDB?




Explanation:

DynamoDB supports nested attributes, which allows for the storage of complex data structures within a single item. This approach maintains the integrity of the data model and simplifies queries by keeping related data together.