ExamGecko
Question list
Search
Search

Question 638 - COF-C02 discussion

Report
Export

When an object is created in Snowflake. who owns the object?

A.
The public role
Answers
A.
The public role
B.
The user's default role
Answers
B.
The user's default role
C.
The current active primary role
Answers
C.
The current active primary role
D.
The owner of the parent schema
Answers
D.
The owner of the parent schema
Suggested answer: C

Explanation:

In Snowflake, when an object is created, it is owned by the role that is currently active. This active role is the one that is being used to execute the creation command. Ownership implies full control over the object, including the ability to grant and revoke access privileges. This is specified in Snowflake's documentation under the topic of Access Control, which states that 'the role in use at the time of object creation becomes the owner of the object.'

References:

Snowflake Documentation: Object Ownership

asked 23/09/2024
Hitesh Karangiya
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first