Courseiva
Data Store Management →mediumMultiple Choice

DEA-C01 Data Store Management Practice Question

A data engineer is using Amazon Redshift and needs to improve the performance of complex queries that join large tables. The engineer has already set the distribution style to KEY on the join columns. What additional step should the engineer take to optimize the join performance?

⚠ Common exam trap

The trap here is assuming that adding more nodes or enabling concurrency scaling will automatically improve join performance, when the real gain comes from sort keys and proper data layout.

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

✓

Set the sort key on the columns used in the join and in the WHERE clause.

Sort keys on join and filter columns allow Redshift to perform merge joins and skip unnecessary data blocks, reducing I/O and data movement. This optimizes join performance without adding resources. The other options either scale resources or change distribution in ways that are not optimal for large tables.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Change the distribution style to ALL for all large tables.

    Why it's wrong here

    Using ALL distribution copies the entire table to every node, which increases storage and load time. For large tables, this is inefficient and can degrade performance due to higher data movement during loads. The engineer already set KEY distribution on join columns, which is appropriate for large tables; switching to ALL would be counterproductive.

  • ✗

    Enable concurrency scaling to handle concurrent queries.

    Why it's wrong here

    Concurrency scaling adds transient clusters to handle bursts of concurrent queries, improving throughput. However, it does not optimize the performance of a single complex join query. The requirement is to improve join performance, not to handle more concurrent users.

  • ✓

    Set the sort key on the columns used in the join and in the WHERE clause.

    Why this is correct

    Sort keys enable efficient range scans and merge joins by co-locating data on disk in sorted order. When joining large tables, having the join columns as sort keys can allow Redshift to use merge joins instead of hash joins, reducing data movement and improving performance. This is a best practice for join optimization.

  • ✗

    Increase the number of nodes in the Redshift cluster to add more compute resources.

    Why it's wrong here

    Adding nodes increases compute and storage capacity, but it does not optimize the join itself. Without proper sort keys, the join may still require significant data movement across nodes. Scaling is a costly solution that does not address the underlying query execution efficiency for joins.

About these practice questions

This DEA-C01 question is part of Courseiva's 1,321-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Amazon Web Services exam blueprint

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.