nerdexam
Amazon

DAS-C01 · Question #2

A company wants to improve the data load time of a sales data dashboard. Data has been collected as .csv files and stored within an Amazon S3 bucket that is partitioned by date. The data is then…

The correct answer is B. Split large .csv files, then use a COPY command to load data into Amazon Redshift. Splitting large CSV files and using the COPY command (Option B) is the best approach for high-throughput loading into Amazon Redshift. The COPY command is the recommended and most efficient method for bulk data ingestion into Redshift. When multiple files are provided, Redshift…

Processing

Question

A company wants to improve the data load time of a sales data dashboard. Data has been collected as .csv files and stored within an Amazon S3 bucket that is partitioned by date. The data is then loaded to an Amazon Redshift data warehouse for frequent analysis. The data volume is up to 500 GB per day. Which solution will improve the data loading performance?

Options

  • ACompress .csv files and use an INSERT statement to ingest data into Amazon Redshift.
  • BSplit large .csv files, then use a COPY command to load data into Amazon Redshift.
  • CUse Amazon Kinesis Data Firehose to ingest data into Amazon Redshift.
  • DLoad the .csv files in an unsorted key order and vacuum the table in Amazon Redshift.

How the community answered

(22 responses)
  • A
    18% (4)
  • B
    73% (16)
  • C
    5% (1)
  • D
    5% (1)

Explanation

Splitting large CSV files and using the COPY command (Option B) is the best approach for high-throughput loading into Amazon Redshift. The COPY command is the recommended and most efficient method for bulk data ingestion into Redshift. When multiple files are provided, Redshift automatically parallelizes the load across all compute slices in the cluster, maximizing I/O throughput. Option A is wrong because INSERT statements are row-by-row operations - extremely slow for 500 GB/day. Option C uses Kinesis Firehose, which is designed for streaming ingestion, not bulk batch loading optimization. Option D is counterproductive - loading in unsorted order increases the need for VACUUM operations, adding overhead rather than improving performance.

Topics

#Redshift data loading#Performance optimization#Redshift COPY command#S3 integration

Community Discussion

No community discussion yet for this question.

Full DAS-C01 Practice