
Ultimate access to all questions.
A data engineer is running code in a Databricks Repo that is cloned from a central Git repository. A colleague of the data engineer informs them that changes have been made and synced to the central Git repository. The data engineer now needs to sync their Databricks Repo to get the changes from the central Git repository.
Which Git operation does the data engineer need to run to accomplish this task?
A
Clone
B
Pull
C
Merge
D
Push
Explanation:
When a data engineer has already cloned a repository from a central Git repository and needs to get the latest changes that have been made by colleagues and synced to the central repository, they need to perform a Pull operation.
Here's why each option is correct or incorrect:
git pull fetches changes from the remote repository and merges them into the current branch. It's the standard way to sync local changes with upstream changes.In Databricks Repos, you would use the Pull operation to sync your local repository with the central Git repository and get the latest changes made by your colleagues.