nerdexam
Amazon

DEA-C01 · Question #194

A company uses Amazon Redshift as its data warehouse. Data encoding is applied to the existing tables of the data warehouse. A data engineer discovers that the compression encoding applied to some…

The correct answer is B. Run the ANALYZE COMPRESSION command against the identified tables. Manually update the. The ANALYZE COMPRESSION command analyzes the data in a table and recommends the optimal compression encoding for each column based on the actual data distribution. After running this command, the data engineer reviews the recommendations and manually applies them using ALTER…

Data Store Management

Question

A company uses Amazon Redshift as its data warehouse. Data encoding is applied to the existing tables of the data warehouse. A data engineer discovers that the compression encoding applied to some of the tables is not the best fit for the data. The data engineer needs to improve the data encoding for the tables that have sub-optimal encoding. Which solution will meet this requirement?

Options

  • ARun the ANALYZE command against the identified tables. Manually update the compression
  • BRun the ANALYZE COMPRESSION command against the identified tables. Manually update the
  • CRun the VACUUM REINDEX command against the identified tables.
  • DRun the VACUUM RECLUSTER command against the identified tables.

How the community answered

(22 responses)
  • A
    14% (3)
  • B
    73% (16)
  • C
    5% (1)
  • D
    9% (2)

Explanation

The ANALYZE COMPRESSION command analyzes the data in a table and recommends the optimal compression encoding for each column based on the actual data distribution. After running this command, the data engineer reviews the recommendations and manually applies them using ALTER TABLE or by recreating the table with the new encodings. Option A (ANALYZE) updates table statistics for the query planner but does not evaluate or recommend compression encodings. Option C (VACUUM REINDEX) is used for interleaved sort keys and regenerates the sort order - it does not change column encodings. Option D (VACUUM RECLUSTER) re-sorts rows based on the sort key for new data but also does not affect compression encodings.

Topics

#Amazon Redshift#Data Compression#Data Optimization#ANALYZE COMPRESSION

Community Discussion

No community discussion yet for this question.

Full DEA-C01 Practice