SnowPro Advanced: Data Engineer — Question 91

A Data Engineer is using a Snowflake Standard edition and has an external function in schema A, a view in schema B, and then creates a SHARE and adds the view to the SHARE as follows:

create secure view B.my_shared_view as select A.my_external_function(x) ...; create share things_to_share; grant select on view my_shared_view to share things_to_share;

What will be true about this command?

Answer options

Correct answer: B

Explanation

The correct answer is B because in Snowflake, when sharing a view that depends on an external function, the external function cannot be executed through the SHARE. Options A and C are incorrect as they misrepresent the context of the view and schema references. Option D is also incorrect because the external function can be used in the Standard edition but not shared.