nerdexam
Microsoft

AZ-400 · Question #96

Your company is building a new solution in Java. The company currently uses a SonarQube server to analyze the code of .NET solutions. You need to analyze and monitor the code quality of the Java solut

The correct answer is B. Gradle. SonarQube is a set of static analyzers that can be used to identify areas of improvement in your code. It allows you to analyze the technical debt in your project and keep track of it in the future. With Maven and Gradle build tasks, you can run SonarQube analysis with minimal se

Submitted by marco_it· Mar 6, 2026Design infrastructure solutions

Question

Your company is building a new solution in Java. The company currently uses a SonarQube server to analyze the code of .NET solutions. You need to analyze and monitor the code quality of the Java solution. Which task types should you add to the build pipeline?

Options

  • AChef
  • BGradle
  • COctopus
  • DGulp

How the community answered

(23 responses)
  • A
    9% (2)
  • B
    70% (16)
  • C
    4% (1)
  • D
    17% (4)

Explanation

SonarQube is a set of static analyzers that can be used to identify areas of improvement in your code. It allows you to analyze the technical debt in your project and keep track of it in the future. With Maven and Gradle build tasks, you can run SonarQube analysis with minimal setup in a new or existing Azure DevOps Services build task. Prepare Analysis Configuration task, to configure all the required settings before executing the - This task is mandatory. - In case of .NET solutions or Java projects, it helps to integrate seamlessly with MSBuild, Maven and Gradle tasks. Note: There are several versions of this question in the exam. The question can have three correct answers: The question can also have different incorrect options, including: https://docs3.sonarqube.org/latest/analysis/scan/sonarscanner-for-azure-devops/ https://docs.microsoft.com/en-us/azure/devops/java/sonarqube?view=azure-devops

Topics

#SonarQube#Gradle#Java code quality#build pipeline

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice