Courseiva
Data Store Management →hardMultiple Select

DEA-C01 Data Store Management Practice Question

A data engineer is optimizing an Amazon Redshift cluster for a workload that includes frequent complex queries with multiple joins and aggregations. The engineer wants to improve query performance by using appropriate distribution styles and sort keys. Which TWO actions should the engineer take? (Choose two.)

⚠ Common exam trap

The trap here is assuming that sort keys or materialized views are the primary optimizations for join performance, when distribution styles have a more direct impact on data movement during joins.

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 distribution style of small dimension tables to ALL.

Setting the distribution style of large fact tables to KEY on the join column collocates matching rows, reducing data movement during joins. Setting small dimension tables to ALL replicates them to all nodes, eliminating redistribution. Together, these actions minimize network traffic and accelerate complex join queries. They are fundamental best practices for optimizing Amazon Redshift performance in join-heavy workloads.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Create a materialized view for each complex query.

    Why it's wrong here

    Materialized views can improve performance for repetitive queries by precomputing results, but they are not a substitute for proper distribution and sort key design. They add storage and maintenance overhead, and may not be suitable for ad-hoc or varying queries. The question focuses on optimizing the underlying table design, not creating precomputed views, so this is not one of the two best actions.

  • ✓

    Set the distribution style of small dimension tables to ALL.

    Why this is correct

    ALL distribution replicates small dimension tables to every node, eliminating the need to redistribute data during joins. This is effective for small tables that are frequently joined with large fact tables. It reduces network overhead and improves join performance, but should only be used for tables that are small enough to fit comfortably in node memory and storage.

  • ✗

    Use EVEN distribution for all tables to ensure uniform data distribution.

    Why it's wrong here

    EVEN distribution spreads data evenly across nodes, which is useful for tables not involved in joins. However, for join-heavy workloads, EVEN distribution causes data redistribution during joins, increasing network traffic and slowing queries. It is not optimal for large fact tables that join on specific columns, as it does not collocate matching rows, leading to inefficient join execution.

  • ✗

    Apply a sort key on the column used in the WHERE clause of frequent queries.

    Why it's wrong here

    While sort keys can improve query performance by enabling efficient range scans, this option is not one of the two best actions for optimizing joins and aggregations. Sort keys are beneficial for filtering and range queries, but distribution styles are more critical for join performance. Additionally, the question asks for actions to improve performance for complex queries with multiple joins; sort keys alone may not address data movement during joins.

  • ✓

    Set the distribution style of large fact tables to KEY on the join column.

    Why this is correct

    Using a KEY distribution on the join column for large fact tables collocates matching rows on the same node, minimizing data movement during joins. This reduces network traffic and speeds up join operations, especially for frequently joined large tables. It is a best practice for optimizing join performance in Redshift when the join column has high cardinality and is used in many queries.

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 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.