Exam SnowPro Core All QuestionsBrowse all questions from this exam
Question 342

User INQUISITIVE_PERSON has been granted the role DATA_SCIENCE. The role DATA_SCIENCE has privileges OWNERSHIP on the schema MARKETING of the database ANALYTICS_DW.

Which command will show all privileges granted to that schema?

    Correct Answer: B

    To show all privileges granted to a specific schema, the appropriate command is 'SHOW GRANTS ON SCHEMA [database_name].[schema_name]'. Therefore, the command 'SHOW GRANTS ON SCHEMA ANALYTICS_DW.MARKETING' will display all privileges granted to the schema MARKETING in the ANALYTICS_DW database.

Discussion
sakis213Option: B

SHOW GRANTS ON DATABASE, WAREHOUSE, SCHEMA name

Marge23Option: B

correct

MultiCloudIronManOption: B

Correct

examed11Option: B

https://docs.snowflake.com/en/sql-reference/sql/show-grants#variants