You are designing a complex data pipeline in Snowflake that involves multiple interdependent Tasks. Several of these Tasks need to access sensitive customer data, and you want to ensure that the least privilege principle is followed. How should you configure the Tasks and their associated roles to minimize the risk of unauthorized data access while maintaining the functionality of the pipeline? (Select TWO)
Correct Answer: B,C
Following the least privilege principle is crucial for security. Creating specific roles for each Task (B) and granting only the necessary privileges minimizes the risk of unauthorized access. Using stored procedures with 'EXECUTE AS CALLER (C) allows you to control data access through a separate, secured object, further limiting the Task's direct access to sensitive data. Option A grants excessive privileges, violating least privilege. Option D simplifies management but compromises security. Option E makes sensitive data broadly accessible, which is highly insecure.