
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
An IoT company is releasing a mattress that has sensors to collect data about a user's sleep. The sensors will send data to an Amazon S3 bucket. The sensors collect approximately 2 MB of data every night for each mattress. The company must process and summarize the data for each mattress. The results need to be available as soon as possible. Data processing will require 1 GB of memory and will finish within 30 seconds.
Which solution will meet these requirements MOST cost-effectively?
A
Use AWS Glue with a Scala job
B
Use Amazon EMR with an Apache Spark script
C
Use AWS Lambda with a Python script
D
Use AWS Glue with a PySpark job
Explanation:
Why AWS Lambda is the most cost-effective solution:
Why other options are less cost-effective:
Key considerations:
This solution provides the fastest processing with minimal cost, meeting the requirement for results to be "available as soon as possible" while being the most cost-effective option.