Performance Concepts: Query Optimization Quiz Flashcards

1
Q

What is the minimum Snowflake edition with the materialized view feature?

A

Enterprise

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the maximum number of tables a materialized view can reference in it’s query definition?

A

1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which definition best describes natural clustering? Choose one correct value.
- Natural clustering describes the distribution of data among micro-partitions
- Natural clustering describes how large micro-partitions are
- Natural clustering describes how frequently a table is populated
- Natural clustering describes how many times a value in a micro-partition appears

A

Natural clustering describes the distribution of data among micro-partitions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which piece of clustering metadata does Snowflake not maintain for micro-partitions? Choose one correct value.
- Total number of micro-partitions
- Average number of overlapping micro-partitions
- Depth of overlapping micro-partitions
- Average overlapping micro-partitions across tables

A

Average overlapping micro-partitions across tables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

It’s possible to specify two columns (or expressions) in the system function, ‘clustering information’, such as in the following example select query: SELECT system$clustering_information(‘table’, ‘(col1,col3)’). True or false?

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Automatic clustering is recommended for tables larger than _______.

A

1 TB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Snowflake supports specifying one or more table columns/expressions on a table as a clustering key. True or false?

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which best describes what the search optimization service does? Choose one correct value.
- The search optimization service allows one account to share data securely with another account
- The search optimization service allows users to selectively mask data at query runtime
- The search optimization service allows users to improve the performance of selective point lookup queries
- The search optimization service allows users to search globally across a Snowflake account and it’s data for a specific record

A

The search optimization service allows users to improve the performance of selective point lookup queries

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The results of a query are cached for minimum of which duration?

A

24 hours

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

The larger the virtual warehouse the larger the local cache. True or false?

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly