Examtopics

AWS Certified Developer - Associate
  • Topic 1 Question 489

    A company’s application includes an Amazon DynamoDB table for product orders. The table has a primary partition key of orderId and has no sort key. The company is adding a new feature that requires the application to query the table by using the customerId attribute.

    Which solution will provide this query functionality?

    • Change the existing primary key by setting customerId as the sort key.

    • Create a new global secondary index (GSI) on the table with a partition key of customerId.

    • Create a new local secondary index (LSI) on the table with a partition key of customerId.

    • Create a new local secondary index (LSI) on the table with a partition key of orderId and a sort key of customerId.


    シャッフルモード