DEA-C01 · Question #121
A marketing company uses Amazon S3 to store clickstream data. The company queries the data at the end of each day by using a SQL JOIN clause on S3 objects that are stored in separate buckets. The…
The correct answer is C. Amazon Athena. The company needs a cost-effective, serverless solution to query clickstream data in S3 using SQL JOINs, partitioning, and ACID properties for KPIs.
Question
A marketing company uses Amazon S3 to store clickstream data. The company queries the data at the end of each day by using a SQL JOIN clause on S3 objects that are stored in separate buckets. The company creates key performance indicators (KPIs) based on the objects. The company needs a serverless solution that will give users the ability to query data by partitioning the data. The solution must maintain the atomicity, consistency, isolation, and durability (ACID) properties of the data. Which solution will meet these requirements MOST cost-effectively?
Options
- AAmazon S3 Select
- BAmazon Redshift Spectrum
- CAmazon Athena
- DAmazon EMR
How the community answered
(46 responses)- A22% (10)
- B7% (3)
- C59% (27)
- D13% (6)
Why each option
The company needs a cost-effective, serverless solution to query clickstream data in S3 using SQL JOINs, partitioning, and ACID properties for KPIs.
Amazon S3 Select allows filtering data within a single S3 object using SQL-like expressions, but it does not support SQL JOINs across multiple objects or buckets, nor does it inherently manage partitioning or ACID properties for an entire dataset.
Amazon Redshift Spectrum allows Redshift clusters to query data directly from S3. While it supports JOINs and partitioning, Redshift itself is not serverless, and managing a Redshift cluster incurs operational overhead and cost, failing the 'serverless' and 'most cost-effectively' for ad-hoc querying compared to Athena.
Amazon Athena is a serverless query service that allows running SQL queries directly on data in S3. It integrates with AWS Glue Data Catalog for schema management, supports data partitioning for cost optimization, and can leverage open table formats like Apache Iceberg or Apache Hudi to provide ACID properties for data lakes on S3, fulfilling the requirements cost-effectively.
Amazon EMR is a managed cluster platform for big data processing, not a serverless query service. While it can perform complex queries and support ACID-compliant formats, it requires managing clusters and is not 'serverless,' making it less cost-effective for ad-hoc querying compared to Athena.
Concept tested: Serverless SQL querying on S3 data lake with ACID properties and partitioning
Source: https://aws.amazon.com/athena/
Topics
Community Discussion
No community discussion yet for this question.