DEA-C01 · Question #267
A ride-sharing company stores records for all rides in an Amazon DynamoDB table. The table includes the following columns and types of values: The table currently contains billions of items. The table
Sign in or unlock DEA-C01 to reveal the answer and full explanation for question #267. The question stem and answer options stay visible for context.
Question
A ride-sharing company stores records for all rides in an Amazon DynamoDB table. The table includes the following columns and types of values:
The table currently contains billions of items. The table is partitioned by RideID and uses TripStartTime as the sort key. The company wants to use the data to build a personal interface to give drivers the ability to view the rides that each driver has completed, based on RideStatus. The solution must access the necessary data without scanning the entire table. Which solution will meet these requirements?
Exhibit
Options
- ACreate a local secondary index (LSI) on DriverID.
- BCreate a global secondary index (GSI) that uses RiderID as the partition key and RideStatus as
- CCreate a global secondary index (GSI) that uses DriverID as the partition key and RideStatus as
- DCreate a filter expression that uses RiderID and RideStatus.
Unlock DEA-C01 to see the answer
You've previewed enough free DEA-C01 questions. Unlock DEA-C01 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.
