Free AZ-400 Exam Braindumps (page: 15)

Page 14 of 128

You have a private GitHub repository.
You need to display the commit status of the repository on Azure Boards.

What should you do first?

  1. Configure multi-factor authentication (MFA) for your GitHub account.
  2. Add the Azure Pipelines app to the GitHub repository.
  3. Add the Azure Boards app to the repository.
  4. Create a GitHub action in GitHub.

Answer(s): C

Explanation:

To connect Azure Boards to GitHub.com, connect and configure from Azure Boards. Or, alternatively, install and configure the Azure Boards app from GitHub. Both methods have been streamlined and support authenticating and operating via the app rather than an individual.

Note (see step 4 below):
Add a GitHub connection:
Sign into Azure Boards.
Choose (1) Project Settings, choose (2) GitHub connections and then (3) Connect your GitHub account.
If this is your first time connecting to GitHub from Azure Boards, you will be asked to sign in using your GitHub credentials. Choose an account for which you are an administrator for the repositories you want to connect to.
The Add GitHub Repositories dialog automatically displays and selects all GitHub.com repositories for which you are an administrator. Unselect any repositories that you don't want to participate in the integration.


Reference:

https://docs.microsoft.com/en-us/azure/devops/boards/github/connect-to-github



You are integrating Azure Pipelines and Microsoft Teams. You install the Azure Pipelines app in Microsoft Teams.

You have an Azure DevOps organization named Contoso that contains a project name Project1. You subscribe to Project1 in Microsoft Teams.
You need to ensure that you only receive events about failed builds in Microsoft Teams. What should you do first?

  1. From Microsoft Teams, run @azure pipelines subscribe https://dev.azure.com/Contoso/Project1.
  2. From Azure Pipelines, add a Publish Build Artifacts task to Project1.
  3. From Microsoft Teams, run @azure pipelines subscriptions.
  4. From Azure Pipelines, enable continuous integration for Project1.

Answer(s): C



You have an Azure DevOps organization named Contoso.
You need to receive Microsoft Teams notifications when work items are updated. What should you do?

  1. From Azure DevOps, configure a service hook subscription
  2. From Microsoft Teams, configure a connector
  3. From Microsoft Teams admin center, configure external access
  4. From Microsoft Teams, add a channel
  5. From Azure DevOps, install an extension

Answer(s): B



You create an alert rule in Azure Monitor as shown in the following exhibit.


Which action will trigger an alert?

  1. a failed attempt to delete the ASP-9bb7 resource
  2. a change to a role assignment for the ASP-9bb7 resource
  3. a successful attempt to delete the ASP-9bb7 resource
  4. a failed attempt to scale up the ASP-9bb7 resource

Answer(s): A






Post your Comments and Discuss Microsoft AZ-400 exam with other Community members:

AZ-400 Discussions & Posts