πŸ”

AZ-400 β€” questions

Page 10 of 18 Β· 358 total questions.

Topic 6 Β· Question 277 Β· Select all that apply

You are integrating an Azure Boards project and a GitHub repository. You need to authenticate Azure Boards to GitHub. Which two authentication methods can you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

  • Aa publisher certificate
  • Ba trusted root certificate
  • CMicrosoft Azure Active Directory (Azure AD), part of Microsoft Entra
  • DGitHub user credentials (correct answer)
  • Ea personal access token (PAT) (correct answer)
Reveal answer & explanation
Correct answer: D, E

The correct answer is D, E. Option D: GitHub user credentials Option E: a personal access token (PAT).

Topic 6 Β· Question 278

You have a GitHub repository that is integrated with Azure Boards. Azure Boards has a work item that has the number 715. You need to ensure that when you commit source code in GitHub, the work item is updated automatically. What should you include in the commit comments?

  • Athe URL of the work item
  • BAB#715 (correct answer)
  • C@715
  • D#715
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: AB#715.

Topic 6 Β· Question 279

You are creating a dashboard in Azure Boards. You need to visualize the time from when work starts on a work item until the work item is closed. Which type of widget should you use?

  • Acycle time (correct answer)
  • Bvelocity
  • Ccumulative flow
  • Dlead time
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: cycle time.

Topic 6 Β· Question 280

You manage a project by using Azure Boards. You manage the project code by using GitHub. You have three work items that have IDs of 456, 457, and 458. You need to create a pull request that will be linked to all the work items. The solution must set the state of work item 456 to done. What should you add to the commit message?

  • AFixes #456, #457, #458
  • BFixes #AB456, #AB457, #AB458 (correct answer)
  • C#456, #457, #458Completed #456
  • D#AB456, #AB457, #AB458
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Fixes #AB456, #AB457, #AB458.

Topic 6 Β· Question 281

You manage code by using GitHub. You plan to ensure that all GitHub Actions are validated by a security team. You create a branch protection rule requiring that code changes be reviewed by code owners. You need to create the CODEOWNERS file. Where should you create the file?

  • A.github/actions/
  • B.github/ (correct answer)
  • C.git/
  • D.github/workflows/
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B:.github/.

Topic 6 Β· Question 283

You manage a project by using Azure Boards. You manage the project code by using GitHub. You have three work items that have IDs of 456, 457, and 458. You need to create a pull request that will be linked to all the work items. The solution must set the state of work item 456 to done. What should you add to the commit message?

  • ADone #456, #457, #458
  • B#AB456, #AB457, #AB458
  • C#456, #457, #458Completed #456
  • D#AB456, #AB457, #AB458Completed #AB456 (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: #AB456, #AB457, #AB458Completed #AB456.

Topic 6 Β· Question 284

You have an Azure subscription that contains an Azure container registry. The container registry contains an ACR Tasks task named Task1. Task1 is configured to run once every five days. You need to trigger Task1 to run immediately. Which command should you run?

  • Aaz acr task run (correct answer)
  • Baz acr build
  • Caz acr taskrun
  • Daz acr run
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: az acr task run.

Topic 6 Β· Question 285

You manage a project by using Azure Boards. You manage the project code by using GitHub. You have three work items that have IDs of 456, 457, and 458. You need to create a pull request that will be linked to all the work items. The solution must set the state of work item 456 to done. What should you add to the commit message?

  • A#AB456, #AB457, #AB458Completed #AB456 (correct answer)
  • B#456, #457, #458Completed #456
  • CDone #AB456, #AB457, #AB458
  • D#AB456, #AB457, #AB458Verifies #AB456
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: #AB456, #AB457, #AB458Completed #AB456.

Topic 6 Β· Question 286

You manage projects by using Azure Boards. You have a current work item name itemA that is dependant on a work item named itemB. You need to define the dependency for itemA. What should you do in the web portal for Azure DevOps?

  • AAdd a Parent link to the user story of itemA.
  • BFrom Backlogs, open the context menu, select Add link, and then select itemA. Set Link type to Successor and add the ID of itemB. (correct answer)
  • CFrom itemA, open the Links tab, and then select Add link. Set Link type to References and add the ID of itemB.
  • DFrom Backlogs, open he context menu, select Add link, and then select itemA. Set Link type to References and add the ID of itemB.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: From Backlogs, open the context menu, select Add link, and then select itemA. Set Link type to Successor and add the ID of itemB.

Topic 6 Β· Question 287

You manage projects by using Azure Boards. You have a current work item name itemA that is dependant on a work item named itemB. You need to define the dependency for itemA. What should you do in the web portal for Azure DevOps?

  • AFrom itemA, open the Links tab, and then select Add link. Set Link type to Related and add the ID of itemB.
  • BFrom Backlogs, open the context menu, select Add link, and then select itemA. Set Link type to Successor and add the ID of itemB. (correct answer)
  • CFrom itemA, open the Links tab, and then select Add link. Set Link type to References and add the ID of itemB.
  • DFrom Queries, open the context menu, select Add link, and then select Existing Item. Set Link type to Affected By and add the ID of itemB.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: From Backlogs, open the context menu, select Add link, and then select itemA. Set Link type to Successor and add the ID of itemB.

Topic 6 Β· Question 288

You have the services shown in the following table. You manage a project by using Azure Boards. You need to notify the services of build status changes. Which services can be notified by using a webhook?

Exhibit 1 for question 288
  • AService1 only
  • BService2 only
  • CService1 and Service2 (correct answer)
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Service1 and Service2.

Topic 6 Β· Question 290

You have an Azure subscription that contains an Azure Pipelines pipeline named Pipeline1 and an app named App1. Pipeline1 is used to automate the building of App1. You have a Slack channel named App1chat that includes an incoming webhook. You need to ensure that when a successful build of App1 is created, a notification is sent to App1chat by using the webhook. What should you use?

  • Aa notification
  • Ban alert rule
  • Ca subscription (correct answer)
  • Dan action group
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: a subscription.

Topic 6 Β· Question 291 Β· Select all that apply

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.

  • AIn the Development section for work item 123, select Add link, and then enter the URL of the pull request. (correct answer)
  • BTo the description of the pull request, add #AB123. (correct answer)
  • CTo work item 123 add a comment that includes the URL of the pull request.
  • DFrom work item 123, open the Links tab, select Add link, select Existing item, and then enter the URL of the commit.
Reveal answer & explanation
Correct answer: A, B

The correct answer is A, B. Option A: In the Development section for work item 123, select Add link, and then enter the URL of the pull request. Option B: To the description of the pull request, add #AB123.

Topic 6 Β· Question 293

You manage projects by using Azure Boards. You have a current work item name itemA that is dependant on a work item named itemB. You need to define the dependency for itemA. What should you do in the web portal for Azure DevOps?

  • AAdd a Parent link to the user story of itemA.
  • BFrom Backlogs, open the context menu, select Add link, and then select itemA. Set Link type to References and add the ID of itemB.
  • CFrom itemA, open the Links tab, and then select Add link. Set Link type to References and add the ID of itemB.
  • DFrom itemA, open the Links tab, and then select Add link. Set Link type to Successor and add the ID of itemB. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: From itemA, open the Links tab, and then select Add link. Set Link type to Successor and add the ID of itemB.

Topic 6 Β· Question 294

You have a project in Azure DevOps named App Project that is used to develop an app named App1. App1Project has an Azure Boards team dashboard that is used to monitor the progress of App1 and track work items. You need to track how long it takes to close a work item once work for the item has commenced. Which type of widget should you add to the dashboard?

  • Asprint burndown
  • Bvelocity
  • Clead time
  • Dcycle time (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: cycle time.

Topic 6 Β· Question 295

You manage a project by using Azure Board, and you manage the project code by using Azure Repos. You have a bug work item that has an ID of 123. You need to set the work item state to Resolved. What should you add to the commit message?

  • A#123 completes
  • BResolves #AB-123
  • CVerifies #123
  • DFixes #123 (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Fixes #123.

Topic 6 Β· Question 296 Β· Select all that apply

You manage a project by using Azure Boards, and you manage the project code by using GitHub repositories. You have a work item that has an ID of 123. You need to link a commit message in GitHub to work item 123 on the board. What are two ways to achieve the goal? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

  • AFrom the Development settings of work item 123, select Add link, and then enter the URL of the commit. (correct answer)
  • BAdd AB#123 to the text of the commit message. (correct answer)
  • CAdd GH-123 to the text of the commit message.
  • DFrom the Links settings of work item 123, select Add link, select Existing item, and then enter the URL of the commit.
  • ETo work item 123, add a comment that includes the URL of the commit.
Reveal answer & explanation
Correct answer: A, B

The correct answer is A, B. Option A: From the Development settings of work item 123, select Add link, and then enter the URL of the commit. Option B: Add AB#123 to the text of the commit message.

Topic 6 Β· Question 297

You have a project in Azure DevOps that uses an Azure Boards board and stores code in a GitHub repository. The repository contains a file named README.md. You need to ensure that README.md includes the status of the work items on the board. The solution must minimize administrative effort. What should you do first?

  • ACreate a GitHub personal access token (PAT).
  • BEnable GitHub annotations for the board.
  • CInstall the Azure Boards app for GitHub. (correct answer)
  • DSelect Allow anonymous users to access the status badge.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Install the Azure Boards app for GitHub.

Topic 6 Β· Question 298

You manage a project by using Azure Boards, and you manage the project code by using Azure Repos. You have a bug work item that has an ID of 123. You need to set the work item state to Resolved. What should you add to the commit message?

  • A#123 fixed (correct answer)
  • B#123 Resolved-
  • CVerifies #123-
  • DResolves #123-
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: #123 fixed.

Topic 6 Β· Question 299

You manage projects by using Azure Boards. You have a current work item named itemA that is dependent on a work item named itemB. You need to define the dependency for itemA. What should you do in the web portal for Azure DevOps?

  • AAdd a Parent link to the user story of itemA.
  • BFrom Backlogs, open the context menu, select Add link, and then select itemA. Set Link type to Successor and add the ID of itemB. (correct answer)
  • CFrom Backlogs, open the context menu, select Add link, and then select itemB. Set Link type to Related and add the ID of itemA.
  • DFrom itemA, open the Links tab, and then select Add link. Set Link type to References and add the ID of itemB.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: From Backlogs, open the context menu, select Add link, and then select itemA. Set Link type to Successor and add the ID of itemB.

Showing questions 181–200 of 358 Β· Page 10 of 18