ExamGecko
Question list
Search
Search

Question 597 - COF-C02 discussion

Report
Export

What is the default access of a securable object until other access is granted?

A.
No access
Answers
A.
No access
B.
Read access
Answers
B.
Read access
C.
Write access
Answers
C.
Write access
D.
Full access
Answers
D.
Full access
Suggested answer: A

Explanation:

In Snowflake, the default access level for any securable object (such as a table, view, or schema) is 'No access' until explicit access is granted. This means that when an object is created, only the owner of the object and roles with the necessary privileges can access it. Other users or roles will not have any form of access to the object until it is explicitly granted.

This design adheres to the principle of least privilege, ensuring that access to data is tightly controlled and that users and roles only have the access necessary for their functions. To grant access, the owner of the object or a role with the GRANT option can use the GRANT statement to provide specific privileges to other users or roles.

For example, to grant SELECT access on a table to a specific role, you would use a command similar to:

GRANT SELECT ON TABLE my_table TO ROLE my_role;

asked 23/09/2024
Marcelo Tamaki
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first