Weekend Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sntaclus

What is a characteristic of the use of binding variables in JavaScript stored procedures in Snowflake?

A.

All types of JavaScript variables can be bound

B.

All Snowflake first-class objects can be bound

C.

Only JavaScript variables of type number, string and sf Date can be bound

D.

Users are restricted from binding JavaScript variables because they create SQL injection attack vulnerabilities

Within a Snowflake account permissions have been defined with custom roles and role hierarchies.

To set up column-level masking using a role in the hierarchy of the current user, what command would be used?

A.

CORRECT_ROLE

B.

IKVOKER_ROLE

C.

IS_RCLE_IN_SESSION

D.

IS_GRANTED_TO_INVOKER_ROLE

A company built a sales reporting system with Python, connecting to Snowflake using the Python Connector. Based on the user's selections, the system generates the SQL queries needed to fetch the data for the report First it gets the customers that meet the given query parameters (on average 1000 customer records for each report run) and then it loops the customer records sequentially Inside that loop it runs the generated SQL clause for the current customer to get the detailed data for that customer number from the sales data table

When the Data Engineer tested the individual SQL clauses they were fast enough (1 second to get the customers 0 5 second to get the sales data for one customer) but the total runtime of the report is too long

How can this situation be improved?

A.

Increase the size of the virtual warehouse

B.

Increase the number of maximum clusters of the virtual warehouse

C.

Define a clustering key for the sales data table

D.

Rewrite the report to eliminate the use of the loop construct

Which functions will compute a 'fingerprint' over an entire table, query result, or window to quickly detect changes to table contents or query results? (Select TWO).

A.

HASH (*)

B.

HASH_AGG(*)

C.

HASH_AGG(, )

D.

HASH_AGG_COMPARE (*)

E.

HASH COMPARE(*)

A Data Engineer wants to check the status of a pipe named my_pipe. The pipe is inside a database named test and a schema named Extract (case-sensitive).

Which querywill provide the status of the pipe?

A.

SELECT FROM SYSTEM$PIPE_STATUS (''test.'extract'.my_pipe"i:

B.

SELECT FROM SYSTEM$PIPE_STATUS (,test.,,Extracr,,.ny_pipe, i I

C.

SELE2T * FROM SYSTEM$PIPE_STATUS < ' test. "Extract", my_pipe');

D.

SELECT * FROM SYSTEM$PIPE_STATUS ("test. 'extract' .my_pipe"};

A Data Engineer is writing a Python script using the Snowflake Connector for Python. The Engineer will use the snowflake. Connector.connect function to connect to Snowflake The requirementsare:

*Raise an exception if the specified database schema or warehouse does not exist

*improve download performance

Whichparameters of the connect function should be used? (Select TWO).

A.

authenticator

B.

arrow_nunber_to_decimal

C.

client_prefetch_threads

D.

client_session_keep_alivs

E.

validate_default_parameters

While running an external function, me following error message is received:

Error:function received the wrong number of rows

What iscausing this to occur?

A.

External functions do not support multiple rows

B.

Nested arrays are not supported in the JSON response

C.

The JSON returned by the remote service is not constructed correctly

D.

The return message did not produce the same number of rows that it received

Which Snowflake objects does the Snowflake Kafka connector use? (Select THREE).

A.

Pipe

B.

Serverless task

C.

Internal user stage

D.

Internal table stage

E.

Internal named stage

F.

Storage integration

A Data Engineer ran a stored procedure containing various transactions During the execution, the session abruptly disconnected preventing one transactionfrom committing or rolling hark.The transaction was left in a detached state and created a lock on resources

...must the Engineer take to immediately run a new transaction?

A.

Call the system function SYSTEM$ABORT_TRANSACTION.

B.

Call the system function SYSTEM$CANCEL_TRANSACTION.

C.

Set the LOCK_TIMEOUTto FALSE in the stored procedure

D.

Set the transaction abort on error to true in the stored procedure.