AZ-400 – Question 132

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?

A. Gradle
B. CocoaPods
C. Grunt
D. Gulp

Correct Answer: A 

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 build.
✑ This task is mandatory.
✑ In case of .NET solutions or Java projects, it helps to integrate seamlessly with MSBuild, Maven and Gradle tasks.
Incorrect Answers:
B: CocoaPods is the dependency manager for Swift and Objective-C Cocoa projects.
Note: There are several versions of this question in the exam. The question can have three correct answers:
MSBuild –
✑ Maven
✑ Gradle
The question can also have different incorrect options, including:
✑ Chef
✑ Octopus