List of questions
Related questions
Question 118 - ARA-C01 discussion
A Snowflake Architect created a new data share and would like to verify that only specific records in secure views are visible within the data share by the consumers.
What is the recommended way to validate data accessibility by the consumers?
A.
Create reader accounts as shown below and impersonate the consumers by logging in with their credentials. create managed account reader_acctl admin_name = userl , adroin_password 'Sdfed43da!44T , type = reader;
B.
Create a row access policy as shown below and assign it to the data share. create or replace row access policy rap_acct as (acct_id varchar) returns boolean -> case when 'acctl_role' = current_role() then true else false end;
C.
Set the session parameter called SIMULATED_DATA_SHARING_C0NSUMER as shown below in order to impersonate the consumer accounts. alter session set simulated_data_sharing_consumer - 'Consumer Acctl*
D.
Alter the share settings as shown below, in order to impersonate a specific consumer account. alter share sales share set accounts = 'Consumerl' share restrictions = true
Your answer:
0 comments
Sorted by
Leave a comment first