ExamGecko
Home Home / Snowflake / SnowPro Core

Snowflake SnowPro Core Practice Test - Questions Answers, Page 27

Question list
Search
Search

What happens to the shared objects for users in a consumer account from a share, once a database has been created in that account?

A.
The shared objects are transferred.
A.
The shared objects are transferred.
Answers
B.
The shared objects are copied.
B.
The shared objects are copied.
Answers
C.
The shared objects become accessible.
C.
The shared objects become accessible.
Answers
D.
The shared objects can be re-shared.
D.
The shared objects can be re-shared.
Answers
Suggested answer: C

Explanation:

Once a database has been created in a consumer account from a share, the shared objects become accessible to users in that account.The shared objects are not transferred or copied; they remain in the provider's account and are accessible to the consumer account

Which parameter can be used to instruct a COPY command to verify data files instead of loading them into a specified table?

A.
STRIP_NULL_VALUES
A.
STRIP_NULL_VALUES
Answers
B.
SKIP_BYTE_ORDER_MARK
B.
SKIP_BYTE_ORDER_MARK
Answers
C.
REPLACE_INVALID_CHARACTERS
C.
REPLACE_INVALID_CHARACTERS
Answers
D.
VALIDATION_MODE
D.
VALIDATION_MODE
Answers
Suggested answer: D

Explanation:

TheVALIDATION_MODEparameter can be used with theCOPYcommand to verify data files without loading them into the specified table.This parameter allows users to check for errors in the files

Which Snowflake tool would be BEST to troubleshoot network connectivity?

A.
SnowCLI
A.
SnowCLI
Answers
B.
SnowUI
B.
SnowUI
Answers
C.
SnowSQL
C.
SnowSQL
Answers
D.
SnowCD
D.
SnowCD
Answers
Suggested answer: D

Explanation:

SnowCD (Snowflake Connectivity Diagnostic Tool) is the best tool provided by Snowflake for troubleshooting network connectivity issues.It helps diagnose and resolve issues related to connecting to Snowflake services

https://docs.snowflake.com/en/user-guide/snowcd.html#:~:text=SnowCD%20(i.e.%20Snowflake%20Connectivity%20Diagnostic,their%20network%20connection%20to%20Snowflake.

Which activities are included in the Cloud Sen/ices layer? (Select TWO).

A.
Data storage
A.
Data storage
Answers
B.
Dynamic data masking
B.
Dynamic data masking
Answers
C.
Partition scanning
C.
Partition scanning
Answers
D.
User authentication
D.
User authentication
Answers
E.
Infrastructure management
E.
Infrastructure management
Answers
Suggested answer: D, E

Explanation:

The Cloud Services layer in Snowflake includes activities such as user authentication and infrastructure management.This layer coordinates activities across Snowflake, including security enforcement, query compilation and optimization, and more

What is the purpose of using the OBJECT_CONSTRUCT function with me COPY INTO command?

A.
Reorder the rows in a relational table and then unload the rows into a file
A.
Reorder the rows in a relational table and then unload the rows into a file
Answers
B.
Convert the rows in a relational table lo a single VARIANT column and then unload the rows into a file.
B.
Convert the rows in a relational table lo a single VARIANT column and then unload the rows into a file.
Answers
C.
Reorder the data columns according to a target table definition and then unload the rows into the table.
C.
Reorder the data columns according to a target table definition and then unload the rows into the table.
Answers
D.
Convert the rows in a source file to a single variant column and then load the rows from the file to a variant table.
D.
Convert the rows in a source file to a single variant column and then load the rows from the file to a variant table.
Answers
Suggested answer: B

Explanation:

TheOBJECT_CONSTRUCTfunction is used with theCOPY INTOcommand to convert the rows in a relational table to a single VARIANT column, which can then be unloaded into a file.This is useful for transforming table data into a semi-structured JSON format

Which Snowflake object can be accessed in he FROM clause of a query, returning a set of rows having one or more columns?

A.
A User-Defined Table Function (UDTF)
A.
A User-Defined Table Function (UDTF)
Answers
B.
A Scalar User Function (UDF)
B.
A Scalar User Function (UDF)
Answers
C.
A stored procedure
C.
A stored procedure
Answers
D.
A task
D.
A task
Answers
Suggested answer: A

Explanation:

In Snowflake, a User-Defined Table Function (UDTF) can be accessed in theFROMclause of a query.UDTFs return a set of rows with one or more columns, which can be queried like a regular table

Which type of join will list a I rows in the specified table, even if those rows have no match in the other table?

A.
Cross join
A.
Cross join
Answers
B.
Inner join
B.
Inner join
Answers
C.
Natural join
C.
Natural join
Answers
D.
Outer join
D.
Outer join
Answers
Suggested answer: D

Explanation:

An outer join, specifically a left outer join, will list all rows from the left table and match them with rows from the right table. If there is no match, the result will still include the row from the left table, with NULLs for columns from the right table.Reference:Based on general SQL knowledge as of 2021.

Which operations are handled in the Cloud Services layer of Snowflake? (Select TWO).

A.
Security
A.
Security
Answers
B.
Data storage
B.
Data storage
Answers
C.
Data visualization
C.
Data visualization
Answers
D.
Query computation
D.
Query computation
Answers
E.
Metadata management
E.
Metadata management
Answers
Suggested answer: A, E

Explanation:

The Cloud Services layer in Snowflake is responsible for various services, including security (like authentication and authorization) and metadata management (like query parsing and optimization).Reference:Based on general cloud architecture knowledge as of 2021.

How can a data provider ensure that a data consumer is going to have access to the required objects?

A.
Enable the data sharing feature in the account and validate the view.
A.
Enable the data sharing feature in the account and validate the view.
Answers
B.
Use the CURRENT_ROLE and CURRENT_USER functions to validate secure views.
B.
Use the CURRENT_ROLE and CURRENT_USER functions to validate secure views.
Answers
C.
Use the CURRENT_ function to authorize users from a specific account to access rows in a base table.
C.
Use the CURRENT_ function to authorize users from a specific account to access rows in a base table.
Answers
D.
Set the SIMULATED DATA SHARING CONSUMER session parameter to the name of the consumer account for which access is being simulated.
D.
Set the SIMULATED DATA SHARING CONSUMER session parameter to the name of the consumer account for which access is being simulated.
Answers
Suggested answer: A

Explanation:

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.Reference:Based on general data sharing practices in cloud services as of 2021.

How can a user improve the performance of a single large complex query in Snowflake?

A.
Scale up the virtual warehouse.
A.
Scale up the virtual warehouse.
Answers
B.
Scale out the virtual warehouse.
B.
Scale out the virtual warehouse.
Answers
C.
Enable standard warehouse scaling.
C.
Enable standard warehouse scaling.
Answers
D.
Enable economy warehouse scaling.
D.
Enable economy warehouse scaling.
Answers
Suggested answer: A

Explanation:

Scaling up the virtual warehouse in Snowflake involves increasing the compute resources available for a single warehouse, which can improve the performance of large and complex queries by providing more CPU and memory resources.Reference:Based on general cloud data warehousing knowledge as of 2021.

Total 627 questions
Go to page: of 63