Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
SnowPro Advanced: Administrator · Snowflake
Select 2 answers.
This question asks for 2 answers, but our data marks only 1. Compare with the community discussion below for the full answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
https://docs.snowflake.com/en/developer-guide/sql-api/authenticating This topic describes how to authenticate to the server when using the Snowflake SQL API. When you send a request, the request must include authentication information. The next sections explain how to add this information to the request: Using OAuth Using key-pair authentication
Based on the Snowflake documentation, the SQL API supports the following authentication methods:1 The correct answers are: A. OAuth - The SQL API supports OAuth authentication where you include an OAuth token in the Authorization header as Bearer oauth_token. B. Key pair - The SQL API supports key-pair authentication using JWT tokens, which you can specify with the X-Snowflake-Authorization-Token-Type: KEYPAIR_JWT header.
A: The SQL API supports OAuth 2.0 tokens for authentication. This is the recommended approach for secure, programmatic access. You can use Snowflake’s built-in OAuth server or an external IdP that’s configured for Snowflake. C because: The SQL API accepts a Snowflake username and password in the request body to generate a session token (though OAuth is preferred for security reasons).