Noos
PT EN
RAN-DBDEA-00012
Ranvier · DBDEA

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

A team must load JSON booking updates from a Unity Catalog volume with COPY INTO. The producer occasionally adds new fields, so the files do not all share the same schema, and the team wants new fields to appear in the target table automatically instead of causing failures. The target table has not been created yet. Which approach meets these requirements?

Alternativas (Modo Leitura) Clique para filtrar a discussão →
  1. A. Create the table with an explicit schema listing every column seen so far, so that COPY INTO fails fast whenever a file carries an unexpected field
  2. B. Create an empty table without declaring columns and set the table property 'delta.columnMapping.mode' = 'name' so unmatched JSON fields map automatically
  3. C. Read each day's files with spark.read.json, union them with the existing table, and overwrite the table nightly, because COPY INTO cannot handle differing schemas
  4. D. Create an empty table without declaring columns, then run COPY INTO with 'mergeSchema' = 'true' in FORMAT_OPTIONS and COPY_OPTIONS
Revelar gabarito

Resposta correta: Create an empty table without declaring columns, then run COPY INTO with 'mergeSchema' = 'true' in FORMAT_OPTIONS and COPY_OPTIONS

Referência: https://docs.databricks.com/aws/en/ingestion/cloud-object-storage/copy-into

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): Create an empty table without declaring columns, then run COPY INTO with 'mergeSchema' = 'true' in FORMAT_OPTIONS and COPY_OPTIONS

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.