Courseiva
Data Store Management →mediumMultiple Choice

DEA-C01 Data Store Management Practice Question

A company uses Amazon Redshift for analytics. The data engineer notices that queries are slow due to many small inserts. Which technique would improve write performance?

⚠ Common exam trap

It's easy for candidates to confuse performance tuning for reads (DISTKEY/SORTKEY) or general scaling (adding nodes) with the specific write performance bottleneck caused by many small inserts, overlooking the COPY command as the primary solution for bulk data loading.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Use the COPY command to load data from Amazon S3.

The COPY command is the recommended way to load data into Amazon Redshift because it performs bulk inserts in parallel across all nodes, leveraging the cluster's distributed architecture. Small individual INSERT statements cause high overhead due to transaction logging and commit processing, leading to slow write performance. By loading data from Amazon S3 using COPY, you bypass these per-row overheads and achieve optimal throughput.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    Use the COPY command to load data from Amazon S3.

    Why this is correct

    Row-by-row inserts force Redshift to commit many small transactions, which is inefficient. COPY loads large batches in parallel from Amazon S3 directly into the cluster, dramatically improving write throughput and reducing the overhead of many small inserts.

  • ✗

    Define DISTKEY and SORTKEY on the table.

    Why it's wrong here

    DISTKEY and SORTKEY govern data distribution and sort order for read queries, not insert batching; small inserts still incur per-statement overhead. They are tempting because they optimise scan and join performance, and would be correct when queries are slow from poor pruning or redistribution rather than write volume.

  • ✗

    Increase the number of nodes in the cluster.

    Why it's wrong here

    Adding nodes increases storage and compute capacity for reads, but each small insert still commits individually, so per-statement overhead remains unchanged. It is tempting because scaling is the usual remedy for resource-bound workloads, and would be correct if the cluster were genuinely CPU- or memory-saturated during query execution.

  • ✗

    Configure workload management (WLM) queues.

    Why it's wrong here

    WLM queues allocate memory and concurrency across query types; they govern read-side resource contention and do nothing for row-by-row insert overhead. The fix is batching small inserts into larger COPY or multi-row transactions. WLM would be right when concurrent query workloads starve each other.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

One of 1,321 original DEA-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DEA-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DEA-C01 exam.