DVA-C02 · Question #71
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…
The correct answer is B. Use Amazon S3 Event Notification backed by a Lambda function to persist the metadata into. Cloudwatch notifications are at best every minute at extra cost. Lambda off an S3 notification will provide real-time data and lambda is the most cost effective processing method.
Question
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?
Options
- AUse an Amazon CloudWatch event backed by an AWS Lambda function. Issue an Amazon S3
- BUse Amazon S3 Event Notification backed by a Lambda function to persist the metadata into
- CRun a cron job within an Amazon EC2 instance to list all objects within Amazon S3 and persist
- DCreate a new Amazon EMR cluster to get all the metadata about Amazon S3 objects; persist the
How the community answered
(58 responses)- A16% (9)
- B71% (41)
- C9% (5)
- D5% (3)
Explanation
Cloudwatch notifications are at best every minute at extra cost. Lambda off an S3 notification will provide real-time data and lambda is the most cost effective processing method.
Community Discussion
No community discussion yet for this question.