AWS Certified Data Analytics – Specialty — Question 28

A company has developed an Apache Hive script to batch process data stared in Amazon S3. The script needs to run once every day and store the output in
Amazon S3. The company tested the script, and it completes within 30 minutes on a small local three-node cluster.
Which solution is the MOST cost-effective for scheduling and executing the script?

Answer options

Correct answer: A

Explanation

The correct answer is A because using AWS Lambda to trigger an Amazon EMR cluster is a cost-effective approach since it only incurs costs when the cluster is running. Other options like B and C involve higher running costs due to the persistent nature of the EMR cluster or using more resources than necessary. Option D is not suitable as running Hive in AWS Lambda may not be feasible due to execution time limits and resource constraints.