Noos
PT EN
RAN-DBDEA-00143
Ranvier · DBDEA

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

Before promoting a new PySpark transformation into the nightly production job, an engineer wants to see what Spark intends to do with it — the planned join strategy, the filters, and the projection — without spending cluster resources actually running the query. Which action gives her this preview?

Alternativas (Modo Leitura) Clique para filtrar a discussão →
  1. A. Call count() after every transformation and compare the elapsed time of each stage
  2. B. Nothing — lazy evaluation makes the plan unknowable until the query has fully executed
  3. C. Call df.explain() to print the logical and physical plans without executing anything
  4. D. Run the job in production and inspect the Spark UI, the only place where plans appear
Revelar gabarito

Resposta correta: Call df.explain() to print the logical and physical plans without executing anything

Referência: https://docs.databricks.com/aws/en/pyspark/reference

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 (C): Call df.explain() to print the logical and physical plans without executing anything

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.