Snowflake SnowPro Core Practice Test - Questions Answers, Page 45
List of questions
Related questions
Which type of role can be granted to a share?
Account role
Custom role
Database role
Secondary role
What information is found within the Statistic output in the Query Profile Overview?
Operator tree
Table pruning
Most expensive nodes
Nodes by execution time
Regardless of which notation is used, what are considerations for writing the column name and element names when traversing semi-structured data?
The column name and element names are both case-sensitive.
The column name and element names are both case-insensitive.
The column name is case-sensitive but element names are case-insensitive.
The column name is case-insensitive but element names are case-sensitive.
What criteria does Snowflake use to determine the current role when initiating a session? (Select TWO).
If a role was specified as part of the connection and that role has been granted to the Snowflake user, the specified role becomes the current role.
If no role was specified as part of the connection and a default role has been defined for the Snowflake user, that role becomes the current role.
If no role was specified as part of the connection and a default role has not been set for the Snowflake user, the session will not be initiated and the log in will fail.
If a role was specified as part of the connection and that role has not been granted to the Snowflake user, it will be ignored and the default role will become the current role.
If a role was specified as part of the connection and that role has not been granted to the Snowflake user, the role is automatically granted and it becomes the current role.
When referring to User-Defined Function (UDF) names in Snowflake, what does the term overloading mean?
There are multiple SOL UDFs with the same names and the same number of arguments.
There are multiple SQL UDFs with the same names and the same number of argument types.
There are multiple SQL UDFs with the same names but with a different number of arguments or argument types.
There are multiple SQL UDFs with different names but the same number of arguments or argument types.
Which data types optimally store semi-structured data? (Select TWO).
ARRAY
CHARACTER
STRING
VARCHAR
VARIANT
Which SQL command can be used to verify the privileges that are granted to a role?
SHOW GRANTS ON ROLE <Role Name>
SHOW ROLES <Role Name>
SHOW GRANTS TO ROLE <Role Name>
SHOW GRANTS FOR ROLE <Role Name>
Which service or feature in Snowflake is used to improve the performance of certain types of lookup and analytical queries that use an extensive set of WHERE conditions?
Data classification
Query acceleration service
Search optimization service
Tagging
There are two Snowflake accounts in the same cloud provider region: one is production and the other is non-production. How can data be easily transferred from the production account to the non-production account?
Clone the data from the production account to the non-production account.
Create a data share from the production account to the non-production account.
Create a subscription in the production account and have it publish to the non-production account.
Create a reader account using the production account and link the reader account to the non-production account.
Which privilege is required to use the search optimization service in Snowflake?
GRANT SEARCH OPTIMIZATION ON SCHEMA <schema_name> TO ROLE <role>
GRANT SEARCH OPTIMIZATION ON DATABASE <database_name> TO ROLE <role>
GRANT ADD SEARCH OPTIMIZATION ON SCHEMA <schema_name> TO ROLE <role>
GRANT ADD SEARCH OPTIMIZATION ON DATABASE <database name> TO ROLE <role>
Question