Noos
PT EN
RAN-DBDEA-00239
Ranvier · DBDEA

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

A Lakeflow Job starts with a notebook task, `pick_tables`, which scans operational metadata and computes the exact list of bronze tables that need a rebuild — a different list every night: ```python dbutils.jobs.taskValues.set(key = "tables", value = tables) ``` The next step must run the rebuild notebook once for every table in that list. How should the For each task that follows `pick_tables` be configured?

Alternativas (Modo Leitura) Clique para filtrar a discussão →
  1. A. Point its Inputs field at the task value reference {{tasks.pick_tables.values.tables}}, so the loop follows the list pick_tables produced
  2. B. Copy the table names from last night's run into the Inputs field as a static JSON array, and edit the job whenever the list changes
  3. C. Hardcode a master table list in the job definition, because For each inputs cannot reference values from other tasks
  4. D. Drop the For each task and use a single notebook task that reads the array from pick_tables and loops over the tables with a Python while loop
Revelar gabarito

Resposta correta: Point its Inputs field at the task value reference {{tasks.pick_tables.values.tables}}, so the loop follows the list pick_tables produced

Referência: https://docs.databricks.com/aws/en/jobs/tasks/for-each

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 (A): Point its Inputs field at the task value reference {{tasks.pick_tables.values.tables}}, so the loop follows the list pick_tables produced

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.