exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 2 question 29 discussion

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

HOTSPOT -
You have a project in Azure DevOps that contains a Continuous Integration/Continuous Deployment (CI/CD) pipeline.
You need to enable detailed logging by defining a pipeline variable.
How should you configure the variable? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: system.debug -
To configure verbose logs for all runs, you can add a variable named system.debug and set its value to true.
Note: Verbose logging is the practice of recording to a persistent medium as much information as you possibly can about events that occur while the software runs.

Box 2: true -
Reference:
https://docs.microsoft.com/en-us/azure/devops/pipelines/troubleshooting/review-logs

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
markp
Highly Voted 2 years, 9 months ago
Correct. To enable verbose log you have to add the following variable: System.Debug = true
upvoted 14 times
...
budha
Highly Voted 2 years, 6 months ago
It was on my exam on December 7, 2022.
upvoted 7 times
resonant
1 year, 9 months ago
It was on my exam too. Mine was on September 12, 2023.
upvoted 3 times
gabo
1 year, 8 months ago
Congrats on passing. Approx. how many questions did you get from ExamTopics?
upvoted 2 times
...
...
...
yusj
Most Recent 1 year ago
It was on my exam too. May 27, 2024.
upvoted 4 times
...
Firdous586
1 year, 7 months ago
Setting System.Debug to true configures verbose logs for all runs. You can also configure verbose logs for a single run with the Enable system diagnostics checkbox. You can also set System.Debug to true as a variable in a pipeline or template.
upvoted 3 times
...
Kent_020
1 year, 11 months ago
Not sure if the setting key-value is sensitive, but from the lab, it should be 'system.debug' instead of 'System.Debug'
upvoted 2 times
gabo
1 year, 8 months ago
Azure Pipelines predefined variables are not case sensitive
upvoted 2 times
...
...
zellck
2 years ago
1. System.Debug 2. true https://learn.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml#systemdebug For more detailed logs to debug pipeline problems, define System.Debug and set it to true.
upvoted 6 times
zellck
2 years ago
Gotten this in Jun 2023 exam.
upvoted 7 times
...
...
JohanRojas7
2 years, 3 months ago
It was on my exam on Febrero 16, 2023.
upvoted 6 times
Ak1009
2 years, 3 months ago
Were there any labs?
upvoted 2 times
...
...
meoukg
2 years, 7 months ago
saw it yesterday in my exam
upvoted 5 times
Tidi
2 years, 5 months ago
did you get Labs?
upvoted 1 times
i_m_sushant
1 year, 5 months ago
Now, in exam pattern Lab is not included. Only scenario based questions will be available
upvoted 2 times
...
...
Jaymile_1409
2 years, 6 months ago
did you get any labs ?
upvoted 3 times
...
...
syu31svc
2 years, 9 months ago
Given answer is correct and link provided supports it
upvoted 1 times
...
hebertpena88
2 years, 9 months ago
Correct!, System.Debug = true
upvoted 1 times
...
rinjohn
2 years, 9 months ago
Correct answer. https://docs.microsoft.com/en-us/azure/devops/pipelines/troubleshooting/review-logs?view=azure-devops#configure-verbose-logs
upvoted 1 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 ...