SnowPro Advanced: Data Engineer — Question 64

A Data Engineer has created a scalar User-Defined Function (UDF) that contains a SELECT statement based on a projection constraint column. The Engineer notices that the UDF behaves differently depending on how it is being used.

What are the expected behaviors of the UDF for the named context? (Choose two.)

Answer options

Correct answer: A, D

Explanation

The correct answer A indicates that when using a Scalar SQL UDF, Snowflake allows execution and can return NULL, which is expected behavior. Option D is correct because it states that the UDF executes without capturing logs, aligning with the behavior in Logging & Event Tables. Options B, C, and E do not accurately describe the expected behaviors in the given contexts.