You will use Microsoft-hosted agents to build container images that will host full Microsoft .NET Framework applications in a YAML pipeline. Which two Microsoft-hosted virtual machine images can you use for the agent?
Choose an answer
Tap an option to check your answer.
Correct answer: vs2017-win2016, ubuntu-16.04.
Why this is the answer
The vs2017-win2016 image is a Windows-based agent that includes Visual Studio 2017 and Windows Server 2016, providing the necessary tools and environment for building .NET Framework applications and container images. The ubuntu-16.04 image is a Linux-based agent. While .NET Framework itself is Windows-specific, .NET (formerly .NET Core) applications can be built on Linux, and container images for .NET Framework applications can be built on Linux agents using tools like Docker, which is pre-installed. The key is that the container can be built on Linux, even if the application inside is Windows-specific. win1803 is a valid Windows image but is not always listed as a primary option for general .NET Framework builds compared to vs2017-win2016. macOS-10.13 is a macOS agent and cannot be used to build Windows-based .NET Framework applications or their container images. vs.2015-win2012r2 is an older Windows image that may lack the necessary tooling or support for modern containerization practices and is less commonly recommended.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed