What process should you use to help mitigate the cost?

After reviewing the last quarter’s monthly bills, management has noticed an increase in the overall bill from Amazon. After
researching this increase in cost, you discovered that one of your new services is doing a lot of GET Bucket API calls to
Amazon S3 to build a metadata cache of all objects in the applications bucket. Your boss has asked you to come up with
a new cost-effective way to help reduce the amount of these new GET Bucket API calls. What process should you use
to help mitigate the cost?

After reviewing the last quarter’s monthly bills, management has noticed an increase in the overall bill from Amazon. After
researching this increase in cost, you discovered that one of your new services is doing a lot of GET Bucket API calls to
Amazon S3 to build a metadata cache of all objects in the applications bucket. Your boss has asked you to come up with
a new cost-effective way to help reduce the amount of these new GET Bucket API calls. What process should you use
to help mitigate the cost?

A.
Update your Amazon S3 buckets’ lifecycle policies to automatically push a list of objects to a new bucket, and use this list to view
objects associated with the application’s bucket.

B.
Create a new DynamoDB table. Use the new DynamoDB table to store all metadata about all objects uploaded to Amazon S3.
Any time a new object is uploaded, update the application’s internal Amazon S3 object metadata cache from DynamoDB.

C.
Using Amazon SNS, create a notification on any new Amazon S3 objects that automatically updates a new DynamoDB table to store
all metadata about the new object.
Subscribe the application to the Amazon SNS topic to update its internal Amazon S3 object metadata cache from the DynamoDB table.

D.
Upload all images to Amazon SQS, set up SQS lifecycles to move all images to Amazon S3, and initiate an Amazon SNS notification
to your application to update the application’s Internal Amazon S3 object metadata cache.

E.
Upload all images to an ElastiCache filecache server. Update your application to now read all file metadata from the ElastiCache
filecache server, and configure the ElastiCache policies to push all files to Amazon S3 for long-term storage.



Leave a Reply 5

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


Raj

Raj

can anyone explain why C?

TuanBA

TuanBA

The answer is C.
B is seem right but you will have a gap when something update S3 objects directly, not through your Application. So the data in dynamoDB will be older than the real. C is the best, because the updating will be gotten by AWS.

leonli

leonli

Agree, the timing in answer B is kind of tricky.

raysmithvic1978

raysmithvic1978

C