DVA-C02 · Question #372
DVA-C02 Question #372: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #372. The question stem and answer options stay visible for context.
Question
A developer is working on an app for a company that uses an Amazon DynamoDB table named Orders to store customer orders. The table uses OrderID as the partition key and there is no sort key. The table contains more than 100,000 records. The developer needs to add a functionality that will retrieve all Orders records that contain an OrderSource attribute with the MobileApp value. Which solution will improve the user experience in the MOST efficient way?
Options
- APerform a Scan operation on the Orders table. Provide a QueryFilter condition to filter to only the
- BCreate a local secondary index (LSI) with OrderSource as the partition key. Perform a Query
- CCreate a global secondary index (GSI) with OrderSource as the sort key. Perform a Query
- DCreate a global secondary index (GSI) with OrderSource as the partition key. Perform a Query
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.