AZ-400 · Question #391
Hotspot Question You have an Azure Pipelines pipeline that has the following definition. For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each cor
The correct answer is Job B can run concurrently with job A. = Yes; Job D can run concurrently with job B. = Yes; Job C can run concurrently with job D. = No. In Azure Pipelines, jobs run in parallel by default unless dependencies are explicitly defined using 'dependsOn'. Job B has no dependency on Job A (they are independent), so they can run concurrently - Yes. Job D depends on Job C (not Job B), meaning Job D and Job B have no depen
Question
Answer Area
- Job B can run concurrently with job A.Yes
- Job D can run concurrently with job B.Yes
- Job C can run concurrently with job D.No
Explanation
In Azure Pipelines, jobs run in parallel by default unless dependencies are explicitly defined using 'dependsOn'. Job B has no dependency on Job A (they are independent), so they can run concurrently - Yes. Job D depends on Job C (not Job B), meaning Job D and Job B have no dependency relationship and can run concurrently - Yes. Job C and Job D cannot run concurrently because Job D explicitly 'dependsOn' Job C, meaning Job D must wait for Job C to complete before starting - No.
Topics
Community Discussion
No community discussion yet for this question.