フリー問題

SnowPro Advanced: Data Analyst のフリー問題 2 / 20 問目

問題文

A retail analytics team receives one daily sales file per store as a gzip-compressed CSV. The files are already uploaded to a named internal stage. Marketing needs the rows in a Snowflake table every morning, and a single malformed row must not silently disappear from the reported totals. Which loading approach matches the requirement?

選択肢

  1. Run COPY INTO with ON_ERROR set to CONTINUE so that the load always succeeds and the remaining rows that arrive are available for the morning report.
  2. Use PUT to move the files in sequence into the stage a second time with the FORCE option enabled, which reloads every file and guarantees a complete set.
  3. Define an external table over the stage so the files that arrived stay where they are, and let the morning report query the external table directly.
  4. Run COPY INTO the target table from the named stage and leave ON_ERROR at its default, so the statement aborts when any row fails to convert.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。