Noos
PT EN
RAN-DBDEA-00232
Ranvier · DBDEA

Prova DBDEA Tópicos: transformation Dificuldade: easy A questão está em en.

A nightly reprocessing job was accidentally deployed with this write and, on its first run, replaced an entire silver table with only a partial re-run's worth of data: ```python df.write.mode("overwrite").saveAsTable("catalog.sales.silver_payments") ``` The team now wants every reprocessing job to fail loudly instead of touching a table that already exists. Which save mode gives that behavior?

Alternativas (Modo Leitura) Clique para filtrar a discussão →
  1. A. append, which replaces the table's previous contents with each new batch that gets written
  2. B. overwrite, which refuses to write whenever the target table already contains any data at all
  3. C. No save mode is needed, because Delta treats the modes as advisory hints and always appends the incoming data atomically
  4. D. errorIfExists, the default save mode, which makes the write fail if the target table already exists
Revelar gabarito

Resposta correta: errorIfExists, the default save mode, which makes the write fail if the target table already exists

Referência: https://docs.databricks.com/aws/en/delta/best-practices

02 — Camada de Mielina · Discussão Canônica

Onde a prova tenta te enganar — e como quem passou resolveu.

0 Aprovados

contribuíram nesta questão

Matriz de Dissecção de Alternativas Clique numa alternativa para filtrar ou inaugurar a dissecção.
✦ Síntese Consolidada (Wiki) rev. #1 (baseline) · CC BY-SA 4.0
Inaugurar síntese desta questão →

Ainda não há síntese comunitária consolidada para esta questão. Abaixo está o ponto de partida oficial verificável — se você passou na prova, inaugure a dissecção das alternativas.

Gabarito Oficial (D): errorIfExists, the default save mode, which makes the write fail if the target table already exists

Ranvier · DBDEA

Contribuir com a Questão

Sua contribuição constrói sua Bainha Orbital

Contribuições dos pares

Nenhuma contribuição pública ainda. Seja o primeiro aprovado a explicar por que as alternativas incorretas enganam — sua contribuição constrói sua Bainha Orbital.