SnowPro Core Certification — Question 514

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

Answer options

Correct answer: C

Explanation

The correct answer is C because creating a stored procedure with caller's rights allows it to execute with the privileges of the role that called it, enabling access to resources that the caller may not directly have. Option A is incorrect as it relates to source code visibility rather than privileges, B is wrong because it addresses execution capability rather than rights, and D refers to object access which is not the focus of caller's rights.