ExamGecko
Question list
Search
Search

Question 577 - COF-C02 discussion

Report
Export

Authorization to execute CREATE <object> statements comes only from which role?

A.
Primary role
Answers
A.
Primary role
B.
Secondary role
Answers
B.
Secondary role
C.
Application role
Answers
C.
Application role
D.
Database role
Answers
D.
Database role
Suggested answer: A

Explanation:

In Snowflake, the authorization to execute CREATE <object> statements, such as creating tables, views, databases, etc., is determined by the role currently set as the user's primary role. The primary role of a user or session specifies the set of privileges (including creation privileges) that the user has. While users can have multiple roles, only the primary role is used to determine what objects the user can create unless explicitly specified in the session.

asked 23/09/2024
Maritza Van Der Merwe
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first