Which Snowflake SQL statement would be used to determine which users and roles have access to a role called MY_ROLE?
Suggested Answer: B
Get Premium COF-C02 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
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
35 comments · newest first
OD
Odelia
1 month ago
D is confusing. Why "on"? Not sure about that.
DA
Daryl
1 month ago
C sounds right. Grants for a role?
RE
Ressie
2 months ago
I feel like it's B. Grants to a role make sense.
EM
Emmanuel
2 months ago
I think it's A. Seems straightforward.
CL
Clay
2 months ago
I believe it's D) SHOW GRANTS ON ROLE MY_ROLE. It specifies the role clearly.
DE
Deane
2 months ago
I'm leaning towards C) SHOW GRANTS FOR ROLE MY_ROLE. It sounds right to me.
CH
Chery
2 months ago
I feel like it could be B) SHOW GRANTS TO ROLE MY_ROLE. It makes sense for access.
HE
Herman
3 months ago
I think it's A) SHOW GRANTS OF ROLE MY_ROLE. Seems straightforward.
KY
Kyoko
3 months ago
D is confusing. Why "on"?
LE
Lenny
3 months ago
C sounds right. Grants for a role?
DE
Desirae
3 months ago
I feel like it's B. Grants to a role make sense.
DO
Dong
3 months ago
I think it's A. Seems straightforward.
SU
Sue
3 months ago
Wait, is it really A? I thought there were other options too!
CH
Charlene
4 months ago
I agree with A, that's the standard way to check grants.
MA
Malinda
4 months ago
A seems right, but why not C?
BA
Barrett
4 months ago
I thought it was B) SHOW GRANTS TO ROLE MY_ROLE.
GL
Glendora
4 months ago
It's definitely A) SHOW GRANTS OF ROLE MY_ROLE.
DO
Dominic
4 months ago
I thought there were more options for this.
JU
Julianna
4 months ago
No way, it's definitely A.
GE
Gertude
5 months ago
Wait, are you sure? I thought it was B.
AH
Ahmed
5 months ago
Totally agree, that's the right one!
LA
Lashawnda
5 months ago
It's A) SHOW GRANTS OF ROLE MY_ROLE.
CO
Colby
5 months ago
I thought it was C, but now I'm doubting myself!
VE
Veronika
7 months ago
I always mix these up, but A sounds right.
GA
Gail
7 months ago
Wait, are you sure? I thought it was B.
LE
Lemuel
7 months ago
Totally agree, that's the right one!
TO
Tomoko
7 months ago
It's A) SHOW GRANTS OF ROLE MY_ROLE.
AL
Alishia
7 months ago
I’m leaning towards C) SHOW GRANTS FOR ROLE MY_ROLE, but I’m not confident. This is tricky!
JO
Jose
7 months ago
I feel like B) SHOW GRANTS TO ROLE MY_ROLE could be the answer, but I might be mixing it up with another command.
MA
Maybelle
8 months ago
I remember practicing a question similar to this, and I think it was about grants too. Maybe it’s D) SHOW GRANTS ON ROLE MY_ROLE?
JE
Jerry
8 months ago
I think it's A) SHOW GRANTS OF ROLE MY_ROLE, but I’m not completely sure if that’s the right syntax.
KR
Kristine
8 months ago
I thought it was C) SHOW GRANTS FOR ROLE MY_ROLE, but that doesn't sound quite right now that I think about it.
AL
Alberto
8 months ago
I feel like it could be D) SHOW GRANTS ON ROLE MY_ROLE, but I can't recall if "ON" is the correct keyword for this context.
LI
Lindsey
8 months ago
I remember practicing a similar question, and I think it was about showing grants to a user, which might be B) SHOW GRANTS TO ROLE MY_ROLE.
JI
Jill
9 months ago
I think it's A) SHOW GRANTS OF ROLE MY_ROLE, but I'm not entirely sure if that's the right syntax.