AWS Certified Data Engineer Associate DEA-C01 Practice Question

A retail company is migrating its on-premises data warehouse to Amazon Redshift. Analysts typically run star-schema queries that filter on the last 90 days of sales and join a 3-billion-row fact table with small calendar and store dimension tables. The fact table is bulk-loaded nightly with about 5 million new rows. Which table design best balances query performance and load efficiency in Amazon Redshift?

  • Define the fact table with an interleaved sort key on sale_date and store_id and DISTSTYLE EVEN; keep all dimension tables at DISTSTYLE EVEN.

  • Define the fact table with a compound sort key (sale_date, store_id) and DISTKEY store_id; set the calendar and store dimensions to DISTSTYLE ALL.

  • Define the fact table without a sort key and use DISTSTYLE AUTO; keep the dimension tables at their default distribution style.

  • Define the fact table with a compound sort key (store_id, sale_date) and DISTKEY sale_date; set the dimension tables to DISTSTYLE KEY on sale_date.

AWS Certified Data Engineer Associate DEA-C01
Data Store Management
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot