Valid SPS-C01 Dumps shared by EduDump.com for Helping Passing SPS-C01 Exam! EduDump.com now offer the newest SPS-C01 exam dumps, the EduDump.com SPS-C01 exam questions have been updated and answers have been corrected get the newest EduDump.com SPS-C01 dumps with Test Engine here:
You have created a Snowpark stored procedure in Python that accesses a Snowflake stage to read configuration files. To enhance security, you want to grant the stored procedure specific permissions to only read files from that stage, without granting broader account- level access. Which of the following approaches is the MOST secure and granular way to achieve this?
Correct Answer: D
Using 'EXECUTE AS CALLER ensures the stored procedure executes with the privileges of the user calling it. This is the most secure and granular approach because you don't need to grant any specific privileges to the stored procedure itself. The user calling it must already have the necessary permissions to access the stage.