SnowPro Core Exam QuestionsBrowse all questions from this exam

SnowPro Core Exam - Question 55


A role is created and owns 2 tables. This role is then dropped. Who will now own the two tables?

Show Answer
Correct Answer: D

In Snowflake, when a role is dropped, the ownership of any objects owned by that role, such as tables, is transferred to the role that executes the DROP ROLE command. Therefore, the assumed role that dropped the role will now own the two tables.

Discussion

16 comments
Sign in to comment
uncle_benzOption: D
Nov 8, 2022

A user can't own a table. Ownership of any objects owned by the dropped role is transferred to the *role* that executes the DROP ROLE command.

TapsinhaOption: D
Jan 31, 2022

D Ownership of any objects owned by the dropped role is transferred to the role that executes the DROP ROLE command. To transfer ownership of each of these objects to a different role, use GRANT OWNERSHIP … COPY CURRENT GRANTS.

Josa2Option: D
Mar 1, 2023

D is the RIGHT ANSWER https://docs.snowflake.com/en/sql-reference/sql/drop-role#usage-notes Ownership of any objects owned by the dropped role is transferred to the role that executes the DROP ROLE command. To transfer ownership of each of these objects to a different role, use GRANT OWNERSHIP … COPY CURRENT GRANTS.

lostriOption: D
Jan 17, 2022

Answer is D

seaunOption: D
Oct 27, 2022

D is correct

BobFarOption: D
Oct 11, 2023

Correct answer is D Ownership of any objects owned by the dropped role is transferred to the role that executes the DROP ROLE command. https://docs.snowflake.com/en/sql-reference/sql/drop-role#usage-notes

_yyuktaOption: D
Feb 24, 2024

D is correct

greenleverOption: B
Oct 19, 2022

B Correct

greenleverOption: B
Oct 25, 2022

B is correct

Tapasgup007Option: D
Dec 7, 2022

D is correct

AndroJSOption: D
Jan 6, 2023

Users don´t own objects, role does so answer is D

Mayuri917233Option: D
May 11, 2023

D is correct

magnasiun1Option: D
Jun 18, 2023

D is the RIGHT ANSWER

Marge23Option: D
Sep 1, 2023

D. Dropped roles cannot be recovered; they must be recreated. Ownership of any objects owned by the dropped role is transferred to the role that executes the DROP ROLE command. To transfer ownership of each of these objects to a different role, use GRANT OWNERSHIP … COPY CURRENT GRANTS.

PrashantGupta1616Option: D
Jun 6, 2024

D. The assumed role that dropped the role In Snowflake, when a role is dropped, the ownership of objects owned by that role (such as tables) is transferred to the role that performed the drop operation. Therefore, the assumed role that dropped the role will now own the two tables.

Mallikharjuna452Option: D
Jul 18, 2024

D is Correct