Noos
PT EN
RAN-DBDEA-00149
Ranvier · DBDEA

Exam DBDEA Topics: jobs Difficulty: easy

A team maintains a shared Python module, data_prep.py, which lives in the team's Git repository and is reviewed through pull requests. Several production pipelines depend on it. They are adding a task to a Lakeflow Job that must execute this file exactly as it exists on the main branch, with no manual copies. How should the task be configured?

Options (Reading Mode) Click to filter discussion →
  1. A. Paste the module's current code into a notebook task and refresh that copy by hand whenever the module changes
  2. B. Copy data_prep.py into the workspace first, because Lakeflow Jobs can only execute notebook tasks
  3. C. Use a Python script task with the Git provider as its source, pointing to data_prep.py on the main branch
  4. D. Run the script manually in a terminal on an attached cluster and load the exported CSV files afterward
Reveal answer

Correct answer: Use a Python script task with the Git provider as its source, pointing to data_prep.py on the main branch

Reference: https://docs.databricks.com/aws/en/jobs/configure-task

02 — The Myelin Layer · Canonical Discussion

Where the exam tries to trick you — and how those who passed solved it.

0 Passed

contributed to this question

Answer Distractor Matrix Click an option to filter or open its dissection.
✦ Consolidated Synthesis (Wiki) rev. #1 (baseline) · CC BY-SA 4.0
Start synthesis for this question →

No community synthesis consolidated for this question yet. Below is the verifiable official starting point — if you passed the exam, open the option dissection.

Official Answer (C): Use a Python script task with the Git provider as its source, pointing to data_prep.py on the main branch

⚓ Official Documentation Anchor: https://docs.databricks.com/aws/en/jobs/configure-task
Ranvier · DBDEA

Contribute to this Question

Your contribution builds your Orbital Sheath

Peer contributions

No public contribution yet. Be the first who passed to explain why the distractors trick candidates — your contribution builds your Orbital Sheath.