Exam SnowPro Advanced Architect All QuestionsBrowse all questions from this exam
Question 97

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?

    Correct Answer: C

    The correct way to validate data accessibility by the consumers is by setting the session parameter called SIMULATED_DATA_SHARING_CONSUMER. This allows the Snowflake Architect to simulate the consumer account within their own session, thereby ensuring that they see the data exactly as the consumer would, including any restrictions applied by secure views.

Discussion
Atomic_GeckoOption: C

C is correct: Specifies the name of a consumer account to simulate for testing/validating shared data, particularly shared secure views. When this parameter is set in a session, shared views return rows as if executed in the specified consumer account rather than the provider account.