exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 9 question 34 discussion

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

HOTSPOT
-

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.

Show Suggested Answer Hide Answer
Suggested Answer:

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
Christian_garcia_martin
Highly Voted 8 months ago
NO NO YES Pipeline1 consists of three stages: No. Here, Pipeline1 does not define multiple stages. Instead, it defines three tasks, which are VSBuilogi (presumably a typo, maybe "VSBuild" was intended), Copyfiles2, and PublishBuildArtifacts@i. BuildPlatform) is a predefined variable: No. BuildPlatform is not a predefined variable in Azure Pipelines. It needs to be specified in the pipeline or provided as a parameter when the pipeline is run. System.DefaultworkingDirectory) is a predefined variable: Yes. System.DefaultWorkingDirectory is one of the predefined variables in Azure Pipelines, and it represents the local path on the agent where your source code files are downloaded.
upvoted 9 times
...
Dankho
Most Recent 3 months, 4 weeks ago
N, N, Y Great source for Pre-Defined variables: https://learn.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml
upvoted 1 times
...
Gooldmember
5 months, 3 weeks ago
NO NO YES
upvoted 1 times
...
p2006
6 months, 1 week ago
https://learn.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml
upvoted 1 times
...
Mattt
6 months, 2 weeks ago
No No Yes
upvoted 2 times
...
Mattt
6 months, 4 weeks ago
1- No : The pipeline definition provided contains only one stage with multiple tasks (VSBuild, CopyFiles, and PublishBuildArtifacts). 2- No: ${BuildPlatform} is not a predefined variable in Azure DevOps. You typically define it as a parameter or variable elsewhere in your pipeline. 3- Yes: ${System.DefaultWorkingDirectory} is indeed a predefined variable that refers to the default working directory for your pipeline.
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