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
Question
Exhibits
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
Community Discussion
No community discussion yet for this question.

