exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 7 question 12 discussion

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

Your company uses cloud-hosted Jenkins for builds.
You need to ensure that Jenkins can retrieve source code from Azure Repos.
Which three actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. Create a webhook in Jenkins.
  • B. Add the Team Foundation Server (TFS) plug-in to Jenkins.
  • C. Add a personal access token to your Jenkins account.
  • D. Create a personal access token (PAT) in your Azure DevOps account.
  • E. Create a service hook in Azure DevOps.
Show Suggested Answer Hide Answer
Suggested Answer: CDE 🗳️

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
denisred
Highly Voted 4 years, 1 month ago
I think B,D,E are right answers!
upvoted 34 times
ChauPhan
3 years, 6 months ago
Why E? "You need to ensure that Jenkins can retrieve source code from Azure Repos." That's mean Jenkins access to Azure Repo, get the repo and run build. Not from Azure DevOps to trigger Jenkins 1. You need to install something at Jenkins to access Azure Repo --> B 2. Generate PAT at Azure Repo/DevOps --> D 3. Input this PAT at Jenkins to access the repo --> C
upvoted 14 times
...
zioalex
3 years, 11 months ago
Do not think is correct. B_C_D is. What you should configure a Webhook?
upvoted 6 times
...
noussa
4 years ago
B,D,E https://devblogs.microsoft.com/devops/vsts-visual-studio-team-services-integration-with-jenkins/
upvoted 3 times
...
Concay
4 years ago
Don't have token how to access?
upvoted 2 times
...
...
fflyin2k
Highly Voted 4 years ago
B,C,D (the given answer is correct) URL:https://docs.microsoft.com/en-us/azure/developer/jenkins/deploy-to-linux-vm-using-azure-devops-services by the way, webhook is used for Jenkins + Github, not for Azure Repos.
upvoted 30 times
...
Mo_alwaysjolling
Most Recent 3 months, 2 weeks ago
Selected Answer: BCD
BCD is correct
upvoted 2 times
...
Dankho
4 months, 3 weeks ago
Selected Answer: BCD
No Service Hook or webhook is needed here since there is no "event" that occurs and no event notifications needs to be sent to a subscribing service (Service hook) or an external tool such as Jenkins (webhook.
upvoted 1 times
...
Gooldmember
6 months, 3 weeks ago
Selected Answer: CDE
C, D, E are correct from my point of view today. Nothing states it is an Azure DevOps Server, so i'm assuming it is Azure DevOps Services. Therefore Add an TFS plugin is not was it is called today, then it would be named as an Marketplace Extension https://learn.microsoft.com/en-us/azure/devops/service-hooks/services/jenkins?view=azure-devops
upvoted 2 times
...
MrAZ105
7 months, 1 week ago
https://www.dragonspears.com/blog/ci-cd-with-jenkins-and-azure-devops-services
upvoted 1 times
...
Mattt
7 months, 2 weeks ago
Selected Answer: BCD
B, C, D are correct
upvoted 1 times
...
Mattt
7 months, 2 weeks ago
B, C D are correct
upvoted 1 times
...
Mattt
7 months, 2 weeks ago
Selected Answer: BCD
B C D are correct
upvoted 1 times
...
husam421
10 months, 2 weeks ago
Selected Answer: BCD
What should you configure as a Webhook?
upvoted 1 times
...
GPRai
11 months ago
Selected Answer: CDE
Looks more accurate
upvoted 3 times
...
ay_m
11 months, 1 week ago
E Definitely has to be part of the answer, see the link https://learn.microsoft.com/en-us/azure/devops/service-hooks/services/jenkins?view=azure-devops
upvoted 1 times
...
UrbanRellik
11 months, 3 weeks ago
Selected Answer: CDE
1) Create a PAT in ADO. 2) Create a service hook subscription in ADO. https://learn.microsoft.com/en-us/azure/devops/service-hooks/services/jenkins/ 3) Add PAT to Jenkins. https://www.jenkins.io/doc/book/using/using-credentials/
upvoted 3 times
...
chloaus
1 year, 1 month ago
Reference for B, D, E as below but it is 4 years ago. https://github.com/undergroundwires/Azure-in-bullet-points/blob/master/AZ-400%20Microsoft%20Azure%20DevOps%20Solutions/7.3.%20Jenkins.md
upvoted 1 times
...
FeriAZ
1 year, 2 months ago
Selected Answer: CDE
D. Create a personal access token (PAT) in your Azure DevOps account. (A PAT with read access to the Git repository is still needed for Jenkins to authenticate with Azure DevOps.) E. Create a service hook in Azure DevOps. (A service hook is crucial to trigger Jenkins builds upon relevant events in Azure DevOps.) C. Add the Team Foundation Server (TFS) plugin to Jenkins. (While Azure Repos is the current name for the service, the TFS plugin in Jenkins is still compatible and provides the necessary functionality to interact with Azure Repos and clone the source code.)
upvoted 5 times
...
ozbonny
1 year, 2 months ago
Selected Answer: BDE
According with the documentation of the links: B D E https://learn.microsoft.com/es-es/azure/devops/service-hooks/services/jenkins?view=azure-devops https://azuredevopslabs.com/labs/vstsextend/jenkins/
upvoted 2 times
...
vsvaid
1 year, 5 months ago
Selected Answer: BCD
I agree with BCD. You do not need to create service hook in Az Devops because we are not triggerring any build. Here we need to Jenkins to access source code from Version control (TFS).
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago