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 11 months, 1 week 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
...
Mattt
Highly Voted 10 months 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 5 times
...
Fadoua24
Most Recent 1 week, 4 days ago
1. Pipeline1 consists of three stages. No:Motivo: Este pipeline tiene tres tareas (tasks) dentro de una única etapa (stage) implícita. No se han definido múltiples stages explícitamente usando stages:. 2. $(BuildPlatform) is a predefined variable. No:Motivo: $(BuildPlatform) no es una variable predefinida de Azure DevOps. Es una variable definida por el usuario, normalmente en el archivo de parámetros del pipeline o en la UI. Referencia oficial 3. $(System.DefaultWorkingDirectory) is a predefined variable. Sí:Motivo: $(System.DefaultWorkingDirectory) es una variable predefinida que apunta al directorio de trabajo predeterminado donde se descarga el código fuente durante una ejecución del pipeline.
upvoted 1 times
...
Dankho
7 months 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
9 months ago
NO NO YES
upvoted 1 times
...
p2006
9 months, 2 weeks ago
https://learn.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml
upvoted 1 times
...
Mattt
9 months, 3 weeks ago
No No Yes
upvoted 2 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 ...