Custom roles can be created by the SECURITYADMIN role as well as by any role to which the CREATE ROLE privilege has been granted.

Master the SnowPro Advanced Architect Test with flashcards, multiple-choice questions, and detailed explanations. Prepare thoroughly for your certification!

Multiple Choice

Custom roles can be created by the SECURITYADMIN role as well as by any role to which the CREATE ROLE privilege has been granted.

Explanation:
Creating custom roles in Snowflake hinges on privileges. To create a role, a user’s role must have the CREATE ROLE privilege. The SECURITYADMIN role has that capability as part of its broad security-management duties, so it can create custom roles. In addition, any role that has been granted the CREATE ROLE privilege can also create new roles. So, custom roles can be created either by the SECURITYADMIN role or by any role to which the CREATE ROLE privilege has been granted. This fits because not every role automatically has that privilege; it must be granted.

Creating custom roles in Snowflake hinges on privileges. To create a role, a user’s role must have the CREATE ROLE privilege. The SECURITYADMIN role has that capability as part of its broad security-management duties, so it can create custom roles. In addition, any role that has been granted the CREATE ROLE privilege can also create new roles. So, custom roles can be created either by the SECURITYADMIN role or by any role to which the CREATE ROLE privilege has been granted. This fits because not every role automatically has that privilege; it must be granted.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy