SnowPro Core Certification — Question 169

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

Answer options

Correct answer: A

Explanation

The correct answer is A, as the command SHOW GRANTS OF ROLE MY_ROLE specifically lists all users and roles that have been granted the role MY_ROLE. The other options are incorrect because they either imply a direction or context that doesn't match the requirement of identifying who has access to the role.