
AWS Certified Solutions Architect - Associate
Get started today
Ultimate access to all questions.
An IoT company is launching a smart mattress with sensors that collect 2 MB of sleep data nightly, stored in an Amazon S3 bucket. The company requires a cost-effective solution to process and summarize this data promptly, needing 1 GB of memory and completing within 30 seconds. Which solution best meets these criteria?
An IoT company is launching a smart mattress with sensors that collect 2 MB of sleep data nightly, stored in an Amazon S3 bucket. The company requires a cost-effective solution to process and summarize this data promptly, needing 1 GB of memory and completing within 30 seconds. Which solution best meets these criteria?
Explanation:
The correct answer is C: Use AWS Lambda with a Python script. AWS Lambda is a serverless compute service that can execute code in response to triggers. It is highly cost-effective for tasks that have short execution times and do not require continuously running infrastructure. Since the data processing needs are small (1 GB of memory and 30 seconds to complete), AWS Lambda is an ideal solution. It minimizes overhead costs as you only pay for the compute time you consume, and it can scale easily to handle the data from multiple mattresses.