exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 5 question 4 discussion

Actual exam question from Microsoft's AZ-400
Question #: 4
Topic #: 5
[All AZ-400 Questions]

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
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
francis6170
Highly Voted 3 years, 5 months ago
Got this in the AZ-400 exam (June 2021).
upvoted 10 times
...
moota
Highly Voted 3 years, 5 months ago
Bad question I think, SonarQube can also do Java
upvoted 9 times
...
vsvaid
Most Recent 11 months, 3 weeks ago
Selected Answer: A
Maven and Gradle build tasks support SonarCloud analysis https://devblogs.microsoft.com/devops/maven-and-gradle-build-tasks-support-powerful-code-analysis-tools/
upvoted 3 times
...
yana_b
1 year, 3 months ago
Selected Answer: A
Correct
upvoted 1 times
...
xRiot007
1 year, 4 months ago
A. Gradle In SonarQube, for a Java project, a Gradle scanner will be used. More here: https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/languages/java/#java-source-version
upvoted 1 times
...
zellck
1 year, 6 months ago
Selected Answer: A
A is the answer. https://docs.sonarqube.org/latest/devops-platform-integration/azure-devops-integration/ Under Choose a way to run the analysis, select Integrate with Maven or Gradle.
upvoted 3 times
...
dmt6263
1 year, 8 months ago
Selected Answer: A
From ChatGPT: A. Gradle Gradle is a build automation tool that is commonly used in Java projects. It allows developers to define and automate the build process, including compiling the code, running tests, and generating artifacts such as JAR files. Gradle can also integrate with SonarQube, allowing developers to analyze and monitor the code quality of their Java projects. B. CocoaPods CocoaPods is a dependency manager for iOS projects and is not relevant for a Java solution. C. Grunt Grunt is a JavaScript task runner that is commonly used for automating front-end web development tasks. It is not relevant for a Java solution. D. Gulp Gulp is another JavaScript task runner that is similar to Grunt, and is also not relevant for a Java solution. Therefore, the correct answer is A. Gradle, as it is the build automation tool commonly used in Java projects and can integrate with SonarQube for code analysis and monitoring.
upvoted 2 times
...
Dev0001
1 year, 8 months ago
Check question 6 topic 5, 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? Both questions are the same but how the answer is different?
upvoted 2 times
...
rdemontis
2 years, 8 months ago
Selected Answer: A
correct
upvoted 2 times
...
luclasses
3 years, 6 months ago
Correct Jacints
upvoted 5 times
Kinon4
3 years, 6 months ago
Correctamundo dude
upvoted 5 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...