
Answer-first summary for fast verification
Answer: User-Defined Functions (UDFs), Stored procedures
The question asks for Snowflake objects that can contain custom application logic written in JavaScript and requires selecting two options. User-Defined Functions (UDFs) are explicitly designed to encapsulate custom logic and support JavaScript as one of the programming languages. Stored procedures also support JavaScript for implementing custom application logic. Stages are used for data storage and loading, not for custom logic. Tasks are used for scheduling SQL statements but don't directly contain JavaScript application logic. Views are virtual tables defined by SQL queries and don't support JavaScript programming. The community discussion shows 100% consensus on E (UDFs), and while not explicitly shown, stored procedures (A) are the other correct choice based on Snowflake documentation that both UDFs and stored procedures support JavaScript for custom logic implementation.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.