exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 7 question 45 discussion

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

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 Continuous deployment trigger settings of the release pipeline, you enable the Pull request trigger setting.
Does this meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
DevOpsGeek
Highly Voted 4 years, 1 month ago
The answer is correct, but the explanation is wrong, when a new code is checkin, the build will trigger only when we configure the Build Validation in Branch policy for the Main branch
upvoted 17 times
fihdsaHFHVKJFEV324
3 years, 10 months ago
right!
upvoted 1 times
...
...
UrbanRellik
Most Recent 6 months, 2 weeks ago
Selected Answer: B
There's multiple parts for this to be a true (A) "yes", statement. 1. Enable a minimum of three reviewers. 2. Authors can review their own code. 3. All merges to main must be submitted in the form of a pull request. The above criteria has not been confirmed. Therefore, the answer is (B) No.
upvoted 1 times
...
syu31svc
2 years, 4 months ago
Selected Answer: B
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
upvoted 1 times
...
rdemontis
2 years, 8 months ago
Selected Answer: B
correct answer but wrong explanation
upvoted 1 times
rdemontis
2 years, 8 months ago
Sorry, the explanation is correct. It refers to the creation of the build pipeline by the classic editor
upvoted 1 times
...
...
lugospod
2 years, 10 months ago
Got this January 2022.
upvoted 3 times
...
ChauPhan
3 years, 1 month ago
I checked the release pipeline on LAB, it displays Continuous deployment trigger Git: _python-sample-vscode-flask-tutorial  Enabling the trigger will create a new release every time a Git push happens to the selected repository. Pull request trigger Git: _python-sample-vscode-flask-tutorial  Enabling this will create a release every time a selected artifact is available as part of a pull request workflow
upvoted 2 times
ChauPhan
3 years, 1 month ago
The answer for the question is for general pipeline, not release pipeline
upvoted 1 times
...
ChauPhan
3 years, 1 month ago
So the correct answer is : Continuous deployment trigger is set to ENABLE
upvoted 1 times
...
...
MrMonkfish
3 years, 3 months ago
The requirement is that "You need to ensure that when code is checked in, a build runs automatically.", when code is checked in to perform a build, so Continuous Integration. The answer "Solution: From the Continuous deployment trigger settings of the release pipeline, you enable the Pull request trigger setting." is talking about Continuous Deployment, which is for deploying, not building. I say B - No, it is not the correct solution. Enable Continuous Integration instead.
upvoted 4 times
...
moota
3 years, 5 months ago
My opinion is a PR is different from a code check in.
upvoted 2 times
prashantjoge
2 years, 8 months ago
PR is obviously different from a code checkin
upvoted 1 times
...
...
johnny19873
4 years, 3 months ago
Definitely it's B
upvoted 4 times
...
Fred64
4 years, 7 months ago
Pull Request trigger is a build pipeline trigger, not release's
upvoted 4 times
zalyoung
4 years, 5 months ago
release pipeline has PR trigger as well https://docs.microsoft.com/en-us/azure/devops/pipelines/release/triggers?view=azure-devops#prsettrigger
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 ...