This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Which of these statements is a benefit of using version control?
You can manage multiple environments with a single template by using branches.
You can view the history of your files and revert to a previous version.
You can create smaller reusable Bicep files.
You've been asked to try out a new Azure service. You're going to temporarily add it to a Bicep file that you've already created and added to your Git repository. What should you do?
Create a new branch in your existing repository and make your changes on the branch.
Initialize a new Git repository and add the updated file to that.
Copy the file out of your Git repository and onto your desktop or another folder. Make the changes there.
Your team has decided to adopt trunk-based development. Which of these statements is true?
Trunk-based development eliminates the possibility of merge conflicts.
Trunk-based development encourages you to use long-lived branches.
Trunk-based development encourages you to use short-lived branches.
A colleague has created a repository on GitHub and has granted you access. You want to make a local copy of the repository so that you can add some Bicep files to it. Which of these commands should you run first?
git clone
git pull
git remote add upstream
You must answer all questions before checking your work.
Was this page helpful?