Question 314:
A document storage company deploys its application to AWS and changes its business model to support both Free Tier and Premium Tier users. The premium Tier users will be allowed to store up to 300GB of data and Free Tier customers will be allowed to store only 100GB. The customer expects that billions of files will be stored. All users need to be alerted when approaching 75 percent quota utilization and again at 90 percent quota use.
Answer options:
A.Use an S3 Event notification published to Lambda and the lambda task ( lambda functions ) would be used by the Simple Workflow Service. The SWF`s activity worker updates the user`s used data counter in DynamoDB. The activity worker would then use Simple Email Service to send an email if the counter increases above the appropriate thresholds. B.The company should deploy an Amazon Relational Database Service (RDS) relational database with a stored objects table that has a row for each stored object along with the size of each object. The upload server will query the aggregate consumption of the user in question (by first determining the files stored by the user, and then querying the stored objects table for respective file sizes) and send an email via Amazon Simple Email Service if the thresholds are breached. C.The company should write both the content length and the username of the file`s owner as S3 metadata for the object. They should then create a file watcher to iterate over each object and aggregate the size for each user and send a notification via Amazon Simple Queue Service to an emailing service if the storage threshold is exceeded. D.The company should create two separate Amazon Simple Storage Service buckets, one for data storage for Free Tier Users, and another for data storage for Premium Tier users. An Amazon Simple Workflow Service activity worker will query all objects for a given user based on the bucket that the data is stored in and aggregate storage. The activity worker will notify the user via Amazon Simple Notification Service when necessary.