DVA-C02 · Question #86
DVA-C02 Question #86: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #86. The question stem and answer options stay visible for context.
Question
A developer is working on an existing application that uses Amazon DynamoDB as its data store. The DynamoDB table has the following attributes: partNumber (partition key), vendor (sort key), description, productFamily, and productType. When the developer analyzes the usage patterns, the developer notices that there are application modules that frequently look for a list of products based on the productFamily and productType attributes. The developer wants to make changes to the application to improve performance of the query operations. Which solution will meet these requirements?
Options
- ACreate a global secondary index (GSI) with productFamily as the partition key and productType
- BCreate a local secondary index (LSI) with productFamily as the partition key and productType as
- CRecreate the table. Add partNumber as the partition key and vendor as the sort key. During table
- DUpdate the queries to use Scan operations with productFamily as the partition key and
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.