SnowPro Advanced: Architect — Question 69

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?

Answer options

Correct answer: C

Explanation

The correct answer is C, as setting the SIMULATED_DATA_SHARING_CONSUMER session parameter allows the architect to impersonate consumer accounts effectively, enabling validation of data access. Option A is incorrect because creating reader accounts does not directly validate data accessibility. Option B is not suitable for this scenario since it involves assigning a row access policy rather than checking visibility. Option D alters share settings but does not provide a direct method for validating data accessibility.