nerdexam
Snowflake

ARA-C01 · Question #114

When would you usually consider to add clustering key to a table?

The correct answer is A. The performance of the query has deteriorated over a period of time. C. it is a multi-terabyte size table. Clustering keys in Snowflake help optimize micro-partition pruning for large tables. Answer A is correct: when query performance degrades over time, it often indicates that data has been inserted in a non-clustered order, causing poor pruning efficiency - adding a clustering…

Performance Optimization

Question

When would you usually consider to add clustering key to a table?

Options

  • AThe performance of the query has deteriorated over a period of time.
  • BThe number of users querying the table has increased
  • Cit is a multi-terabyte size table
  • DThe table has more than 20 columns

How the community answered

(56 responses)
  • A
    79% (44)
  • B
    14% (8)
  • D
    7% (4)

Explanation

Clustering keys in Snowflake help optimize micro-partition pruning for large tables. Answer A is correct: when query performance degrades over time, it often indicates that data has been inserted in a non-clustered order, causing poor pruning efficiency - adding a clustering key triggers automatic reclustering to maintain data organization. Answer C is correct: clustering is most beneficial and cost-effective on multi-terabyte tables, where the overhead of maintaining the cluster is justified by significant pruning improvements. Answer B is incorrect: adding more users is a workload concurrency issue, not a clustering issue - scaling the warehouse or enabling multi-cluster warehouses addresses this. Answer D is incorrect: column count has no bearing on whether clustering is beneficial; the relevant factor is query filter selectivity on specific columns.

Topics

#Clustering Key#Query Performance#Table Optimization#Automatic Clustering

Community Discussion

No community discussion yet for this question.

Full ARA-C01 Practice