- (Topic 4)
Which views are included in the DATA SHARING USAGE schema? (Select TWO).
Correct Answer:
DE
The DATA_SHARING_USAGE schema includes views that display information about listings published in the Snowflake Marketplace or a data exchange, which includes DATA_TRANSFER_HISTORY and LISTING_TELEMETRY_DAILY2.
- (Topic 3)
How can a data provider ensure that a data consumer is going to have access to the required objects?
Correct Answer:
A
To ensure a data consumer has access to the required objects, a data provider can enable the data sharing feature and validate that the consumer can access the views or tables shared with them. References: Based on general data sharing practices in cloud services as of 2021.
- (Topic 3)
Which statement describes how Snowflake supports reader accounts?
Correct Answer:
B
Snowflake supports reader accounts, which are a type of account that allows data providers to share data with consumers who are not Snowflake customers. However, for data sharing to occur, the consumer needs to become a licensed Snowflake customer because data sharing is only supported between Snowflake accounts. References: Introduction to Secure Data Sharing | Snowflake Documentation2.
- (Topic 5)
Which function is used to convert rows in a relational table to a single VARIANT column?
Correct Answer:
D
TheOBJECT_CONSTRUCTfunction in Snowflake is used to convert rows in a relational table into a single VARIANT column that represents each row as a JSON object. This function dynamically creates a JSON object from a list of key-value pairs, where each key is a column name and each value is the corresponding column value for a row. This is particularly useful for aggregating and transforming structured data into semi- structured JSON format for further processing or analysis.
References:
✑ Snowflake Documentation: Semi-structured Data Functions
- (Topic 3)
Which privilege must be granted to a share to allow secure views the ability to reference data in multiple databases?
Correct Answer:
D
To allow secure views the ability to reference data in multiple databases, the REFERENCE_USAGE privilege must be granted on each database that contains objects referenced by the secure view2. This privilege is necessary before granting the SELECT privilege on a secure view to a share.