nerdexam
Microsoft

AZ-400 · Question #399

Hotspot Question 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.

The correct answer is Name:: System.Debug; Value:: true. This question tests knowledge of Azure DevOps pipeline system variables used to enable verbose/detailed diagnostic logging during pipeline runs.

Submitted by katya_ua· Mar 6, 2026Implement an instrumentation strategy

Question

Hotspot Question 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. Answer:

Exhibit

AZ-400 question #399 exhibit

Answer Area

  • Name:System.Debug
    DebugLogSystem.DebugSystem.Log
  • Value:true
    1detailedtrue

Explanation

This question tests knowledge of Azure DevOps pipeline system variables used to enable verbose/detailed diagnostic logging during pipeline runs.

Approach. To enable detailed logging in an Azure DevOps CI/CD pipeline, you must define a pipeline variable named 'System.Debug' and set its value to 'true'. This is a special Azure DevOps system variable that, when set to true, causes the pipeline agent to output verbose diagnostic information for each step, making it much easier to troubleshoot failures. The variable name must be exactly 'System.Debug' (case-insensitive) and the value must be 'true' (as a string). This can be set at queue time, in the pipeline YAML, or in the pipeline variables UI.

Concept tested. Azure DevOps pipeline variables - specifically the 'System.Debug' variable which enables detailed/verbose logging when set to 'true'. This is a predefined system variable that activates diagnostic output across all pipeline tasks and steps.

Reference. https://learn.microsoft.com/en-us/azure/devops/pipelines/troubleshooting/review-logs?view=azure-devops#configure-verbose-logs

Topics

#Azure Pipelines logging#debug variables#System.Debug#pipeline troubleshooting

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice