Go Back on AZ-400 Exam
Available in 1, 3, 6 and 12 Months Free Updates Plans
PDF: $15 $60

Test Engine: $20 $80

PDF + Engine: $25 $99

AZ-400 Practice Test


Page 3 out of 98 Pages

Topic 4: Mix Questions Set

You have a Microsoft ASP.NET Core web app in Azure that is accessed worldwide. You need to run a URL ping test once every five minutes and create an alert when the web app is unavailable from specific Azure regions. The solution must minimize development time. What should you do?


A. Create an Azure Application Insights availability test and alert


B. Create an Azure Service Health alert for the specific regions.


C. Create an Azure Monitor Availability metric and alert


D. Write an Azure function and deploy the function to the specific regions.





A.
  Create an Azure Application Insights availability test and alert

There are three types of Application Insights availability tests:

  • URL ping test: a simple test that you can create in the Azure portal.
  • Multi-step web test
  • Custom Track Availability Tests
Note: After you've deployed your web app/website, you can set up recurring tests to monitor availability and responsiveness. Azure Application Insights sends web requests to your application at regular intervals from points around the world. It can alert you if your application isn't responding, or if it responds too slowly.
You can set up availability tests for any HTTP or HTTPS endpoint that is accessible from the public internet. You don't have to make any changes to the website you're testing. In fact, it doesn't even have to be a site you own. You can test the availability of a REST API that your service depends on.

Your company has a project in Azure DevOps for a new web application. The company identifies security as one of the highest priorities. You need to recommend a solution to minimize the likelihood that infrastructure credentials will be leaked. What should you recommend?


A. Add a Run Inline Azure PowerShell task to the pipeline


B. Add a PowerShell task to the pipeline and run Set-AzureKeyVaultSecret


C. Add a Azurre Key Vault task to the pipeline


D. Add Azure Key Vault references to Azure Resource Manger templates.





B.
  Add a PowerShell task to the pipeline and run Set-AzureKeyVaultSecret

Azure Key Vault provides a way to securely store credentials and other keys and secrets. The Set-AzureKeyVaultSecret cmdlet creates or updates a secret in a key vault in Azure Key Vault.

You are developing an application. The application source has multiple branches. You make several changes to a branch used for experimentation. You need to update the main branch to capture the changes made to the experimentation branch and override the history of the Git repository. Which Git option should you use?


A. Rebase


B. Fetch


C. MergeE1457D5D1DDCBD40AB3BF70D5D


D. Push





C.
  MergeE1457D5D1DDCBD40AB3BF70D5D

Your company is building a new solution in Java. The company currently uses a SonarQube server to analyze the code of .NET solutions. You need to analyze and monitor the code quality of the Java solution. Which task types should you add to the build pipeline?


A. Octopus


B. Chef


C. Maven


D. Grunt





A.
  Octopus

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?


A. Enable GitHub annotations for the board.


B. Install the Azure Boards app for GitHub.


C. Create a GitHub personal access token (PAT).


D. Select Allow anonymous users to access the status badge.





D.
  Select Allow anonymous users to access the status badge.


Page 3 out of 98 Pages
Previous