QuestionQ205

Data Ingestion and Transformation

A company has three subsidiaries, each of which uses a different data warehousing solution. The first subsidiary hosts its data warehouse in Amazon Redshift. The second subsidiary uses Teradata Vantage on AWS. The third subsidiary uses Google BigQuery.

The company wants to consolidate all data into a central Amazon S3 data lake and use Apache Iceberg as the table format.

A data engineer must build a new pipeline that connects to all data sources, performs transformations by using each source engine, joins the data, and writes the data to Iceberg.

Which solution meets these requirements with the LEAST operational effort?

  • A Use native Amazon Redshift, Teradata, and BigQuery connectors to build the pipeline in AWS Glue. Use native AWS Glue transforms to join the data. Run a Merge operation on the data lake Iceberg table.
  • B Use the Amazon Athena federated query connectors for Amazon Redshift, Teradata, and BigQuery to build the pipeline in Athena. Write a SQL query to read from all the data sources, join the data, and run a Merge operation on the data lake Iceberg table.
  • C Use the native Amazon Redshift connector, the Java Database Connectivity (JDBC) connector for Teradata, and the open source Apache Spark BigQuery connector to build the pipeline in Amazon EMR. Write code in PySpark to join the data. Run a Merge operation on the data lake Iceberg table.
  • D Use the native Amazon Redshift, Teradata, and BigQuery connectors in Amazon Appflow to write data to Amazon S3 and AWS Glue Data Catalog. Use Amazon Athena to join the data. Run a Merge operation on the data lake Iceberg table.
Explanation

Amazon Athena federated query provides connectors for Amazon Redshift, Teradata, and Google BigQuery, allowing SQL access across those sources without managing a Spark cluster or custom connector code. Athena can join the federated results and supports transactional MERGE INTO operations for Apache Iceberg tables, providing a managed path to write the consolidated data to Amazon S3.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!