How to Query S3, RDS, DynamoDB, and Redshift with SQL?
A company stores datasets in JSON format and .csv format in an Amazon S3 bucket. The company has Amazon RDS for Microsoft SQL Server databases, Amazon DynamoDB tables that are in provisioned capacity mode, and an Amazon Redshift cluster. A data engineering team must develop a solution that will give data scientists the ability to query all data sources by using syntax similar to SQL. Which solution will meet these requirements with the LEAST operational overhead?
Community Votes
66% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
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.
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.
Community Discussion (10 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
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
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?
Redshift Spectrum only queries external tables in Amazon S3 through the Glue Data Catalog; it cannot directly query DynamoDB tables or RDS SQL Server. You would need extra federation or export steps, so option B adds overhead.
Why is option C wrong if Athena can query S3 JSON?
Option C adds Glue jobs to convert JSON into Parquet or CSV, which is unnecessary ETL, and it still only queries S3. It does not provide a unified query path to RDS, DynamoDB, or Redshift.
Related Analysis
Practice All DEA-C01 Questions
Access 100 questions with complete answers and detailed explanations.
View Full DEA-C01 Practice Test →