Microsoft DevOps Engineer Expert AZ-400 Practice Question

You are standardizing the build pipelines for dozens of repositories that contain a mix of .NET Framework, .NET Core, and native C++ projects. You need a single YAML template that, when invoked after the build stage, will automatically locate all produced unit-test assemblies, execute the tests regardless of framework (MSTest, NUnit, or xUnit), and publish the results to the Tests tab without an extra publishing step. Which built-in Azure Pipelines task should you include in the template to meet these requirements?

  • Visual Studio Test task (VisualStudioTest@2)

  • CTest@1 task

  • PublishTestResults@2 task

  • DotNetCoreCLI@2 task with command "test"

Microsoft DevOps Engineer Expert AZ-400
Design and implement build and release pipelines
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot