AZ-400 Practice Test

AZ-400 Practice Test practice questions, page 11 of 23, with answer review and explanations.

Question 51

You are monitoring the health and performance of an Azure web app by using Azure Application Insights. You need to ensure that an alert is sent when the web app has a sudden rise in performance issues and failures. What should you use?

  1. custom events
  2. Application Insights Profiler
  3. usage analysis
  4. Smart Detection
  5. Continuous export

Question 52

You have a project in Azure DevOps named Contoso App that contains pipelines in Azure Pipelines for GitHub repositories. You need to ensure that developers receive Microsoft Teams notifications when there are failures in a pipeline of Contoso App. What should you run in Teams? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Hot Area:

Question 53

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.

Question 54

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.

Question 55

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 the Microsoft Teams admin center, configure external access
  4. From Microsoft Teams, add a channel
  5. From Azure DevOps, install an extension