Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Snowflake Exam DSA-C02 Topic 1 Question 13 Discussion

Actual exam question for Snowflake's DSA-C02 exam
Question #: 13
Topic #: 1
[All DSA-C02 Questions]

Mark the correct steps for saving the contents of a DataFrame to a Snowflake table as part of Moving Data from Spark to Snowflake?

Show Suggested Answer Hide Answer
Suggested Answer: C

Moving Data from Spark to Snowflake

The steps for saving the contents of a DataFrame to a Snowflake table are similar to writing from Snowflake to Spark:

1. Use the write() method of the DataFrame to construct a DataFrameWriter.

2. Specify SNOWFLAKE_SOURCE_NAME using the format() method.

3. Specify the connector options using either the option() or options() method.

4. Use the dbtable option to specify the table to which data is written.

5. Use the mode() method to specify the save mode for the content.

Examples

1. df.write

2. .format(SNOWFLAKE_SOURCE_NAME)

3. .options(sfOptions)

4. .option('dbtable', 't2')

5. .mode(SaveMode.Overwrite)

6. .save()


Contribute your Thoughts:

Jess
5 months ago
I think option B is the way to go, it just makes more sense to me.
upvoted 0 times
...
Sue
5 months ago
I prefer option A, it seems more logical to me.
upvoted 0 times
...
Beth
6 months ago
I agree, option C seems to be the most accurate.
upvoted 0 times
...
Hyun
6 months ago
I think the correct steps are in option C.
upvoted 0 times
...
Shannan
6 months ago
I think we should focus on understanding the rationale behind the correct answer.
upvoted 0 times
...
Helaine
6 months ago
I disagree, I believe option B is the correct one.
upvoted 0 times
...
Elli
6 months ago
I'm not sure, I think option A could also be right.
upvoted 0 times
...
Iola
7 months ago
I agree with Vashti. Option C seems correct.
upvoted 0 times
...
Vashti
7 months ago
I think the correct steps are in option C.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77