A Snowflake account has a custom role named DATA_ENGINEER. The administrator wants to ensure that DATA_ENGINEER can create databases and warehouses but cannot manage users or roles. Which predefined role should DATA_ENGINEER be granted to achieve this?
SYSADMIN is the predefined role responsible for creating and managing warehouses, databases, and other objects. Granting SYSADMIN to DATA_ENGINEER provides the necessary privileges to create databases and warehouses. It does not include the ability to manage users or roles, which aligns with the requirement to restrict those actions.
Why this answer
SYSADMIN is the predefined role that provides privileges to create and manage warehouses, databases, and other objects. It does not include user or role management, which is handled by SECURITYADMIN and USERADMIN. By granting SYSADMIN to DATA_ENGINEER, the administrator ensures the role can perform its intended tasks without over-privileging it.
Exam trap
The trap here is assuming that ACCOUNTADMIN is needed for object creation, overlooking that SYSADMIN provides the necessary privileges without user management.