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

Which SQL command can be used to verify the privileges that are granted to a role?

    Correct Answer: C

    The correct SQL command to verify the privileges that are granted to a role is 'SHOW GRANTS TO ROLE <role name>'. This command lists all privileges and roles that have been granted to a specified role.

Discussion
miadieselOption: C

Answer shown does not even exist. Show grants to role: List all privileges granted https://docs.snowflake.com/en/sql-reference/sql/show-grants.html#show-grants

Kate0204Option: C

https://docs.snowflake.com/en/sql-reference/sql/show-grants.html#show-grants

learner2023Option: C

SHOW GRANTS TO ... ROLE role_name Lists all privileges and roles granted to the role.

KarBiswaOption: C

https://docs.snowflake.com/en/sql-reference/sql/show-grants

romega2Option: C

C obviously

Marge23Option: C

show grants to role; generate results for all granted privileges of the role.