フリー問題

Databricks Certified Associate Developer for Apache Spark のフリー問題 6 / 20 問目

問題文

A pipeline is being written for a shared landing zone where several teams may write the same dataset. The requirement is that a second writer must leave the existing data completely alone and must not fail the job. Which save mode fits in Apache Spark?

選択肢

  1. Append mode, because adding nothing is equivalent to leaving the data alone, so a second run repeats the rows and the table grows.
  2. Ignore mode, which skips the write when data already exists and leaves it unchanged.
  3. Overwrite mode with a filter that excludes rows already present at the destination, and the earlier rows are left in place.
  4. The default mode, because raising an exception is the safest way to protect data that another team has already written, and the surrounding scheduler can be configured to treat that particular exception as a successful completion.

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

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