Pass the Snowflake SnowPro Advanced: Administrator ADA-C01 Questions and answers with CertsForce

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

An organization's sales team leverages this Snowflake query a few times a day:

SELECT CUSTOMER ID, CUSTOMER_NAME, ADDRESS, PHONE NO

FROM CUSTOMERS

WHERE LAST UPDATED BETWEEN TO_DATE (CURRENT_TIMESTAMP) AND (TO_DATE (CURRENT_TIMESTAMP) -7);

What can the Snowflake Administrator do to optimize the use of persisted query results whenever possible?

Options:

A.

Wrap the query in a User-Defined Function (UDF) to match syntax execution.


B.

Assign everyone on the sales team to the same virtual warehouse.


C.

Assign everyone on the sales team to the same security role.


D.

Leverage the CURRENT_DATE function for date calculations.


Expert Solution
Questions # 22:

Which Snowflake objects can be managed using SCIM integration? (Select TWO).

Options:

A.

Stages


B.

Users


C.

Warehouses


D.

Roles


E.

Shares


Expert Solution
Questions # 23:

A company's Snowflake account has multiple roles. Each role should have access only to data that resides in the given role's specific region.

When creating a row access policy, which code snippet below will provide privileges to the role ALL_ACCESS_ROLE to see all rows regardless of region, while the other

roles can only see rows for their own regions?

Options:

A.

create or replace row access policy region policy as (region_value varchar) returns boolean ->

'ALL ACCESS_ROLE' = current_role ()

and exists (

select 1 from entitlement_table

where role = current_role ()

and region = region_value

)


B.

create or replace row access policy region policy as (region_value varchar) returns boolean ->

exists (

select 1 from entitlement_table

where role = current_role ()

and region = region_value

)


C.

create or replace row access policy region policy as (region_value varchar) returns boolean ->

'ALL_ACCESS_ROLE' = current_role ()

or exists (

select 1 from entitlement_table

where role = current_role ()

and region = region_value

)


D.

create or replace row access policy region policy as (region_value varchar) returns boolean ->

'ALL ACCESS ROLE' = current_role ()

)


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