ExamGecko
Question list
Search
Search

Question 86 - COF-C02 discussion

Report
Export

What SQL command would be used to view all roles that were granted to user.1?

A.
show grants to user USER1;
Answers
A.
show grants to user USER1;
B.
show grants of user USER1;
Answers
B.
show grants of user USER1;
C.
describe user USER1;
Answers
C.
describe user USER1;
D.
show grants on user USER1;
Answers
D.
show grants on user USER1;
Suggested answer: A

Explanation:

The correct command to view all roles granted to a specific user in Snowflake isSHOW GRANTS TO USER <user_name>;. This command lists all access control privileges that have been explicitly granted to the specified user. References:SHOW GRANTS | Snowflake Documentation

asked 23/09/2024
ROBERTO INFANTAS
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first