Pass the Snowflake SnowPro Advanced: Architect ARA-R01 Questions and answers with CertsForce

Viewing page 3 out of 5 pages
Viewing questions 21-30 out of questions
Questions # 21:

An Architect has a VPN_ACCESS_LOGS table in the SECURITY_LOGS schema containing timestamps of the connection and disconnection, username of the user, and summary statistics.

What should the Architect do to enable the Snowflake search optimization service on this table?

Options:

A.

Assume role with OWNERSHIP on future tables and ADD SEARCH OPTIMIZATION on the SECURITY_LOGS schema.


B.

Assume role with ALL PRIVILEGES including ADD SEARCH OPTIMIZATION in the SECURITY LOGS schema.


C.

Assume role with OWNERSHIP on VPN_ACCESS_LOGS and ADD SEARCH OPTIMIZATION in the SECURITY_LOGS schema.


D.

Assume role with ALL PRIVILEGES on VPN_ACCESS_LOGS and ADD SEARCH OPTIMIZATION in the SECURITY_LOGS schema.


Expert Solution
Questions # 22:

Consider the following COPY command which is loading data with CSV format into a Snowflake table from an internal stage through a data transformation query.

Question # 22

This command results in the following error:

SQL compilation error: invalid parameter 'validation_mode'

Assuming the syntax is correct, what is the cause of this error?

Options:

A.

The VALIDATION_MODE parameter supports COPY statements that load data from external stages only.


B.

The VALIDATION_MODE parameter does not support COPY statements with CSV file formats.


C.

The VALIDATION_MODE parameter does not support COPY statements that transform data during a load.


D.

The value return_all_errors of the option VALIDATION_MODE is causing a compilation error.


Expert Solution
Questions # 23:

A company is using a Snowflake account in Azure. The account has SAML SSO set up using ADFS as a SCIM identity provider. To validate Private Link connectivity, an Architect performed the following steps:

* Confirmed Private Link URLs are working by logging in with a username/password account

* Verified DNS resolution by running nslookups against Private Link URLs

* Validated connectivity using SnowCD

* Disabled public access using a network policy set to use the company’s IP address range

However, the following error message is received when using SSO to log into the company account:

IP XX.XXX.XX.XX is not allowed to access snowflake. Contact your local security administrator.

What steps should the Architect take to resolve this error and ensure that the account is accessed using only Private Link? (Choose two.)

Options:

A.

Alter the Azure security integration to use the Private Link URLs.


B.

Add the IP address in the error message to the allowed list in the network policy.


C.

Generate a new SCIM access token using system$generate_scim_access_token and save it to Azure AD.


D.

Update the configuration of the Azure AD SSO to use the Private Link URLs.


E.

Open a case with Snowflake Support to authorize the Private Link URLs’ access to the account.


Expert Solution
Questions # 24:

A table, EMP_ TBL has three records as shown:

Question # 24

The following variables are set for the session:

Question # 24

Which SELECT statements will retrieve all three records? (Select TWO).

Options:

A.

Select * FROM Stbl_ref WHERE Scol_ref IN ('Name1','Nam2','Name3');


B.

SELECT * FROM EMP_TBL WHERE identifier(Scol_ref) IN ('Namel','Name2', 'Name3');


C.

SELECT * FROM identifier WHERE NAME IN ($var1, $var2, $var3);


D.

SELECT * FROM identifier($tbl_ref) WHERE ID IN Cvarl','var2','var3');


E.

SELECT * FROM $tb1_ref WHERE $col_ref IN ($var1, Svar2, Svar3);


Expert Solution
Questions # 25:

How can an Architect enable optimal clustering to enhance performance for different access paths on a given table?

Options:

A.

Create multiple clustering keys for a table.


B.

Create multiple materialized views with different cluster keys.


C.

Create super projections that will automatically create clustering.


D.

Create a clustering key that contains all columns used in the access paths.


Expert Solution
Questions # 26:

At which object type level can the APPLY MASKING POLICY, APPLY ROW ACCESS POLICY and APPLY SESSION POLICY privileges be granted?

Options:

A.

Global


B.

Database


C.

Schema


D.

Table


Expert Solution
Questions # 27:

An Architect for a multi-national transportation company has a system that is used to check the weather conditions along vehicle routes. The data is provided to drivers.

The weather information is delivered regularly by a third-party company and this information is generated as JSON structure. Then the data is loaded into Snowflake in a column with a VARIANT data type. This

table is directly queried to deliver the statistics to the drivers with minimum time lapse.

A single entry includes (but is not limited to):

- Weather condition; cloudy, sunny, rainy, etc.

- Degree

- Longitude and latitude

- Timeframe

- Location address

- Wind

The table holds more than 10 years' worth of data in order to deliver the statistics from different years and locations. The amount of data on the table increases every day.

The drivers report that they are not receiving the weather statistics for their locations in time.

What can the Architect do to deliver the statistics to the drivers faster?

Options:

A.

Create an additional table in the schema for longitude and latitude. Determine a regular task to fill this information by extracting it from the JSON dataset.


B.

Add search optimization service on the variant column for longitude and latitude in order to query the information by using specific metadata.


C.

Divide the table into several tables for each year by using the timeframe information from the JSON dataset in order to process the queries in parallel.


D.

Divide the table into several tables for each location by using the location address information from the JSON dataset in order to process the queries in parallel.


Expert Solution
Questions # 28:

A new user user_01 is created within Snowflake. The following two commands are executed:

Command 1-> show grants to user user_01;

Command 2 ~> show grants on user user 01;

What inferences can be made about these commands?

Options:

A.

Command 1 defines which user owns user_01

Command 2 defines all the grants which have been given to user_01


B.

Command 1 defines all the grants which are given to user_01 Command 2 defines which user owns user_01


C.

Command 1 defines which role owns user_01

Command 2 defines all the grants which have been given to user_01


D.

Command 1 defines all the grants which are given to user_01

Command 2 defines which role owns user 01


Expert Solution
Questions # 29:

An Architect needs to grant a group of ORDER_ADMIN users the ability to clean old data in an ORDERS table (deleting all records older than 5 years), without granting any privileges on the table. The group’s manager (ORDER_MANAGER) has full DELETE privileges on the table.

How can the ORDER_ADMIN role be enabled to perform this data cleanup, without needing the DELETE privilege held by the ORDER_MANAGER role?

Options:

A.

Create a stored procedure that runs with caller’s rights, including the appropriate "> 5 years" business logic, and grant USAGE on this procedure to ORDER_ADMIN. The ORDER_MANAGER role owns the procedure.


B.

Create a stored procedure that can be run using both caller’s and owner’s rights (allowing the user to specify which rights are used during execution), and grant USAGE on this procedure to ORDER_ADMIN. The ORDER_MANAGER role owns the procedure.


C.

Create a stored procedure that runs with owner’s rights, including the appropriate "> 5 years" business logic, and grant USAGE on this procedure to ORDER_ADMIN. The ORDER_MANAGER role owns the procedure.


D.

This scenario would actually not be possible in Snowflake – any user performing a DELETE on a table requires the DELETE privilege to be granted to the role they are using.


Expert Solution
Questions # 30:

Which of the below commands will use warehouse credits?

Options:

A.

SHOW TABLES LIKE 'SNOWFL%';


B.

SELECT MAX(FLAKE_ID) FROM SNOWFLAKE;


C.

SELECT COUNT(*) FROM SNOWFLAKE;


D.

SELECT COUNT(FLAKE_ID) FROM SNOWFLAKE GROUP BY FLAKE_ID;


Expert Solution
Viewing page 3 out of 5 pages
Viewing questions 21-30 out of questions