Snowflake
SOL-C01 · Question #257
A data scientist wants to use a library, 'special_function', within a Snowflake Notebook, but that library is not pre-installed in the Snowflake environment. The data scientist does not have ACCOUNTAD
Sign in or unlock SOL-C01 to reveal the answer and full explanation for question #257. The question stem and answer options stay visible for context.
Querying and Performance
Question
A data scientist wants to use a library, 'special_function', within a Snowflake Notebook, but that library is not pre-installed in the Snowflake environment. The data scientist does not have ACCOUNTADMIN privileges. Which of the following methods could be used to make the 'special_function' library available for use within the notebook?
Options
- AUse '!pip install special_function' in a notebook cell. This will install the library globally for all users
- BRequest an ACCOUNTADMIN to create a Snowflake Anaconda channel using 'CREATE
- CCreate a local virtual environment within the Snowflake Notebook's file system, install the library
- DUpload the library file ('special_function.py' or similar) to a Snowflake stage, and then import the
- ECreate a zip file containing `special_function' and its dependencies, upload it to an internal stage,
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
#Snowpark#Python Libraries#Dependency Management#Stages