nerdexam
Microsoft

AZ-400 · Question #105

Drag and Drop Question You are developing a full Microsoft .NET Framework solution that includes unit tests. You need to configure SonarQube to perform a code quality validation of the C# code as part

The correct answer is Prepare Analysis Configuration; Visual Studio Build; Visual Studio Test; Run Code Analysis. The correct sequence follows the required SonarQube workflow for a full .NET Framework solution: First, 'Prepare Analysis Configuration' initializes SonarQube and sets up the analysis context before any compilation occurs. Then 'Visual Studio Build' compiles the C# code while Son

Submitted by anna_se· Mar 6, 2026Design and implement a build strategy - specifically configuring build pipelines to include code quality gates and static analysis tools such as SonarQube for .NET Framework solutions (AZ-400: Developing Microsoft Azure Solutions / DevOps Engineer Expert)

Question

Drag and Drop Question You are developing a full Microsoft .NET Framework solution that includes unit tests. You need to configure SonarQube to perform a code quality validation of the C# code as part of the build pipelines. Which four tasks should you perform in sequence? To answer, move the appropriate tasks from the list of tasks to the answer area and arrange them in the correct order. Answer:

Exhibit

AZ-400 question #105 exhibit

Answer Area

Drag items

Run Code AnalysisVisual Studio TestPublish Build ArtifactsVisual Studio BuildPrepare Analysis Configuration

Correct arrangement

  • Prepare Analysis Configuration
  • Visual Studio Build
  • Visual Studio Test
  • Run Code Analysis

Explanation

The correct sequence follows the required SonarQube workflow for a full .NET Framework solution: First, 'Prepare Analysis Configuration' initializes SonarQube and sets up the analysis context before any compilation occurs. Then 'Visual Studio Build' compiles the C# code while SonarQube hooks capture build data, followed by 'Visual Studio Test' which runs unit tests so that code coverage metrics are collected and included in the analysis. Finally, 'Run Code Analysis' submits all collected data to the SonarQube server to produce the quality report - this must come last after both build and test data are available.

Topics

#SonarQube#Azure DevOps Pipelines#Code Quality#CI/CD Configuration

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice