Noos
PT EN
RAN-DBDEA-00080
Ranvier · DBDEA

Exam DBDEA Topics: cicd Difficulty: hard

A team's bundle defines a Lakeflow Spark Declarative Pipeline (formerly DLT) with one notebook library at the root, and the prod target overrides the `libraries` list: ```yaml bundle: name: etl_bundle resources: pipelines: sales_silver: name: sales_silver libraries: - notebook: path: ./src/dlt_silver.ipynb targets: prod: resources: pipelines: sales_silver: libraries: - notebook: path: ./prod/dlt_silver.ipynb ``` After running `databricks bundle deploy -t prod`, which notebook does the deployed pipeline use?

Options (Reading Mode) Click to filter discussion →
  1. A. Both ./src/dlt_silver.ipynb and ./prod/dlt_silver.ipynb, because target-level lists are merged with root-level lists
  2. B. Only ./prod/dlt_silver.ipynb, because sequence (list) settings in a target replace the root-level list instead of merging with it
  3. C. Only ./src/dlt_silver.ipynb, because root-level resource definitions always take precedence over target overrides of any resource setting
  4. D. The deploy fails with a duplicate-resource error because sales_silver is defined in two places
Reveal answer

Correct answer: Only ./prod/dlt_silver.ipynb, because sequence (list) settings in a target replace the root-level list instead of merging with it

Reference: https://docs.databricks.com/aws/en/dev-tools/bundles/overrides

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 (B): Only ./prod/dlt_silver.ipynb, because sequence (list) settings in a target replace the root-level list instead of merging with it

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.