Home » Microsoft » AZ-400 v.2 » What are two possible virtual machine images that you can use for the Microsoft-hosted agent pool?
You have an Azure DevOps organization named Contoso and an Azure DevOps project named Project1.
You plan to use Microsoft-hosted agents to build container images that will host full Microsoft .NET Framework apps in a YAML pipeline in Project1.
What are two possible virtual machine images that you can use for the Microsoft-hosted agent pool? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. vs2017-win2016
B. ubuntu-16.04
C. win1803
D. macOS-10.13
E. vs.2015-win2012r2
Correct Answer: BC
Explanation/Reference:
Explanation:
The Microsoft-hosted agent pool provides 7 virtual machine images to choose from:
Ubuntu 16.04 (ubuntu-16.04)
Windows Server 1803 (win1803) – for running Windows containers
Visual Studio 2019 Preview on Windows Server 2019 (windows-2019)
Visual Studio 2017 on Windows Server 2016 (vs2017-win2016)
Visual Studio 2015 on Windows Server 2012R2 (vs2015-win2012r2) macOS X Mojave 10.14 (macOS-10.14) macOS X High Sierra 10.13 (macOS-10.13)
References:
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops
A and B are correct answers
win1803 has been removed and no longer supported