Exam SnowPro Core All QuestionsBrowse all questions from this exam
Question 483

When should a stored procedure be created with caller's rights?

    Correct Answer: C

    A stored procedure should be created with caller's rights when the stored procedure needs to run with the privileges of the role that called the stored procedure. This allows the procedure to execute with the permissions of the user invoking it, ensuring that the actions performed by the procedure adhere to the caller's access level and restrictions.

Discussion
fahfouhi94Option: C

c is correct ==> https://docs.snowflake.com/en/sql-reference/stored-procedures-rights

_yyuktaOption: C

C. When the stored procedure needs to run with the privileges of the role that called the stored procedure

MultiCloudIronManOption: C

Correct