What would you recommend?

You are the new IT architect in a company that operates a mobile sleep tracking application.
When activated at night, the mobile app is sending collected data points of 1 kilobyte every 5
minutes to your backend.
The backend takes care of authenticating the user and writing the data points into an Amazon
DynamoDB table.
Every morning, you scan the table to extract and aggregate last night’s data on a per user basis,
and store the results in Amazon S3. Users are notified via Amazon SNS mobile push notifications
that new data is available, which is parsed and visualized by the mobile app. Currently you have
around 100k users who are mostly based out of North America.
You have been tasked to optimize the architecture of the backend system to lower cost.
What would you recommend? Choose 2 answers

You are the new IT architect in a company that operates a mobile sleep tracking application.
When activated at night, the mobile app is sending collected data points of 1 kilobyte every 5
minutes to your backend.
The backend takes care of authenticating the user and writing the data points into an Amazon
DynamoDB table.
Every morning, you scan the table to extract and aggregate last night’s data on a per user basis,
and store the results in Amazon S3. Users are notified via Amazon SNS mobile push notifications
that new data is available, which is parsed and visualized by the mobile app. Currently you have
around 100k users who are mostly based out of North America.
You have been tasked to optimize the architecture of the backend system to lower cost.
What would you recommend? Choose 2 answers

A.
Have the mobile app access Amazon DynamoDB directly Instead of JSON files stored on
Amazon S3.

B.
Write data directly into an Amazon Redshift cluster replacing both Amazon DynamoDB and
Amazon S3.

C.
Introduce an Amazon SQS queue to buffer writes to the Amazon DynamoDB table and reduce
provisioned write throughput.

D.
Introduce Amazon Elasticache to cache reads from the Amazon DynamoDB table and reduce
provisioned read throughput.

E.
Create a new Amazon DynamoDB table each day and drop the one for the previous day after its
data is on Amazon S3.

Explanation:
https://d0.awsstatic.com/whitepapers/performance-at-scale-with-amazon-elasticache.pdf



Leave a Reply 4

Your email address will not be published. Required fields are marked *


Ponkanagaraj

Ponkanagaraj

Not sure about the correct ans.
Can someone comment.

John

John

Correct Answer:
C – reduced provisioned write capacity to the table, SQS will send regular inputs and absorb sudden higher load
E – dropping old no longer needed data will save cost.

D is wrong because read is only performed when exporting data to s3, then the backend read all from s3 so reducing provisioned read throughput on the DynamoDB table is useless.

Unnat

Unnat

Agree with John.

C & E is the correct answer.

D is wrong. Because data is getting read from S3 not DynamoDB, so attaching Elasticache to DynamoDB will not help here.