Black Friday Reward - Upto 80% off - Ends in 0d 00h 00m 00s - Coupon code: VIP80

Amazon Web Services AWS Certified Developer - Associate DVA-C03 Question # 19 Topic 2 Discussion

Amazon Web Services AWS Certified Developer - Associate DVA-C03 Question # 19 Topic 2 Discussion

DVA-C03 Exam Topic 2 Question 19 Discussion:
Question #: 19
Topic #: 2

An ecommerce company is developing a serverless application to track user activities. The company needs to track each type of activity with a timestamp and a unique product ID. The company also must track actions that are associated with each activity, such as product views, shopping cart actions, purchases, and checkout processes.

The company is planning a marketing campaign based on each user ' s activity. A developer needs to implement a partitioning strategy for an Amazon DynamoDB table to meet the data storage and access requirements for the application. The strategy must maximize provisioned throughput efficiency while minimizing the risk of throttling.

Which solution will meet these requirements?


A.

Create a composite primary key. Set the user ID as the partition key and the timestamp as the sort key.


B.

Create a composite primary key. Set the product ID as the partition key and the associated actions as the sort key.


C.

Use the product ID as the partition key. Create an Application Auto Scaling policy to update the table’s provisioned throughput when the table exceeds its capacity usage target.


D.

Create an AWS Lambda function that adds a counter attribute that increases by one for each new record. Use the counter attribute as the partition key.


Get Premium DVA-C03 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.