Question 1 (choose 2)
For using Snowflake with Spark, which of the below privileges are required?
- AOption A:
USAGE on the schema that contains the table that you will read from or write toA.
- BOption B:
CREATE STAGE on the schema that contains the table that you will read from or write toB.
- COption C:
AccountadminC.
- DOption D:
Sysadmin
Show answer and explanation
Correct answer: A, B
https://docs.snowflake.com/en/user-guide/spark-connector-install.html#requirements Requirements To install and use Snowflake with Spark, you need the following: A supported operating system. For a list of supported operating systems, see Operating System Support. Snowflake Connector for Spark. Snowflake JDBC Driver (the version compatible with the version of the connector) Apache Spark environment, either self-hosted or hosted in any of the following: Qubole Data Service. Databricks. Amazon EMR. In addition, you can use a dedicated Amazon S3 bucket or Azure Blob storage container as a staging zone between the two systems; however, this is not required with version 2.2.0 (and higher) of the connector, which uses a temporary Snowflake internal stage (by default) for all data exchange. The role used in the connection needs USAGE and CREATE STAGE privileges on the schema that contains the table that you will read from or write to
