SnowPro Advanced Architect Exam QuestionsBrowse all questions from this exam

SnowPro Advanced Architect Exam - Question 100


A new user user_01 is created within Snowflake. The following two commands are executed:

Command 1 --> show grants to user user_01;

Command 2 --> show grants on user user_01;

What inferences can be made about these commands?

Show Answer
Correct Answer: BD

Command 1 'show grants to user user_01;' defines all the grants which are given to user_01. Command 2 'show grants on user user_01;' defines which user owns user_01. Command 1 lists the roles and privileges assigned to the user, whereas Command 2 lists the entity (either another role or an account) that has ownership rights over the user account.

Discussion

1 comment
Sign in to comment
NachoPrendesOption: C
Jul 19, 2024

Checked on Snowflake https://docs.snowflake.com/en/sql-reference/sql/show-grants#:~:text=the%20demo%20user%3A-,SHOW%20GRANTS%20TO%20USER,-demo%3B%0A%0A%2B