ExamGecko
Question list
Search
Search

Question 689 - COF-C02 discussion

Report
Export

Which command should be used to assign a key to a Snowflake user who needs to connect using key pair authentication?

A.
ALTER USER jsmith SET RSA_P8_KEY='MIIBIjANBgkqh...';
Answers
A.
ALTER USER jsmith SET RSA_P8_KEY='MIIBIjANBgkqh...';
B.
ALTER USER jsmith SET ENCRYPTED_KEY='MIIBIjANBgkqh...';
Answers
B.
ALTER USER jsmith SET ENCRYPTED_KEY='MIIBIjANBgkqh...';
C.
ALTER USER jsmith SET RSA_PRIVATE_KEY='MIIBIjANBgkqh...';
Answers
C.
ALTER USER jsmith SET RSA_PRIVATE_KEY='MIIBIjANBgkqh...';
D.
ALTER USER jsmith SET RSA_PUBLIC_KEY-MIIBIjANBgkqh...';
Answers
D.
ALTER USER jsmith SET RSA_PUBLIC_KEY-MIIBIjANBgkqh...';
Suggested answer: D

Explanation:

To use key pair authentication in Snowflake, you need to set the public key for the user. This allows the user to authenticate using their private key. Generate Key Pair: Generate a public and private key pair. Set Public Key: ALTER USER jsmith SET RSA_PUBLIC_KEY='MIIBIjANBgkqh...'; Authentication: The user can now authenticate by signing requests with the corresponding private key. References: Snowflake Documentation: Key Pair Authentication & Key Rotation Snowflake Documentation: ALTER USER

asked 23/09/2024
FRANK THYS
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first