Implementing Auto Scaling in DynamoDB for KindleYou: Critical Steps

Implementing Auto Scaling in DynamoDB

Question

KindleYou is a location-based social search mobile app that allows users to like or dislike other users, and allows users to chat if both parties liked each other in the app.

It has more than 1 billion customers across the world. They use DynamoDB to support the mobile application and S3 to host the images and other documents shared between users. KindleYou has collection named Interactions bulk-loaded with data infrequently; it doesn't incur very much write activity but always experience a high degree of read activity, which varies over time.

KindleYou is looking at implementing Auto Scaling in DynamoDB.

please advise on the critical steps! Select 3 options.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E. F.

Answer: B, D,F.

Option A is incorrect - the metrics are published to CloudWatch.

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html#AutoSc

Option B is correct.

the metrics are published to CloudWatch.

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html#AutoScaling.HowItWorks

Option C is incorrect.

cloudwatch triggers the alarm.

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html#AutoScaling.HowItWorks

Option D is correct.

the alarm on the AWS Management Console and receive notifications using Amazon Simple Notification Service.

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html#AutoScaling.HowItWorks

Option E is incorrect.

the user is notified using SNS.

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html#AutoScaling.HowItWorks

Option F is correct.

The CloudWatch alarm invokes Application Auto Scaling to evaluate your scaling policy using SNS which issues an UpdateTable request to adjust your table's provisioned throughput.

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html#AutoScaling.HowItWorks

To implement Auto Scaling in DynamoDB for KindleYou, the following critical steps need to be taken:

  1. Publish consumed capacity metrics: The first step is to publish consumed capacity metrics to AWS CloudWatch using either AWS SDK or the AWS Management Console. The metrics will be used to monitor the read capacity of the Interactions collection.

  2. Set up CloudWatch alarms: Once the consumed capacity metrics are published, set up CloudWatch alarms to monitor the read capacity of the Interactions collection. If the table's consumed capacity exceeds or falls below the target utilization for a specific length of time, AWS CloudWatch triggers an alarm using SNS or SQS.

  3. Configure Application Auto Scaling: The next step is to configure Application Auto Scaling to evaluate your scaling policy and process request using UpdateTable. When the CloudWatch alarm triggers, the Application Auto Scaling service evaluates the scaling policy and updates the table's read capacity to handle the increased or decreased load.

In summary, the critical steps for implementing Auto Scaling in DynamoDB for KindleYou are to publish consumed capacity metrics to AWS CloudWatch, set up CloudWatch alarms to monitor the consumed capacity of the Interactions collection, and configure Application Auto Scaling to evaluate the scaling policy and update the table's read capacity as needed. Option B, D, and F are the correct answers to this question.