ExamGecko
Question list
Search
Search

Question 447 - SnowPro Core discussion

Report
Export

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

A.

SHOW GRANTS ON ROLE <Role Name>

Answers
A.

SHOW GRANTS ON ROLE <Role Name>

B.

SHOW ROLES <Role Name>

Answers
B.

SHOW ROLES <Role Name>

C.

SHOW GRANTS TO ROLE <Role Name>

Answers
C.

SHOW GRANTS TO ROLE <Role Name>

D.

SHOW GRANTS FOR ROLE <Role Name>

Answers
D.

SHOW GRANTS FOR ROLE <Role Name>

Suggested answer: C

Explanation:

To verify the privileges that have been granted to a specific role in Snowflake, the correct SQL command is SHOW GRANTS TO ROLE <Role Name>. This command lists all the privileges granted to the specified role, including access to schemas, tables, and other database objects. This is a useful command for administrators and users with sufficient privileges to audit and manage role permissions within the Snowflake environment.

Snowflake Documentation: SHOW GRANTS

asked 29/10/2024
Brian scott
28 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first