QuestionQ14

Implement Snowflake data science best practices

A Data Scientist created a session using Snowpark Python (the snowflake-snowpark-python package) with the following code:

Question Image

Which parameters are required to authenticate the session?

Choose two
  • A Account
  • B Database
  • C Role
  • D User
  • E Virtual warehouse
Explanation

For a Snowpark Python session using the externalbrowser authenticator, the connection must identify the Snowflake account and the user. The role, database, and virtual warehouse configure the session’s authorization context, database context, and compute resource; they are not required authentication parameters. Snowflake documents role, warehouse, and database as optional connection parameters and shows browser-based SSO with authenticator set to externalbrowser.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!