Exam SnowPro Core All QuestionsBrowse all questions from this exam
Question 976

Which command line flags can be used to log into a Snowflake account using SnowSQL? (Choose two.)

    Correct Answer: A, D

    To log into a Snowflake account using SnowSQL, the command line flags used are '-d' for database and '-a' for account name. The '-d' flag specifies the database to use, while the '-a' flag specifies the account identifier, which is essential for authentication in Snowflake. These flags are generally among the ones frequently used for connecting to a Snowflake account via SnowSQL.

Discussion
0e504b5Options: AD

-a, --accountname TEXT Your account identifier. Honors $SNOWSQL_ACCOUNT. -d, --dbname TEXT Database to use. Honors $SNOWSQL_DATABASE. https://docs.snowflake.com/en/user-guide/snowsql-start

MarkantiOptions: AD

https://docs.snowflake.com/en/user-guide/snowsql-start

GwoOptions: AD

AD. https://docs.snowflake.com/en/user-guide/snowsql-use