nerdexam
MicrosoftMicrosoft

AZ-400 · Question #456

AZ-400 Question #456: Real Exam Question with Answer & Explanation

The script syncs changes from GitHub (repo1) to Azure Repos (repo2) by first cloning repo2 (the Azure Repos destination) locally using its clone URL, then adding repo1 (GitHub source) as a remote using repo1's clone URL, and finally pushing or pulling changes into repo2. This thr

Submitted by jaden.t· Mar 6, 2026Configure processes and communications – Migrate and integrate existing work management tools and repositories to Azure DevOps

Question

Drag and Drop Question You have a GitHub repository named repo1. You migrate repo1 to an Azure Repos repository named repo2. After the migration, changes are made to repo1. You need to sync the changes to repo2. How should you complete the script? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point. Answer:

Explanation

The script syncs changes from GitHub (repo1) to Azure Repos (repo2) by first cloning repo2 (the Azure Repos destination) locally using its clone URL, then adding repo1 (GitHub source) as a remote using repo1's clone URL, and finally pushing or pulling changes into repo2. This three-step pattern - clone the destination, add the source as a remote, then sync - is the standard Git workflow for migrating and keeping repositories in sync across platforms.

Topics

#Azure Repos#Git Migration#Repository Sync#GitHub Integration

Community Discussion

No community discussion yet for this question.

Full AZ-400 PracticeBrowse All AZ-400 Questions