What criteria does Snowflake use to determine the current role when initiating a session? (Choose two.)
What criteria does Snowflake use to determine the current role when initiating a session? (Choose two.)
When initiating a session in Snowflake, if a role was specified as part of the connection and that role has been granted to the Snowflake user, the specified role becomes the current role. Additionally, if no role was specified as part of the connection and a default role has been defined for the Snowflake user, that role becomes the current role. These criteria ensure proper role assignment that aligns with the user's permissions and configurations.
the answer is correct https://docs.snowflake.com/en/user-guide/security-access-control-overview#label-access-control-role-enforcement:~:text=If%20a%20role,PUBLIC%20is%20used.
what about D?
Correct