Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Snowflake Exam ARA-R01 Topic 2 Question 27 Discussion

Actual exam question for Snowflake's ARA-R01 exam
Question #: 27
Topic #: 2
[All ARA-R01 Questions]

When using the copy into

command with the CSV file format, how does the match_by_column_name parameter behave?

Show Suggested AnswerHide Answer
Suggested Answer: D

When a new table (table_6) is added to a schema in the provider's account that is part of a data share, the consumer will not automatically see the new table. The consumer will only be able to access the new table once the appropriate privileges are granted by the provider. The correct process, as outlined in option D, involves using the provider's ACCOUNTADMIN role to grant USAGE privileges on the database and schema, followed by SELECT privileges on the new table, specifically to the share that includes the consumer's database. This ensures that the consumer account can access the new table under the established data sharing setup. Reference:

Snowflake Documentation on Managing Access Control

Snowflake Documentation on Data Sharing


Contribute your Thoughts:

Deja
19 hours ago
D seems like the most reasonable answer. If the column names don't match, it would make sense to get a warning rather than an error.
upvoted 0 times
...
Annamae
2 days ago
Definitely not C. I can't imagine the command would return an error just because of a parameter being used.
upvoted 0 times
...
Norah
8 days ago
I think B is correct. The official docs say this parameter is optional, so it should be ignored if not provided.
upvoted 0 times
...
Margurite
14 days ago
Option A sounds right to me. The documentation mentions that the match_by_column_name parameter expects the CSV file to have a header row that matches the table column names.
upvoted 0 times
...
Fallon
14 days ago
I'm not sure, but I think the command will return an error if there is no header in the CSV file.
upvoted 0 times
...
Deeanna
16 days ago
I agree with Jesse, because without a header, how can the command match the columns correctly?
upvoted 0 times
...
Jesse
17 days ago
I think the answer is A) It expects a header to be present in the CSV file, which is matched to a case-sensitive table column name.
upvoted 0 times
...

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