AZ-400 Exam Question 116
SIMULATION
Initialize the default main branch, if it does not exist already.
In the User1-12345678 organization, you need to install the Microsoft Security DevOps extension.
Next, create a new starter pipeline named starter1 that will use the following starter code.

Ensure that starter1 includes a task that executes the extension and uses the following inputs:
- Command: run
- Policy: azuredevops
- Publish: true
Save the pipeline to a new branch named starter.
Initialize the default main branch, if it does not exist already.
In the User1-12345678 organization, you need to install the Microsoft Security DevOps extension.
Next, create a new starter pipeline named starter1 that will use the following starter code.

Ensure that starter1 includes a task that executes the extension and uses the following inputs:
- Command: run
- Policy: azuredevops
- Publish: true
Save the pipeline to a new branch named starter.
AZ-400 Exam Question 117
You are automating the testing process for your company.
You need to automate UI testing of a web application.
Which framework should you use?
You need to automate UI testing of a web application.
Which framework should you use?
AZ-400 Exam Question 118
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.
The lead developer at your company reports that adding new application features takes longer than expected due to a large accumulated technical debt.
You need to recommend changes to reduce the accumulated technical debt.
Solution: You recommend reducing the code coupling and the dependency cycles?
Does this meet the goal?
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.
The lead developer at your company reports that adding new application features takes longer than expected due to a large accumulated technical debt.
You need to recommend changes to reduce the accumulated technical debt.
Solution: You recommend reducing the code coupling and the dependency cycles?
Does this meet the goal?
AZ-400 Exam Question 119
Hotspot Question
You plan to use Desired State Configuration (DSC) to maintain the configuration of a server that runs Windows Server 2019.
The server must have the following features installed:
* A web server
* An email server
How should you complete the DSC configuration file? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

You plan to use Desired State Configuration (DSC) to maintain the configuration of a server that runs Windows Server 2019.
The server must have the following features installed:
* A web server
* An email server
How should you complete the DSC configuration file? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

AZ-400 Exam Question 120
You have an app that is deployed to two environments named Production-A and Production-B by using Azure Pipelines.
You need to configure a release pipeline that will mark the app as complete and ready for release into the Production-B environment. The solution must meet the following requirements:
- Ensure that there are no active Azure Monitor alerts in the
Production-A environment before the app is marked as complete.
- Minimize administrative effort.
What should you do?
You need to configure a release pipeline that will mark the app as complete and ready for release into the Production-B environment. The solution must meet the following requirements:
- Ensure that there are no active Azure Monitor alerts in the
Production-A environment before the app is marked as complete.
- Minimize administrative effort.
What should you do?


