SnowPro Core Exam QuestionsBrowse all questions from this exam

SnowPro Core Exam - Question 273


According to Snowflake best practice recommendations, which role should be used to create databases?

Show Answer
Correct Answer: B

According to Snowflake best practice recommendations, the SYSADMIN role is most appropriate for creating databases. The SYSADMIN role has the necessary privileges to create warehouses, databases, and all database objects. This role is designed for system administrators who need to manage and configure the system's data-related aspects comprehensively.

Discussion

8 comments
Sign in to comment
Kate0204Option: B
Dec 7, 2022

The system administrator (SYSADMIN) role includes the privileges to create warehouses, databases, and all database objects (schemas, tables, etc.).

SV1122Option: B
Dec 29, 2022

The system administrator (SYSADMIN) role includes the privileges to create warehouses, databases, and all database objects (schemas, tables, etc.). https://docs.snowflake.com/en/user-guide/security-access-control-considerations.html#:~:text=The%20system%20administrator%20(SYSADMIN)%20role,%2C%20tables%2C%20etc.).

OscarWest2023Option: D
May 24, 2023

Yes, sysadmin can create users. Sysadmin is effectively a superuser so it can create multiple objects. However, by least privileges principles, you really shouldn't be using these privileged accounts all the time. There is a reason the useradmin account exists - this is so more users with minimal privs can be created and used. https://docs.snowflake.com/en/user-guide/admin-user-management In the link above, it says "The USERADMIN system role can create users using SQL (CREATE USER). If you prefer to use a custom role for this purpose, grant the CREATE USER privilege on the account to this role.". This suggests to me that snowflake is recommending users be created with useradmin and not sysadmin.

c0d3g
Jul 6, 2023

The question is: According to Snowflake best practice recommendations, which role should be used to create databases? It is not asking which role should be used to create users?

c0d3gOption: B
Jul 6, 2023

B. SYSADMIN

MultiCloudIronManOption: B
Jul 13, 2023

Correct

AfzyOption: C
Nov 1, 2023

Chat GPT is saying C While "SECURITYADMIN" is a recommended role for creating databases, it's essential to configure this role's privileges and restrictions appropriately, as well as consider any specific organizational policies and requirements related to database creation and administration.

_yyuktaOption: B
Feb 26, 2024

B. SYSADMIN

Mallikharjuna452Option: B
Jul 22, 2024

Sysadmin used to create databases and warehouses