Which statement about the CLUSTER BY clause is true?

Master the SnowPro Advanced Architect Test with flashcards, multiple-choice questions, and detailed explanations. Prepare thoroughly for your certification!

Multiple Choice

Which statement about the CLUSTER BY clause is true?

Explanation:
CLUSTER BY designates a clustering key made up of the listed columns. This tells Snowflake how to organize data within micro-partitions so that the query optimizer can prune partitions more effectively when you filter on those columns. It’s a single composite clustering key, not multiple independent keys. That’s why stating that multiple independent keys are created isn’t correct—the list defines one clustering strategy, not separate keys. It doesn’t delete existing clustering keys. Defining a clustering key doesn’t remove others on its own. It doesn’t automatically update with every insert by default. Inserting data doesn’t automatically recluster unless automatic clustering is explicitly enabled as a separate feature.

CLUSTER BY designates a clustering key made up of the listed columns. This tells Snowflake how to organize data within micro-partitions so that the query optimizer can prune partitions more effectively when you filter on those columns.

It’s a single composite clustering key, not multiple independent keys. That’s why stating that multiple independent keys are created isn’t correct—the list defines one clustering strategy, not separate keys.

It doesn’t delete existing clustering keys. Defining a clustering key doesn’t remove others on its own.

It doesn’t automatically update with every insert by default. Inserting data doesn’t automatically recluster unless automatic clustering is explicitly enabled as a separate feature.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy