AZ-400 Exam Questions

Total 488 Questions

Last Updated Exam : 16-Dec-2024

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.

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen Your company has a project in Azure DevOps for a new web application. You need to ensure that when code is checked in, a build runs automatically. Solution: From the Continuous deployment trigger settings of the release pipeline, you enable the Pull request trigger setting. Does the meet the goal?


A. Yes


B. No





B.
  No

In Visual Designer you enable continuous integration (CI) by:

  • Select the Triggers tab.
  • Enable Continuous integration.

You have a multi-tier application. The front end of the application is hosted in Azure App Service. You need to identify the average load times of the application pages. What should you use?


A. Azure Application Insights


B. the activity log of the App Service


C. the diagnostics logs of the App Service


D. Azure Advisor





A.
  Azure Application Insights

Application Insights will tell you about any performance issues and exceptions, and help you find and diagnose the root causes. Application Insights can monitor both Java and ASP.NET web applications and services, WCF services. They can be hosted on-premises, on virtual machines, or as Microsoft Azure websites. On the client side, Application Insights can take telemetry from web pages and a wide variety of devices including iOS, Android, and Windows Store apps.

You use Azure DevOps processes to build and deploy code. You need to compare how much time is spent troubleshooting issues found during development and how much time is spent troubleshooting issues found in released code. Which KPI should you use?


A. defect escape rate


B. unplanned work rate


C. defect rate


D. rework rate





A.
  defect escape rate

The defect escape rate is a metric that assesses the collective quality of software releases by evaluating how often errors are discovered and rectified in the pre-production process versus during production. The defect escape rate is a KPI (Key Performance Indicator) that measures how many defects are found in released code versus how many are found during development. This KPI can help you to compare how much time is spent troubleshooting issues found during development versus how much time is spent troubleshooting issues found in released code. The higher the defect escape rate, the more defects are found in released code, and thus more time is spent troubleshooting issues in released code.

Your company plans to use an agile approach to software development You need to recommend an application to provide communication between members of the development team who work in locations around the world. The application must meet the following requirements:

  • Provide the ability to isolate the members of efferent project teams into separate communication channels and to keep a history of the chats within those channels.
  • Be available on Windows 10, Mac OS, iOS, and Android operating systems.
  • Provide the ability to add external contractors and suppliers to projects.
  • Integrate directly with Azure DevOps.
What should you recommend?


A. Octopus


B. Bamboo


C. Microsoft Project


D. Slack





D.
  Slack

Slack is a popular team collaboration service that helps teams be more productive by keeping all communications in one place and easily searchable from virtually anywhere. All your messages, your files, and everything from Twitter, Dropbox, Google Docs, Azure DevOps, and more all together. Slack also has fully native apps for iOS and Android to give you the full functionality of Slack wherever you go.
Integrated with Azure DevOps
This integration keeps your team informed of activity happening in its Azure DevOps projects. With this integration, code check-ins, pull requests, work item updates, and build events show up directly in your team's Slack channel.

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?


A. cycle time


B. velocity


C. cumulative flow


D. lead time





D.
  lead time


Page 2 out of 49 Pages
Previous