exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 5 question 19 discussion

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

During a code review, you discover quality issues in a Java application.
You need to recommend a solution to detect quality issues including unused variables and empty catch blocks.
What should you recommend?

  • A. In a Maven build task, select Run PMD.
  • B. In an Xcode build task, select Use xcpretty from Advanced.
  • C. In a Gulp build task, specify a custom condition expression.
  • D. In a Grunt build task, select Enabled from Control Options.
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
kumardeb
Highly Voted 3 years, 11 months ago
A. In a Maven build task, select Run PMD.
upvoted 12 times
chingdm
1 year, 9 months ago
PMD stands for Programming Mistake Detector https://www.sfdcstop.com/2017/12/analyze-your-apex-code-using-pmd-source.html
upvoted 1 times
...
...
UrbanRellik
Most Recent 5 months, 1 week ago
Selected Answer: A
A. Maven build task > Run PMD.
upvoted 1 times
...
vsvaid
10 months, 2 weeks ago
Selected Answer: A
Agree with A
upvoted 1 times
...
zellck
1 year, 5 months ago
Same as Question 11. https://www.examtopics.com/discussions/microsoft/view/20515-exam-az-400-topic-5-question-11-discussion
upvoted 4 times
...
zellck
1 year, 5 months ago
Selected Answer: A
A is the answer. https://pmd.github.io/ PMD is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth.
upvoted 2 times
...
tjeerd
2 years, 3 months ago
Selected Answer: A
On exam 20220727.
upvoted 3 times
...
az_architect
2 years, 3 months ago
Maven PDM plugin, Hence given answer choice is correct.
upvoted 1 times
...
syu31svc
2 years, 3 months ago
Selected Answer: A
"Java application" A is the answer; Maven
upvoted 1 times
...
Govcomm
2 years, 3 months ago
Run PMD
upvoted 1 times
...
Leandrocei
2 years, 3 months ago
Correct. Came today 22 july 9
upvoted 2 times
...
Eltooth
2 years, 5 months ago
Selected Answer: A
A is correct answer.
upvoted 1 times
...
UnknowMan
2 years, 5 months ago
Correct
upvoted 2 times
...
rdemontis
2 years, 7 months ago
Selected Answer: A
answer and explanations are correct
upvoted 2 times
...
Optimist_Indian
2 years, 8 months ago
Got this question in Feb-2022 exam (scored 910+). Given answer is correct. A - PMD.
upvoted 2 times
...
subrata83
3 years, 1 month ago
Got this in the Az-400 exam(Sep 27 2021)
upvoted 3 times
...
francis6170
3 years, 4 months ago
Got this in the AZ-400 exam (June 2021).
upvoted 3 times
...
ArnoudBM
3 years, 10 months ago
Topic 1, question 8
upvoted 4 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago