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.
Q.1 – Solution: You create a service hook subscription that uses the build completed event.
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
You can create a service hook for Azure DevOps Services and TFS with Jenkins.
However, the service subscription event should use the code pushed event, is triggered when the code is pushed to a Git repository.
Q.2 – Solution: You create an email subscription to an Azure DevOps notification.
Does this meet the goal?
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
Q.3 – Solution: You create a service hook subscription that uses the code pushed event.
Does this meet the goal?
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
Q.4 – Solution: You add a trigger to the build pipeline.
Does this meet the goal?
Does this meet the goal?
A. Yes
B. No
Correct Answer: B