Valid SPS-C01 Dumps shared by EduDump.com for Helping Passing SPS-C01 Exam! EduDump.com now offer the newest SPS-C01 exam dumps, the EduDump.com SPS-C01 exam questions have been updated and answers have been corrected get the newest EduDump.com SPS-C01 dumps with Test Engine here:
You have a Snowpark Python application that interacts with Snowflake using a service account. You are rotating the private key associated with the service account. After updating the private key in your application's configuration, you encounter an error during the connection attempt: 'SnowflakeSQLException: 390103 (OSAOO): Failed to connect to DB. Encountered exception while creating connection: Authentication token has expired.' What is the MOST likely cause of this error, and what steps should you take to resolve it?
Correct Answer: C
The error 'Authentication token has expired' in the context of a service account and private key rotation strongly suggests that the Snowflake instance has not been updated with the new public key that corresponds to the updated private key. Snowflake uses the public key to verify the authenticity of the client using the private key. Option C directly addresses this: The public key must be updated in Snowflake using the 'ALTER SERVICE ACCOUNT command to match the new private key being used by the application. Option A, although potentially helpful in other scenarios, does not address the core issue of mismatched key pairs. Options B, D, and E address other potential problems but are less likely in this specific scenario where the error occurs after a key rotation.