Win IT Exam with Last Dumps 2025


Microsoft AZ-400 Exam

Page 51/54
Viewing Questions 501 510 out of 535 Questions
94.44%

Question 501
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

Question 502
You have a project in Azure DevOps named Project1.
You implement a Continuous Integration/Continuous Deployment (CI/CD) pipeline that uses PowerShell Desired State Configuration (DSC) to configure the application infrastructure.
You need to perform a unit test and an integration test of the configuration before Project1 is deployed.
What should you use?
A. the PSScriptAnalyzer tool
B. the Pester test framework
C. the PSCodeHealth module
D. the Test-DscConfiguration cmdlet

Question 503
You use Azure Repos to manage source code and Azure Pipelines to implement continuous integration and continuous deployment (CI/CD).
You need to ensure that all comments on pull requests are resolved before the pull requests are included in a build. The solution must minimize administrative effort.
What should you include in the solution?
A. a custom action
B. a post-deployment gate
C. a branch policy
D. a pre-deployment gate

Question 504
DRAG DROP
-
You have a project in Azure DevOps named Project that has a release pipeline in Azure Pipeline named ReleaseP1.
You need to ensure that when a new release is generated for ReleaseP1, a new release note document is created. The release notes must contain new features and bug fixes.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.
AZ-400_504Q.png related to the Microsoft AZ-400 Exam
Image AZ-400_504R.png related to the Microsoft AZ-400 Exam

Question 505
You plan to create an image that will contain a .NET Core application.
You have a Dockerfile file that contains the following code. (Line numbers are included for reference only.)
AZ-400_505Q.png related to the Microsoft AZ-400 Exam
You need to ensure that the image is as small as possible when the image is built.
Which line should you modify in the file?
A. 1
B. 3
C. 4
D. 7


Question 506
HOTSPOT -
You need to configure the alert for VM1. The solution must meet the technical requirements.
Which two settings should you configure? To answer, select the appropriate settings in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
AZ-400_506Q.jpg related to the Microsoft AZ-400 Exam
Image AZ-400_506R.jpg related to the Microsoft AZ-400 Exam
Setting 1: Threshold value -
Set to 80 %
Scenario: An Azure Monitor alert for VM1 must be configured to meet the following requirements:
- Be triggered when average CPU usage exceeds 80 percent for 15 minutes.
- Calculate CPU usage averages once every minute.
Setting 2: Aggregation granularity
Set to 15 minutes.

Question 507
DRAG DROP -
You need to implement the code flow strategy for Project2 in Azure DevOps.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:
AZ-400_507Q.png related to the Microsoft AZ-400 Exam
Image AZ-400_507R.png related to the Microsoft AZ-400 Exam
Step 1: Create a repository -
A Git repository, or repo, is a folder that you've told Git to help you track file changes in. You can have any number of repos on your computer, each stored in their own folder.
Step 2: Create a branch -
Branch policies help teams protect their important branches of development. Policies enforce your team's code quality and change management standards.
Step 3: Add a build validation policy
When a build validation policy is enabled, a new build is queued when a new pull request is created or when changes are pushed to an existing pull request targeting this branch. The build policy then evaluates the results of the build to determine whether the pull request can be completed.
Scenario:
Implement a code flow strategy for Project2 that will:
Enable Team2 to submit pull requests for Project2.
- Enable Team2 to work independently on changes to a copy of Project2.
- Ensure that any intermediary changes performed by Team2 on a copy of Project2 will be subject to the same restrictions as the ones defined in the build policy of Project2.
AZ-400_507E.png related to the Microsoft AZ-400 Exam
References:
https://docs.microsoft.com/en-us/azure/devops/repos/git/manage-your-branches

Question 508
You have a project in Azure DevOps named Project1. Project1 contains a build pipeline named Pipe1 that builds an application named App1.
You have an agent pool named Pool1 that contains a Windows Server 2022-based self-hosted agent. Pipe1 uses Pool1.
You plan to implement another project named Project2. Project2 will have a build pipeline named Pipe2 that builds an application named App2.
App1 and App2 have conflicting dependencies.
You need to minimize the possibility that the two build pipelines will conflict with each other. The solution must minimize infrastructure costs.
What should you do?
A. Add another self-hosted agent.
B. Add a Docker Compose task to the build pipelines.
C. Change the self-hosted agent to use Red Hat Enterprise Linux (RHEL) 9.
D. Create two container jobs.

Question 509
You have an Azure subscription that contains the resources shown in the following table.
AZ-400_509Q.png related to the Microsoft AZ-400 Exam
DepPipeline1 and ADFPipeline1 use a single credential that is stored in Vault1.
You need to configure ADFPipeline1 to retrieve the credential from Vault1.
Which type of activity should you use?
A. Lookup
B. Get Metadata
C. Сoрy
D. Web

Question 510
DRAG DROP -
You need to implement the code flow strategy for Project2 in Azure DevOps.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:
AZ-400_510Q.png related to the Microsoft AZ-400 Exam
Image AZ-400_510R.png related to the Microsoft AZ-400 Exam
Scenario: Implement a code flow strategy for Project2 that will:
Enable Team2 to submit pull requests for Project2.
Enable Team2 to work independently on changes to a copy of Project2.
Ensure that any intermediary changes performed by Team2 on a copy of Project2 will be subject to the same restrictions as the ones defined in the build policy of
Project2.
Step 1: Create a repository -
Step 2: Add a build policy for the master branch
Step 3: Create a branch -
Each branch must have a defined policy about how to integrate code into this branch.
References:
https://docs.microsoft.com/en-us/azure/devops/learn/devops-at-microsoft/release-flow
Implement DevOps Development Processes