How to Query S3, RDS, DynamoDB, and Redshift with SQL?
Short answer
A Use AWS Glue to catalog S3, RDS, DynamoDB, and Redshift, then query everything with Amazon Athena and SQL/PartiQL to avoid ETL and cluster management.
Question
Key Takeaways
The question tests selecting a serverless, cross-source query layer for heterogeneous data; the common trap is assuming Redshift Spectrum can directly query DynamoDB/RDS or that Athena cannot handle JSON without ETL.
AWS Glue Data Catalog plus Amazon Athena lets data scientists query JSON/CSV in S3, RDS SQL Server, DynamoDB, and Redshift with SQL-like syntax while minimizing operational overhead. This page establishes that option A is the correct least-overhead solution and explains why Redshift Spectrum, Glue transforms, and Lake Formation alternatives fall short.
Common mistake: A frequent wrong pick is C: learners assume JSON must be converted to Parquet/CSV before Athena can query it, but that adds Glue job overhead and still does not unify RDS, DynamoDB, or Redshift.
Expert Analysis
Why the Answer Is Correct
Option A combines AWS Glue crawlers to populate the Data Catalog for S3 JSON/CSV, RDS SQL Server, DynamoDB, and Redshift, then uses Amazon Athena as a serverless SQL-like query layer. Athena can query S3 data directly, including JSON, and federated connectors let it reach the relational, NoSQL, and warehouse sources without moving or transforming data. That satisfies "query all data sources" with minimal operational overhead because there are no servers to manage, no ETL jobs to maintain, and no Redshift Spectrum external tables to orchestrate. The SQL/PartiQL split simply reflects using standard SQL for structured sources and PartiQL-compatible syntax for semi-structured JSON.
Why the Other Options Are Wrong
Option B substitutes Redshift Spectrum for Athena, but Spectrum only queries external tables stored in S3 through the Glue Data Catalog; it cannot directly query DynamoDB tables or RDS SQL Server without additional federation or export. Option C introduces Glue jobs to convert JSON to Parquet/CSV, which is extra ETL and only addresses S3 data, not the RDS, DynamoDB, or Redshift sources. Option D relies on "Lake Formation jobs," which are not the native mechanism for transforming every source, and converting all data to Parquet creates unnecessary pipeline overhead while still not directly querying DynamoDB. Therefore the other options either miss sources or add operational work.
Community Comment Notes
GiorgioGss captured the intent with "query straight with Athena without any intermediate actions or services." Christina666 agreed that Athena provides a SQL-like interface and PartiQL support for semi-structured JSON. Luke97 argued for B and said Athena does not support PartiQL, but Athena's current SQL engine and federated query capabilities let A meet the requirement; halogi similarly objected that "Athena can only query in SQL, not PartiQL," yet the exam favors the serverless catalog-plus-Athena pattern. chris_spencer pointed to the April 2024 PartiQL/federated-query update, which further supports A for current DEA-C01. VerRi noted B requires Redshift Spectrum, making A the simpler cross-source choice.
Official Reference
- https://docs.aws.amazon.com/athena/latest/ug/what-is.html
- https://docs.aws.amazon.com/glue/latest/dg/catalog-and-crawler.html
- https://docs.aws.amazon.com/athena/latest/ug/connect-to-a-data-source.html
These links open the official vendor documentation in a new tab.
Exam Strategy
For least-operational-overhead questions, immediately eliminate choices that add ETL jobs, require data conversion, or depend on a cluster you must manage. Then check whether the remaining serverless query layer can reach every listed source; Athena with Glue Data Catalog is the default pattern for cross-source SQL-like access in DEA-C01.
Frequently Asked Questions
Why is Redshift Spectrum not the least-overhead choice for DynamoDB and RDS?
Why is option C wrong if Athena can query S3 JSON?
Community Votes
66% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 10 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 10
-
GiorgioGss 👍 7 Answered ALEAST operational overhead? query straight with Athena without any intermediate actions or services
-
Christina666 👍 4 Answered AA. Unified Querying with Athena: Athena provides a SQL-like interface for querying various data sources, including JSON and CSV in S3, as well as traditional databases. PartiQL Support: Athena's PartiQL extension allows querying semi-structured JSON data directly, eliminating the need for a separate query engine. Serverless and Managed: Both AWS Glue and Athena are serverless, minimizing infrastructure management for the data engineers. No Unnecessary Transformations: Avoiding transformations for JSON data simplifies the pipeline and reduces operational overhead. B. Redshift Spectrum: While Spectrum can query external data, it's primarily intended for Redshift data warehouse extensions. It adds complexity for the RDS and DynamoDB data sources.
-
Luke97 👍 4The answer should be B. A is incorrect because Athena does NOT support PartiQL. C is NOT the least operational (has the additional step to convert JSON to Parquet or csv) D is incorrect because DynamoDB export data to S3 in DynamoDB JSON or Amzone Ion format only (https://aws.amazon.com/blogs/aws/new-export-amazon-dynamodb-table-data-to-data-lake-amazon-s3/).
-
rralucard_ 👍 3 Answered AOption A, using AWS Glue and Amazon Athena, would meet the requirements with the least operational overhead. This solution allows data scientists to directly query data in its original format without the need for additional data transformation steps, making it easier to implement and manage.
-
chris_spencer 👍 2 Answered CAnswer should be C. Amazon Athena does not support querying with PartiQL until 16.04.2024, https://aws.amazon.com/about-aws/whats-new/2024/04/amazon-athena-federated-query-pass-through/ The DEA01 exam should not have include the latest feature
Show 5 more comments
-
halogi 👍 2 Answered CAWS Athena can only query in SQL, not PartiQL, so both A and B are incorrect. LakeFormation can not work directly with DynamoDB, so D is incorrect. The only acceptable answer is C
-
pypelyncar 👍 1 Answered Athena natively supports querying JSON data stored in S3 using standard SQL functions. This eliminates the need for additional data transformation steps using Glue jobs (as required in Option C or D).
-
tgv 👍 1As chris_spencer mentioned below, now Athena supports querying with PartiQL which technically makes the answer A correct.
-
VerRi 👍 1 Answered AB requires Redshift Spectrum, so A
-
lucas_rfsb 👍 4 Answered BI will go with B
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All DEA-C01 Questions
Access 100 questions with complete answers and detailed explanations.
View Full DEA-C01 Practice Test →