☁️

Amazon Redshift Interview Questions

2 free questions to get you started. Unlock all sections (Normal, Code & Logic) with Pro.

Free sample — easy bait
1

What is Amazon Redshift and how does it differ from RDS? Normal

Redshift is AWS’s managed, petabyte-scale data warehouse for analytics. It uses columnar storage and Massively Parallel Processing (MPP): a leader node plans queries and compute nodes run them in parallel. It’s optimized for complex analytical queries over large data. RDS is for transactional (OLTP) workloads: row-based, ACID, single-node or read replicas. Use Redshift for BI, reporting, and data lakes; use RDS for applications and operational databases.

2

What is a distribution key (DISTKEY) and why does it matter? Normal

The distribution key determines which slice (and node) stores each row. Rows with the same key value are co-located. For JOINs, if both tables are distributed on the join column, the join can happen locally without moving data (collocated join). Options include KEY (hash on a column, typical for fact tables), EVEN (round-robin), ALL (copy to every node, for small dimension tables), and AUTO. Choosing the right DISTKEY is critical for query performance.

Unlock all Redshift interview questions

25+ questions across architecture, COPY, Spectrum, tuning, and design — with full answers.

Upgrade to Pro
Architecture & design
3

Explain leader node vs compute nodes and slices. Normal

Unlock with Pro for the answer.

4

Write a CREATE TABLE with DISTKEY and SORTKEY for a fact table. Code

Unlock with Pro for the SQL.

5

When would you use EVEN vs KEY distribution? Logic

Unlock with Pro for the answer.

Data loading & Spectrum
6

How does the COPY command work and why use it instead of INSERT? Normal

Unlock with Pro for the answer.

7

Write a COPY command to load from S3 (CSV) with manifest and IAM. Code

Unlock with Pro for the SQL.

8

What is Redshift Spectrum and when would you use it? Logic

Unlock with Pro for the answer.

Performance & tuning
9

What are SORTKEY (compound vs interleaved) and when to use each? Normal

Unlock with Pro for the answer.

10

How do you use EXPLAIN to debug a slow query in Redshift? Code

Unlock with Pro for the answer.

11

Design a schema (DISTKEY/SORTKEY) for a star schema in Redshift. Logic

Unlock with Pro for the answer.