
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?
A
Flatten the list of JSON objects and store it in a separate DynamoDB table.
B
Keep the list of JSON objects as is and use DynamoDB's support for nested attributes.
C
Convert the list of JSON objects into a string and store it in a single DynamoDB attribute.
D
Create a new DynamoDB table for each list of JSON objects.