Question 1
A data platform team manages reusable Databricks production jobs and pipelines in Git. The change request states: The same bundle must expose named dev and prod deployment profiles with different workspace settings without changing shared source files. Which implementation best satisfies that requirement?
Explanation
Correct Answer
The requirement concerns “The same bundle must expose named dev and prod deployment profiles with different workspace settings without changing shared source files.” The selected operation, Define separate targets under `targets` in `databricks.yml`, is the direct engineering control. Its effect can be checked by confirming: Bundle validation resolves the selected target's workspace and resources.
Incorrect Answers
The alternative Read validated parameters from job parameters or environment configuration has a distinct purpose—An application team needs different configuration values without rewriting Python source code. It would not establish the required outcome (The same bundle must expose named dev and prod deployment profiles with different workspace settings without changing shared source files); the necessary verification concerns Bundle validation resolves the selected target's workspace and resources.
The alternative Restore the durable checkpoint for the same logical query has a distinct purpose—A stream restarts at the first offsets and duplicates records after every job rerun. It would not establish the required outcome (The same bundle must expose named dev and prod deployment profiles with different workspace settings without changing shared source files); the necessary verification concerns Bundle validation resolves the selected target's workspace and resources.
This action solves a different issue: “Developers need to inspect the effective resource definitions before a production deployment.” Its normal signal is Validation succeeds or pinpoints the invalid resolved bundle configuration. Here the requested behavior is “The same bundle must expose named dev and prod deployment profiles with different workspace settings without changing shared source files,” so that signal is not sufficient.