Although additional privileges can be granted to the system-defined roles, it is not recommended. System-defined roles are created with privileges related to account-management. As a best practice, it is not recommended to mix account-management privileges and entity-specific privileges in the same role. If additional privileges are needed, Snowflake recommends granting the additional privileges to a custom role and assigning the custom role to the system-defined role.
In this case, the question is not crystal clear, or the theory is wrong, because, there is no such thing like Custome Role to be Snowflake predefined roles. Custome roles are not built-in roles. otherwise, why to call them custom roles.
A.
Although additional privileges can be granted to the system-defined roles, it is not recommended. System-defined roles are created with privileges related to account-management. As a best practice, it is not recommended to mix account-management privileges and entity-specific privileges in the same role. If additional privileges are needed, Snowflake recommends granting the additional privileges to a custom role and assigning the custom role to the system-defined role.
https://docs.snowflake.com/en/user-guide/security-access-control-overview
Check this:
https://docs.snowflake.com/en/user-guide/security-access-control-configure#:~:text=The%20following%20diagram%20shows%20an%20example%20role%20hierarchy%20and%20the%20privileges%20granted%20to%20each%20role%3A
Clearly shows that procedure of adding additional privileges to the system-defined roles is by granting the additional privileges to a custom role which is than assigned to SYSADMIN role.
And we know that Snowflake recomends assigning custom roles to SYSADMIN role - which is what this trick questions is all about.
Although additional privileges can be granted to the system-defined roles, it is not recommended. System-defined roles are created with privileges related to account-management. As a best practice, it is not recommended to mix account-management privileges and entity-specific privileges in the same role. If additional privileges are needed, Snowflake recommends granting the additional privileges to a custom role and assigning the custom role to the system-defined role.
Documented.. don't spam vote wrong answers
A is not about system defined roles... I asked chat gpt
In Snowflake, it is generally not recommended to add additional privileges to the system-defined roles because doing so can potentially compromise the security and integrity of the system. Instead, it is recommended to create custom roles and grant specific privileges to those roles as needed.
However, if you do need to add additional privileges to a system-defined role, the recommended way to do so is by using the "GRANT" statement. For example, to add the "CREATE TABLE" privilege to the "SYSADMIN" role, you can....
Chat gpt is nice but never trust it 100%! Also it has info up until 2021 and Snowflake release update every week as far as I remember so be more cautious about your search :)
Snowflake recommends that a user should grant the additional privileges to a custom role, instead of modifying the system-defined roles for their virtual warehouse.
System-defined roles are preconfigured roles provided by Snowflake, which are intended to be used as-is. Modifying the privileges of these roles can cause unexpected behavior and can impact the security of your Snowflake environment. Additionally, system-defined roles cannot be deleted or modified, which means that any changes you make to these roles will be permanent and cannot be undone.
Instead, Snowflake recommends that you create custom roles and grant the necessary privileges to those roles. This approach allows you to grant precise privileges to users, while maintaining the security and integrity of your Snowflake environment. You can also modify and delete custom roles as needed, providing greater flexibility and control over your Snowflake environment.
Although additional privileges can be granted to the system-defined roles, it is not recommended.
If additional privileges are needed, Snowflake recommends granting the additional privileges to a custom role and assigning the custom role to the system-defined role.
upvoted 3 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
EmiB
Highly Voted 1 year, 9 months agoAnblicks
Most Recent 6 months, 3 weeks ago37ceea2
3 weeks, 6 days ago0e504b5
10 months, 2 weeks agoHrvo77
11 months agojunaid2107
1 year agostornati
1 year, 1 month ago[Removed]
1 year, 1 month agoMultiCloudIronMan
1 year, 5 months agoKnightVictor
1 year, 7 months agowhymatter
1 year, 8 months agoHopefan
1 year, 7 months agoSvenSven
1 year, 1 month agobibisa
1 year, 8 months agojtm22
1 year, 9 months agoShagunMittal
1 year, 9 months ago