AZ-400 Exam Questions

Total 488 Questions

Last Updated Exam : 16-Dec-2024

Topic 4: Mix Questions Set

You have an Azure web app named webapp1 that uses the .NET Core runtime stack. You have an Azure Application Insights resource named Applnsight1. Webapp1 sends telemetry data to Applnsights1. You need to ensure that webapp1 sends the telemetry data at a fixed sampling rate. What should you do?


A. From the code repository of webapp1, modify the Applicationlnsights.config file.


B. From the code repository of webapp1, modify the Startup.cs file.


C. From Applnsights1. modify the Usage and estimated costs settings.


D. From Applnsights1, configure the Continuous export settings.





B.
  From the code repository of webapp1, modify the Startup.cs file.

You have an Azure virtual machine that is monitored by using Azure Monitor. The virtual machine has the Azure Log Analytics agent installed. You plan to deploy the Service Map solution from Azure Marketplace. What should you deploy to the virtual machine to support the Service Map solution?


A. the Telegraf agent


B. the Azure Monitor agent


C. the Dependency agent


D. the Windows Azure diagnostics extension (WAD)





C.
  the Dependency agent

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 uses Azure DevOps to manage the build and release processes for applications.
You use a Git repository for applications source control.
You need to implement a pull request strategy that reduces the history volume in the master branch.
Solution: You implement a pull request strategy that uses a three-way merge.
Does this meet the goal?


A. Yes


B. No





B.
  No

Instead use fast-forward merge.
Note:
No fast-forward merge - This option merges the commit history of the source branch when the pull request closes and creates a merge commit in the target branch.

Note: This question n 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. You have an approval process that contains a condition. The condition requires that releases be approved by a team leader before they are deployed. You have a policy stating that approvals must occur within eight hours. You discover that deployments fail if the approvals lake longer than two hours. You need to ensure that the deployments only fail if the approvals take longer than eight hours.
Solution: From Pre-deployment conditions, you modify the Timeout setting for pre-deployment approvals.
Does this meet the goal?


A. Yes


B. No





B.
  No

How should you configure the release retention policy for the investment planning applications suite? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.








Scenario: By default, all releases must remain available for 30 days, except for production releases, which must be kept for 60 days.
Box 1: Set the default retention policy to 30 days The Global default retention policy sets the default retention values for all the build pipelines. Authors of build pipelines can override these values.
Box 2: Set the stage retention policy to 60 days You may want to retain more releases that have been deployed to specific stages.

You have an Azure DevOps organization that contains a project named Project1. You need to create a published wiki in Project1. What should you do first?


A. Modify the Storage settings of Project1.


B. In Project1, create an Azure DevOps pipeline.


C. In Project1, create an Azure DevOps repository.


D. Modify the Team configuration settings of Project1.





C.
  In Project1, create an Azure DevOps repository.

Your company has a project in Azure DevOps for a new application. The application will be deployed to several Azure virtual machines that run Windows Server 2022. You need to recommend a deployment strategy for the virtual machines. The strategy must meet the following requirements:

  • Ensure that the virtual machines maintain a consistent configuration.
  • Minimize administrative effort to configure the virtual machines.
What should you include in the recommendation?


A. Azure Resource Manager templates and the PowerShell Desired State Configuration (DSC) extension for Windows


B. Deployment YAML and Azure pipeline deployment groups


C. Azure Resource Manager templates and the Custom Script Extension for Windows


D. Deployment YAML and Azure pipeline stage templates





C.
  Azure Resource Manager templates and the Custom Script Extension for Windows

You have an Azure pipeline that is used to deploy an app named App1. You need to ensure that new versions of App1 are released only if they exceed performance baselines. The solution must minimize administrative effort. What should you configure?


A. an Azure Repos branch policy


B. an Azure Pipelines release artifact


C. an Azure Pipelines deployment gate


D. an Azure Monitor alert





C.
  an Azure Pipelines deployment gate

Which branching strategy should you recommend for the investment planning applications suite?


A. release isolation


B. main only


C. development isolation


D. feature isolation





D.
  feature isolation

Explanation:
Scenario: A branching strategy that supports developing new functionality in isolation must be used.
Feature isolation is a special derivation of the development isolation, allowing you to branch one or more feature branches from main, as shown, or from your dev branches.

When you need to work on a particular feature, it might be a good idea to create a feature branch.

You use Azure Pipelines to build and deploy an app named Appl. You plan to monitor App1 by using Application Insights. You create an Application Insights instance named All. You need to configure App1 to use All. Which file should you modify?


A. appsettings.son


B. aunchSettings.json


C. startup.cs


D. project.son





A.
  appsettings.son


Page 3 out of 49 Pages
Previous