- (Exam Topic 2)
Your company has a project in Azure DevOps.
You need to ensure that when there are multiple builds pending deployment only the most recent build is deployed.
What should you use?
Correct Answer:A
References:
https://docs.microsoft.com/en-us/azure/devops/pipelines/process/stages?tabs=classic&view=azure-devops#queu
- (Exam Topic 2)
You have a project in Azure DevOps that has three teams as shown in the Teams exhibit. (Click the Teams tab.)
You create a new dashboard named Dash1.
You configure the dashboard permissions for the Contoso project as shown in the Permissions exhibit (Click the Permissions tab.)
All other permissions have the default values set.
Solution:
Does this meet the goal?
Correct Answer:A
- (Exam Topic 2)
Your company has a project in Azure DevOps for a new web application. The company uses Service Now for change management.
You need to ensure that a change request is processed before any components can be deployed to the production environment.
What are two ways to integrate into the Azure DevOps release pipeline? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Correct Answer:AB
https://docs.microsoft.com/en-us/azure/devops/pipelines/release/approvals/servicenow?view=azure-devops
- (Exam Topic 2)
You need to create a virtual machine template in an Azure DevTest Labs environment named
az400-9940427-dtl1. The template must be based on Windows Server 2016 Datacenter. Virtual machines created from the template must include the selenium tool and the Google Chrome browser.
To complete this task, sign in to the Microsoft Azure portal.
Solution:
* 1. Open Microsoft Azure Portal
* 2. Select All Services, and then select DevTest Labs in the DEVOPS section.
* 3. From the list of labs, select the az400-9940427-dtl1 lab
* 4. On the home page for your lab, select + Add on the toolbar.
* 5. Select the Windows Server 2016 Datacenter base image for the VM.
* 6. Select automation options at the bottom of the page above the Submit button.
* 7. You see the Azure Resource Manager template for creating the virtual machine.
* 8. The JSON segment in the resources section has the definition for the image type you selected earlier. References:
https://docs.microsoft.com/bs-cyrl-ba/azure//lab-services/devtest-lab-vm-powershell
Does this meet the goal?
Correct Answer:A
- (Exam Topic 2)
You are designing YAML-based Azure pipelines for the apps shown in the following table.
You need to configure the YAML strategy value for each app. The solution must minimize app downtime. Which value should you configure for each app? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Solution:
App1: rolling
A rolling deployment replaces instances of the previous version of an application with instances of the new version of the application on a fixed set of virtual machines (rolling set) in each iteration.
App2: canary
Canary deployment strategy is an advanced deployment strategy that helps mitigate the risk involved in rolling out new versions of applications. By using this strategy, you can roll out the changes to a small subset of servers first. As you gain more confidence in the new version, you can release it to more servers in your infrastructure and route more traffic to it. Reference:
https://docs.microsoft.com/en-us/azure/devops/pipelines/process/deployment-jobs
Does this meet the goal?
Correct Answer:A
- (Exam Topic 2)
Your company plans to implement a new compliance strategy that will require all Azure web apps to be backed up every five hours.
You need to back up an Azure web app named az400-11566895-main every five hours to an Azure Storage account in your resource group.
To complete this task, sign in to the Microsoft Azure portal.
Solution:
With the storage account ready, you can configure backs up in the web app or App Service.
Open the App Service az400-11566895-main, which you want to protect, in the Azure Portal and browse to Settings > Backups. Click Configure and a Backup Configuration blade should appear.
Select the storage account.
Select the container.
If you want to schedule backups, then set Scheduled Backup to On and configure a schedule: every five hours
Select your retention. Note that 0 means never delete backups.
Decide if at least one backup should always be retained.
Choose if any connected databases should be included in the web app backup.
Click Save to finalize the backup configuration.
Reference:
https://petri.com/backing-azure-app-service
Does this meet the goal?
Correct Answer:A