AWS Certified Database – Specialty — Question 266

A retail company uses Amazon Redshift for its 1 PB data warehouse. Several analytical workloads run on a Redshift cluster. The tables within the cluster have grown rapidly. End users are reporting poor performance of daily reports that run on the transaction fact tables.

A database specialist must change the design of the tables to improve the reporting performance. All the changes must be applied dynamically. The changes must have the least possible impact on users and must optimize the overall table size.

Which solution will meet these requirements?

Answer options

Correct answer: B

Explanation

Amazon Redshift Advisor provides automated recommendations for optimizing sort keys. For optimal query performance, the primary sort key column should be configured with RAW compression to prevent decompression overhead during range scans, while other columns should use AZ64 compression to achieve high data compression and fast query execution. Modifying the table properties dynamically using ALTER TABLE commands avoids the need for disruptive deep copies, which minimizes the impact on active users.