nerdexam
Snowflake

SOL-C01 · Question #207

You're using Snowflake Cortex's CLASSIFY TEXT function to analyze customer survey responses. A particular survey question asks respondents to list their favorite features of a product. You want to use

Sign in or unlock SOL-C01 to reveal the answer and full explanation for question #207. The question stem and answer options stay visible for context.

Querying and Performance

Question

You're using Snowflake Cortex's CLASSIFY TEXT function to analyze customer survey responses. A particular survey question asks respondents to list their favorite features of a product. You want to use CLASSIFY TEXT to categorize the responses, but many responses contain multiple distinct features. How can you best leverage CLASSIFY TEXT to classify each feature mentioned in a single response individually?

Options

  • AUse a regular expression UDF to split each survey response into individual sentences (assuming
  • BConcatenate all survey responses into a single large string and apply CLASSIFY_TEXT to this
  • CApply CLASSIFY _ TEXT directly to each full survey response. The function is designed to handle
  • DThere is no way to classify multiple features within a single response using CLASSIFY TEXT. The
  • EUse a Python UDF that leverages an NLP library (e.g., spaCy) to extract individual features from

Unlock SOL-C01 to see the answer

You've previewed enough free SOL-C01 questions. Unlock SOL-C01 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Snowflake Cortex#CLASSIFY TEXT#Python UDF#Feature Extraction
Full SOL-C01 Practice