nerdexam
Microsoft

AZ-400 · Question #97

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 Fra

The correct answer is A. windows-2022 B. ubuntu-22.04. The following Versions are supported: macOS-10.15 (Deprecated) https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure- devops&tabs=yaml

Submitted by kevin_r· Mar 6, 2026Design infrastructure solutions

Question

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.

Options

  • Awindows-2022
  • Bubuntu-22.04
  • Cwin1803
  • DmacOS-10.13
  • Evs.2015-win2012r2

How the community answered

(22 responses)
  • A
    73% (16)
  • C
    9% (2)
  • D
    5% (1)
  • E
    14% (3)

Explanation

The following Versions are supported: macOS-10.15 (Deprecated) https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure- devops&tabs=yaml

Topics

#Microsoft-hosted agents#NET Framework#container images#YAML pipeline

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice