nerdexam
Microsoft

AZ-400 · Question #577

Hotspot Question You have an Azure Pipelines pipeline named Pipeline1 that has the following YAML definition. For each of the following statements, select Yes if True. Otherwise select No. NOTE: Each

The correct answer is Pipeline1 consists of three stages. = No; $(BuildPlatform) is a predefined variable. = No; $(System.DefaultWorkingDirectory) is a predefined variable. = Yes. The correct answers reflect the structure of Azure Pipelines YAML and variable types. Without seeing the full YAML, the pipeline likely has fewer or more than three stages (making statement 1 'No'). $(BuildPlatform) is a user-defined/custom variable set within the pipeline config

Submitted by priya_blr· Mar 6, 2026Design and Implement Pipelines - Understanding Azure Pipelines structure, YAML syntax, and the distinction between predefined system variables and user-defined variables (AZ-400 / DevOps Engineer Expert certification)

Question

Hotspot Question You have an Azure Pipelines pipeline named Pipeline1 that has the following YAML definition. For each of the following statements, select Yes if True. Otherwise select No. NOTE: Each correct selection is worth one point. Answer:

Exhibits

AZ-400 question #577 exhibit 1
AZ-400 question #577 exhibit 2

Answer Area

  • Pipeline1 consists of three stages.No
  • $(BuildPlatform) is a predefined variable.No
  • $(System.DefaultWorkingDirectory) is a predefined variable.Yes

Explanation

The correct answers reflect the structure of Azure Pipelines YAML and variable types. Without seeing the full YAML, the pipeline likely has fewer or more than three stages (making statement 1 'No'). $(BuildPlatform) is a user-defined/custom variable set within the pipeline configuration, not a predefined system variable (making statement 2 'No'). $(System.DefaultWorkingDirectory) is indeed a well-known predefined pipeline variable provided automatically by Azure Pipelines, representing the local path on the agent where source code files are downloaded.

Topics

#Azure Pipelines YAML#Predefined Variables#Pipeline Stages#Pipeline Configuration

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice