A company uses Amazon S3 as a data lake and a multi-node Amazon Redshift cluster as a data warehouse. Data files in the lake are organized by their source, and the company currently issues a separate COPY command for each file location to load into a single Redshift table, which is slow. The company needs to speed up ingestion without increasing costs. What should they do?
Choose an answer
Tap an option to check your answer.
Correct answer: Create a manifest file that contains the data file locations. Use a COPY command to load the data into Amazon Redshift..
Why this is the answer
Creating a manifest file is the most efficient solution because Amazon Redshift's COPY command can use a manifest file to load multiple data files from different S3 locations in a single operation. This significantly speeds up ingestion compared to issuing separate COPY commands for each file, without incurring additional costs. Using an Amazon EMR cluster or an AWS Glue job to consolidate files into one folder would add unnecessary processing and cost. Loading data into Amazon Aurora first and then using an AWS Glue job to move it to Redshift introduces an extra, complex, and costly step.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed