DVA-C02 · Question #376
DVA-C02 Question #376: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #376. The question stem and answer options stay visible for context.
Question
A developer manages an application that writes customer orders to an Amazon DynamoDB table. The orders use customer_id as the partition key, order_id as the sort key, and order_date as an attribute. A new access pattern requires accessing data by order_date and order_id. The developer needs to implement a new AWS Lambda function to support the new access pattern. How should the developer support the new access pattern in the MOST operationally efficient way?
Options
- AAdd a new local secondary index (LSI) to the DynamoDB table that specifies order_date as the
- BWrite the new Lambda function to scan the DynamoDB table. In the Lambda function, write a
- CAdd a new global secondary index (GSI) to the DynamoDB table that specifies order_date as the
- DEnable DynamoDB Streams on the table. Choose the new and old images information to write to
Unlock DVA-C02 to see the answer
You've previewed enough free DVA-C02 questions. Unlock DVA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.