AWS Certified Data Analytics – Specialty — Question 77

An IoT company wants to release a new device that will collect data to track sleep overnight on an intelligent mattress. Sensors will send data that will be uploaded to an Amazon S3 bucket. About 2 MB of data is generated each night for each bed. Data must be processed and summarized for each user, and the results need to be available as soon as possible. Part of the process consists of time windowing and other functions. Based on tests with a Python script, every run will require about 1 GB of memory and will complete within a couple of minutes.
Which solution will run the script in the MOST cost-effective way?

Answer options

Correct answer: A

Explanation

AWS Lambda is designed for short-lived, event-driven tasks and is cost-effective for running scripts that require limited memory and execution time, such as this Python script. Other options like AWS Glue and Amazon EMR are more suited for longer-running, complex data processing tasks, making them less economical for this specific use case.