
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.
Ultimate access to all questions.
No comments yet.
Your company is migrating from a relational database to Amazon DynamoDB. The existing schema includes a table with customer information, which includes customer ID, name, address, and order history. The order history is stored as a nested JSON object within the customer record. What approach should be taken to convert this schema to DynamoDB?
A
Flatten the nested JSON object and store it in a separate DynamoDB table.
B
Keep the nested JSON object as is and use DynamoDB's support for nested attributes.
C
Convert the nested JSON object into a string and store it in a single DynamoDB attribute.
D
Create a new DynamoDB table for each nested JSON object.