Courseiva
Data Operations and SupportmediumMultiple SelectObjective-mapped

DEA-C01 Data Operations and Support Practice Question

A data engineer is troubleshooting a slow Amazon Redshift query. The query plan shows a large number of 'DS_DIST_ALL_INNER' and 'DS_BCAST_INNER' operations. Which TWO actions would likely improve query performance?

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

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

Using DISTSTYLE KEY on the join column for large tables colocates data with the same key on the same slice, reducing the need for data redistribution operations like DS_DIST_ALL_INNER and DS_BCAST_INNER. Option C is correct because increasing the number of slices by resizing the cluster distributes data across more compute nodes, allowing more parallelism and reducing the relative impact of data redistribution. Option A is incorrect because setting DISTSTYLE to ALL on both tables would broadcast each table to all nodes, increasing data movement and likely worsening performance. Option D is incorrect because SORTKEYs optimize range-restricted scans and sorting, not join data movement. Option E is incorrect because dropping and recreating tables with the same DDL does not change distribution or sort strategies, so it does not address the root cause of excessive redistribution.

Answer analysis

Option-by-option breakdown

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

  • Set DISTSTYLE to ALL for both tables.

    Why it's wrong here

    ALL distributes entire table to each node, increasing broadcast cost.

  • Change the distribution style of large tables to KEY on the join column.

    Why this is correct

    KEY distribution collocates data on the same slice, reducing redistribution.

  • Increase the number of slices by resizing the cluster.

    Why this is correct

    More slices reduce the amount of data per slice and improve parallelism.

  • Define SORTKEYs on the join columns.

    Why it's wrong here

    SORTKEYs help with range scans, not joins.

  • Drop and recreate the tables with the same DDL.

    Why it's wrong here

    Recreating tables with same DDL does not change performance.

About these practice questions

This DEA-C01 question is part of Courseiva's 1,711-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 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.