AWS Certified Solutions Architect – Professional (SAP-C02) — Question 524

A company is collecting a large amount of data from a fleet of IoT devices. Data is stored as Optimized Row Columnar (ORC) files in the Hadoop Distributed File System (HDFS) on a persistent Amazon EMR cluster. The company's data analytics team queries the data by using SQL in Apache Presto deployed on the same EMR cluster. Queries scan large amounts of data, always run for less than 15 minutes, and run only between 5 PM and 10 PM.

The company is concerned about the high cost associated with the current solution. A solutions architect must propose the most cost-effective solution that will allow SQL data queries.

Which solution will meet these requirements?

Answer options

Correct answer: B

Explanation

Amazon Athena is a serverless query service that charges only for the data scanned during queries, making it highly cost-effective for intermittent workloads that only run between 5 PM and 10 PM. Storing data in Amazon S3 in the optimized ORC format allows Athena to query the data efficiently while minimizing storage costs. Other options involving persistent Amazon EMR or Amazon Redshift clusters incur continuous idle costs outside of the 5-hour query window.