AZ-400 Exam QuestionsBrowse all questions from this exam

AZ-400 Exam - Question 336


Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

Your company has a project in Azure DevOps for a new web application.

You need to ensure that when code is checked in, a build runs automatically.

Solution: From the Triggers tab of the build pipeline, you select Batch changes while a build is in progress.

Does this meet the goal?

Show Answer
Correct Answer: B

To ensure that a build runs automatically when code is checked in, you need to enable Continuous Integration (CI). This is done by enabling the Continuous Integration option in the Triggers tab of the build pipeline. Selecting 'Batch changes while a build is in progress' reduces the number of builds by batching changes together but does not ensure that a build runs immediately upon check-in. Therefore, this solution does not meet the goal.

Discussion

8 comments
Sign in to comment
Beast_Hollow
Oct 30, 2021

Correct answer

ScreamingHand
Jan 23, 2022

Answer is correct: https://azuredevopslabs.com/labs/azuredevops/continuousintegration/

lugospod
Aug 4, 2022

Got this January 2022.

rdemontisOption: B
Sep 23, 2022

correct

UnknowMan
Nov 9, 2022

Correct

syu31svcOption: B
Feb 5, 2023

https://docs.microsoft.com/en-us/devops/develop/what-is-continuous-integration "Continuous integration (CI) is the process of automatically building and testing code every time a team member commits code changes to version control." Answer is No

vsvaidOption: B
Jun 22, 2024

Agree to answer

ozbonnyOption: B
Aug 24, 2024

Correct B. No