139k views
0 votes
Which of the following is true regarding Roles in Snowflake?

A. A snowflake user can have one or many roles
B. users in snowflake can only have a max of 10 roles assigned
C. in addition to roles privileges may be directly assigned to a named user
D. for an active user session only one role can be the active role at a given time

1 Answer

5 votes

Final answer:

A snowflake user can have one or many roles, privileges may be directly assigned to a named user, only one role can be the active role for a user session at a given time in Snowflake.

Step-by-step explanation:

The correct answer is A. A snowflake user can have one or many roles. In Snowflake, a role is a named set of privileges that can be granted to users. Users can have one or many roles assigned to them, allowing them to access and perform different tasks based on their assigned roles.

Additionally, C. In addition to roles, privileges may be directly assigned to a named user is also true. While roles are commonly used to manage permissions, some privileges can be assigned directly to named users for more specific control.

Lastly, D. For an active user session, only one role can be the active role at a given time is true as well. When a user logs into Snowflake, they can activate one role out of the roles assigned to them, and that activated role determines their access and permissions during that session.

User M Hadadi
by
9.7k points