D2: Redshift Loading & Performance Best Practices
AWS Associate Data Engineer – Associate exam practice questions · 10 flashcards
Question
COPY best practice for file count?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Redshift Loading & Performance Best Practices practice questions and answers
- COPY best practice for file count?Use multiple files, ideally a multiple of the number of slices, similar size (1 MB–1 GB compressed).
- Why avoid single-row INSERTs in Redshift?Very slow; use COPY or multi-row inserts.
- Redshift auto COPY from S3?COPY JOB automatically loads new files from an S3 prefix.
- VACUUM?Reclaims space and re-sorts rows after deletes/updates (often automatic).
- ANALYZE?Updates table statistics for the query planner (often automatic).
- Upsert pattern in Redshift?Load to staging table then MERGE (or delete+insert) into target.
- Redshift Advisor?Recommends distribution/sort keys, compression, and other optimizations.
- Automatic table optimization?Redshift chooses sort/dist keys automatically based on workload.
- Redshift concurrency limits fix?Concurrency scaling, WLM queues, or Serverless.
- Scenario: nightly 100 GB CSV load into Redshift is slow from one big file. Fix?Split into many compressed files and COPY in parallel.