exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 6 question 44 discussion

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

You manage projects by using Azure Boards. You manage project code by using GitHub.

You have a work item that has an ID of 123.

You need to link work item 123 to a new pull request.

What are two ways to achieve this goal? Each correct answer presents a complete solution.

NOTE: Each correct solution is worth one point.

  • A. In the Development section for work item 123, select Add link, and then enter the URL of the pull request.
  • B. To the description of the pull request, add #AB123.
  • C. To work item 123 add a comment that includes the URL of the pull request.
  • D. From work item 123, open the Links tab, select Add link, select Existing item, and then enter the URL of the commit.
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

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
djhyfdgjk
Highly Voted 1 year, 4 months ago
For B syntax is wrong. To be correct it should be AB#123
upvoted 8 times
Freyr
4 months, 3 weeks ago
Agree, reference: https://learn.microsoft.com/en-us/azure/devops/boards/github/link-to-from-github?view=azure-devops
upvoted 1 times
...
...
Gooldmember
Most Recent 7 months, 2 weeks ago
Selected Answer: AB
I agree with A & B
upvoted 1 times
Freyr
4 months, 3 weeks ago
Disagree. B is not the correct answer. According to the link below, it clearly states that `AB#{ID}` is the correct syntax. Therefore, 'B' cannot be the correct answer as it shows #AB123. Since you have selected B, it is surely incorrect, as the answer specifies #AB123. I agree with @djhyfdgjk. Reference: https://learn.microsoft.com/en-us/azure/devops/boards/github/link-to-from-github?view=azure-devops
upvoted 1 times
...
...
VamshiJupelli
1 year ago
Selected Answer: AD
Tested in my Azure DevOps, adding #AB123 in the description doesn't work. Adding just #123 works. So the answer has to be AD
upvoted 2 times
Dkijc
7 months, 2 weeks ago
Did you try using Github? It says the source is managed by GitHub, not Azure Repos?
upvoted 1 times
...
...
UrbanRellik
1 year ago
Selected Answer: AB
A & B are the most direct approach. Other ways can also link the WIT, but do not follow the terminology word for word.
upvoted 1 times
...
Kalaisuran
1 year, 2 months ago
Selected Answer: AB
A: https://learn.microsoft.com/en-us/azure/devops/boards/github/link-to-from-github?view=azure-devops b: https://learn.microsoft.com/en-us/azure/devops/boards/work-items/auto-complete-work-items-pull-requests?view=azure-devops
upvoted 1 times
...
FeriAZ
1 year, 3 months ago
Selected Answer: AB
A. Explicit Linking: This option directly connects the work item to the pull request within Azure Boards. It creates a clear traceability between the development task and the code changes. B. Keyword Referencing: GitHub allows referencing work items by including their ID (e.g., #AB123) in the pull request description. This automatically links the work item to the pull request within Azure Boards if the project and work item tracking are properly configured.
upvoted 1 times
...
AnishGS
1 year, 3 months ago
AD Tested in the lab account
upvoted 2 times
...
ozbonny
1 year, 3 months ago
Selected Answer: AD
A. In the Development section for work item 123, select Add link, and then enter the URL of the pull request. D. From work item 123, open the Links tab, select Add link, select Existing item, and then enter the URL of the commit.
upvoted 1 times
...
freddyneen
1 year, 4 months ago
Selected Answer: AD
A, B and D are correct from developer perspective. The important think is stated in the question description: "You manage projects by using Azure Boards. You manage project code by using GitHub." The difference is that the code is managed by using github but the project is managed by using Azure Boards. Since work items are part of project management and not part of code management, only A and D options are correct.
upvoted 3 times
...
Munwalinwali
1 year, 4 months ago
Selected Answer: AB
https://learn.microsoft.com/en-us/azure/devops/boards/github/link-to-from-github?view=azure-devops
upvoted 1 times
...
osagiestar
1 year, 4 months ago
Selected Answer: AB
A. https://learn.microsoft.com/en-us/azure/devops/boards/github/link-to-from-github?view=azure-devops B. https://learn.microsoft.com/en-us/azure/devops/boards/work-items/auto-complete-work-items-pull-requests?view=azure-devops
upvoted 2 times
...
osagiestar
1 year, 4 months ago
Selected Answer: BD
B. https://learn.microsoft.com/en-us/azure/devops/boards/work-items/auto-complete-work-items-pull-requests?view=azure-devops D. https://learn.microsoft.com/en-us/azure/devops/repos/git/pull-requests?view=azure-devops&tabs=browser#finish
upvoted 1 times
osagiestar
1 year, 4 months ago
A and B are the correct options
upvoted 1 times
...
osagiestar
1 year, 4 months ago
Correct option are actually A. https://learn.microsoft.com/en-us/azure/devops/boards/github/link-to-from-github?view=azure-devops D. https://learn.microsoft.com/en-us/azure/devops/repos/git/pull-requests?view=azure-devops&tabs=browser#finish
upvoted 2 times
lambdaCreator_111
1 year, 4 months ago
Just checked in Azure Devops, A & D are both possible and right.
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 ...