DVA-C02 · Question #160
DVA-C02 Question #160: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #160. The question stem and answer options stay visible for context.
Question
A developer is creating an AWS Lambda function that searches for items from an Amazon DynamoDB table that contains customer contact information. The DynamoDB table items have the customer's email_address as the partition key and additional properties such as customer_type, name and job_title. The Lambda function runs whenever a user types a new character into the customer_type text input. The developer wants the search to return partial matches of all the email_address property of a particular customer_type. The developer does not want to recreate the DynamoDB table. What should the developer do to meet these requirements?
Options
- AAdd a global secondary index (GSI) to the DynamoDB table with customer_type as the partition
- BAdd a global secondary index (GSI) to the DynamoDB table with email_address as the partition
- CAdd a local secondary index (LSI) to the DynamoDB table with customer_type as the partition key
- DAdd a local secondary index (LSI) to the DynamoDB table with job_title 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.