ExamGecko
Question list
Search
Search

Question 175 - COF-C02 discussion

Report
Export

Which Snowflake SQL statement would be used to determine which users and roles have access to a role called MY_ROLE?

A.
SHOW GRANTS OF ROLE MY_ROLE
Answers
A.
SHOW GRANTS OF ROLE MY_ROLE
B.
SHOW GRANTS TO ROLE MY_ROLE
Answers
B.
SHOW GRANTS TO ROLE MY_ROLE
C.
SHOW GRANTS FOR ROLE MY_ROLE
Answers
C.
SHOW GRANTS FOR ROLE MY_ROLE
D.
SHOW GRANTS ON ROLE MY_ROLE
Answers
D.
SHOW GRANTS ON ROLE MY_ROLE
Suggested answer: B

Explanation:

The SQL statementSHOW GRANTS TO ROLE MY_ROLEis used to determine which users and roles have access to a role called MY_ROLE. This statement lists all the privileges granted to the role, including which roles and users can assume MY_ROLE.References:[COF-C02] SnowPro Core Certification Exam Study Guide

asked 23/09/2024
Gishi Anurag
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first