A Developer has been asked to build a real-time dashboard web application to visualize the key prefixes and storage size of objects in Amazon S3 buckets. Amazon DynamoDB will be used to store the Amazon S3 metadata.
What is the optimal and MOST cost-effective design to ensure that the real-time dashboard is kept up to date with the state of the objects in the Amazon S3 buckets?
A . Use an Amazon CloudWatch event backed by an AWS Lambda function. Issue an Amazon S3 API call to get a list of all Amazon S3 objects and persist the metadata within DynamoD
B . Have the web application poll the DynamoDB table to reflect this change.
C . Use Amazon S3 Event Notification backed by a Lambda function to persist the metadata into DynamoD
D . Have the web application poll the DynamoDB table to reflect this change.
E . Run a cron job within an Amazon EC2 instance to list all objects within Amazon S3 and persist the metadata into DynamoD
F . Have the web application poll the DynamoDB table to reflect this change.
G . Create a new Amazon EMR cluster to get all the metadata about Amazon S3 objects; persist the metadata into DynamoD
H . Have the web application poll the DynamoDB table to reflect this change.
Answer: A
Leave a Reply