How to Join DynamoDB, RDS, Redshift, and S3 Cost-Effectively?
A data engineer needs to join data from multiple sources to perform a one-time analysis job. The data is stored in Amazon DynamoDB, Amazon RDS, Amazon Redshift, and Amazon S3. Which solution will meet this requirement MOST cost-effectively?
Community Votes
100% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
The question tests choosing a serverless, no-copy query approach for a one-time multi-source join; the common trap is assuming Athena only queries S3 and therefore copying all data into S3 first.
Amazon Athena Federated Query lets a single SQL query join data across DynamoDB, RDS, Redshift, and S3 without moving or duplicating it, making it the most cost-effective option for a one-time analysis. This page explains why option C beats ETL-to-S3, provisioned EMR, and Redshift Spectrum for this scenario.
The most common wrong choice is B: copying DynamoDB, RDS, and Redshift data into S3 before querying with Athena. That adds storage, transfer, and ETL overhead, which is unnecessary for a one-time job when Athena Federated Query can read the sources in place.
Community Discussion (6 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Amazon Athena Federated Query is designed for querying data where it already lives: DynamoDB, RDS via JDBC, Redshift, and S3 can be combined in Athena SQL, with S3 queried natively and the other sources reached through connectors. Because Athena is serverless and charges per query, there is no cluster to provision or pay for between runs, which fits a one-time analysis job. The approach avoids copying or duplicating data into S3, eliminating storage, transfer, and ETL effort before the join. That combination of no data movement and pay-per-query execution makes option C the most cost-effective fit.Why the Other Options Are Wrong
A uses an EMR provisioned cluster and Apache Spark; it can join the sources, but you pay for cluster capacity and operational overhead even for a single run. B requires extracting DynamoDB, RDS, and Redshift data into S3 first, which adds storage, transfer, and pipeline work before Athena can query it. D uses Redshift Spectrum, which is designed primarily for querying S3 external tables from a Redshift cluster; it does not natively query DynamoDB and RDS directly and still requires Redshift compute. For a one-time, cost-sensitive join, those extra resources and data copies make A, B, and D less attractive than C.Community Comment Notes
lucas_rfsb voted for C and noted that Federated Query is typical for this purpose because it avoids adding or duplicating resources in S3, while also acknowledging that centralizing data in S3 can make governance easier. pypelyncar highlighted "Serverless Processing" and pay-per-query execution as the reason Athena suits one-time jobs. Another commenter pointed to the AWS Athena connectors list as documentation that these sources can be queried natively. certplan raised a useful cost caveat: S3 storage is cheap and Athena is optimized for S3, so repeatable or governance-heavy workloads may still favor copying data, but that does not change the one-time, no-copy answer here.Official Reference
Exam Strategy
For one-time, multi-source analytics, look for serverless query services that can read sources in place; avoid options that provision clusters or duplicate data. The phrase 'one-time analysis' is a strong signal for Athena Federated Query over ETL-to-S3 or EMR.
Frequently Asked Questions
Why is copying all data into Amazon S3 before querying not the most cost-effective choice?
Copying adds storage, data transfer, and ETL time before the one-time query, while Athena Federated Query can read DynamoDB, RDS, Redshift, and S3 in place.
Can Redshift Spectrum query DynamoDB and RDS directly?
No, Redshift Spectrum is primarily for querying S3 external tables from Redshift; it does not natively join DynamoDB and RDS without additional loading or connectors.
Related Analysis
Practice All DEA-C01 Questions
Access 100 questions with complete answers and detailed explanations.
View Full DEA-C01 Practice Test →