exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 6 question 10 discussion

Actual exam question from Microsoft's AZ-400
Question #: 10
Topic #: 6
[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.
You integrate a cloud-hosted Jenkins server and a new Azure DevOps deployment.
You need Azure DevOps to send a notification to Jenkins when a developer commits changes to a branch in Azure Repos.
Solution: You add a trigger to the build pipeline.
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
TateBytes
Highly Voted 3 years, 4 months ago
No. Keep in mind this is about the notification to Jenkins that is sent after code is pushed to Azure repo.. this doesn't require the build pipeline trigger. Moreover, the build trigger is not in Azure Repo. The build is triggered in Jenkins, hence you would not need to add a trigger to the Jenkins build pipeline to send a notification to itself.
upvoted 20 times
rdemontis
2 years, 2 months ago
thanks for explanation
upvoted 1 times
...
...
cherry22
Highly Voted 3 years, 5 months ago
The answer is correct. In build pipeline, you have to 'Enable continuous integration' in trigger, not 'Adding' trigger.
upvoted 5 times
...
Pamban
Most Recent 11 months, 2 weeks ago
this series of yes/no question appeared on today's (20/06/23) exam.selected the given answer in examtopics. Correct answer is service hook which uses code push event scored 955. should be correct! cheers
upvoted 1 times
...
syu31svc
1 year, 10 months ago
Selected Answer: B
https://docs.microsoft.com/en-us/azure/devops/service-hooks/services/jenkins?view=azure-devops: "You can trigger a Jenkins build when you push code to your project's Git repository" Answer is No
upvoted 3 times
...
Eltooth
2 years ago
Selected Answer: B
B is correct answer.
upvoted 2 times
...
rdemontis
2 years, 2 months ago
Selected Answer: B
correct answer
upvoted 2 times
...
moota
2 years, 11 months ago
The solution is badly worded so it generates confusion
upvoted 1 times
...
Kalaismile06
3 years ago
Repeated question, the ans is No. Shared the link as well
upvoted 2 times
...
piyipo3349
3 years, 5 months ago
I believe the answer is YES: 1- One way is to run CI jobs in Jenkins separately 2- The alternate way is to wrap a Jenkins CI job inside an Azure pipeline <-- source: https://azuredevopslabs.com/labs/vstsextend/jenkins/
upvoted 2 times
hgx32983
3 years, 1 month ago
When will you understand that we don't care what you believe to be true. Please if you're not sure about something, don't comment. The answer is definitly NO. As mentioned, one wants to send a notification to jenkins when a commit occurs in order to run the build pipeline on the jenkins.
upvoted 6 times
ScreamingHand
2 years, 10 months ago
No need for aggression. Anyone should feel free to discuss whatever, - if you're not interested in their comment, don't comment
upvoted 3 times
...
...
...
Dady9
3 years, 5 months ago
you don't have build in DevOps only repo - commits changes to a branch. You can trigger a Jenkins build when you push code to your project's Git repository or when you check in code to Team Foundation version control. https://docs.microsoft.com/en-us/azure/devops/service-hooks/services/jenkins?view=azure-devops#trigger-jenkins So answer - No
upvoted 2 times
...
27close
3 years, 7 months ago
Next, we need to enable the “Generic Webhook Trigger” under the “Build Triggers” section. We need to add a “Post content parameter” with the same expression we determined earlier from our JSONPath Expression Tester. The result will be stored in the “branch” variable. Next, we need to add a filter which lets us know if the branch that was pushed to is the branch we were looking for -answer is yes -possible
upvoted 1 times
...
temporal111
3 years, 8 months ago
It should be "yes", a build pipeline trigger can invoke 3rd party services.
upvoted 5 times
buzzerboy
1 year, 4 months ago
that's what I thought too. Pretty sure it would work. But I guess its not the best practice.
upvoted 1 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 ...