Win IT Exam with Last Dumps 2025


Microsoft AZ-400 Exam

Page 36/54
Viewing Questions 351 360 out of 535 Questions
66.67%

Question 351
DRAG DROP -
You have an Azure subscription that contains a resources group named RG1. RG1 contains the following resources:
- Four Azure virtual machines that run Windows Server and have Internet Information Services (IIS) installed.
- SQL Server on an Azure virtual machine.
- An Azure Load Balancer.
You need to deploy an application to the virtual machines in RG1 by using Azure Pipelines.
Which four 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.
Select and Place:
AZ-400_351Q.jpg related to the Microsoft AZ-400 Exam
Image AZ-400_351R.jpg related to the Microsoft AZ-400 Exam
Step 1: Create an agent pool -
Azure Pipelines provides a pre-defined agent pool named Azure Pipelines with Microsoft-hosted agents.
Step 2: Create a deployment group
Deployment groups make it easy to define logical groups of target machines for deployment, and install the required agent on each machine.
Step 3: Add the Azure Pipelines Agent extension to the virtual machines
Install the Azure Pipelines Agent Azure VM extension
Step 4: Add and configure a deployment group job for the pipeline
Tasks that you define in a deployment group job run on some or all of the target servers, depending on the arguments you specify for the tasks and the job itself.
Reference:
https://docs.microsoft.com/en-us/azure/devops/pipelines/release/deployment-groups/howto-provision-deployment-group-agents

Question 352
You need to perform the GitHub code migration. The solution must support the planned changes for the DevOps environment.
What should you use?
A. git clone
B. GitHub Importer
C. Import repository in Azure Repos
D. git-tfs
Woodgrove Bank plans to implement the following changes to the DevOps environment:
- Migrate all the source code from TFS1 to GitHub.
The Git-TFS tool is a two-way bridge between Team Foundation Version Control and Git, and can be used to perform a migration.
Reference:
https://docs.microsoft.com/en-us/devops/develop/git/migrate-from-tfvc-to-git

Question 353
You have an Azure DevOps organization named Contoso and an Azure DevOps project named Project1.
You plan to use Microsoft-hosted agents to build container images that will host full Microsoft .NET Framework apps in a YAML pipeline in Project1.
What are two possible virtual machine images that you can use for the Microsoft-hosted agent pool? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. vs2017-win2016
B. ubuntu-16.04
C. win1803
D. macOS-10.13
E. vs.2015-win2012r2
The Microsoft-hosted agent pool provides 7 virtual machine images to choose from:
- Ubuntu 16.04 (ubuntu-16.04)
- Windows Server 1803 (win1803) - for running Windows containers
- Visual Studio 2019 Preview on Windows Server 2019 (windows-2019)
- Visual Studio 2017 on Windows Server 2016 (vs2017-win2016)
- Visual Studio 2015 on Windows Server 2012R2 (vs2015-win2012r2)
- macOS X Mojave 10.14 (macOS-10.14)
- macOS X High Sierra 10.13 (macOS-10.13)
Reference:
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops

Question 354
HOTSPOT -
You currently use JIRA, Jenkins, and Octopus as part of your DevOps processes.
You plan to use Azure DevOps to replace these tools.
Which Azure DevOps service should you use to replace each tool? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
AZ-400_354Q.jpg related to the Microsoft AZ-400 Exam
Image AZ-400_354R.jpg related to the Microsoft AZ-400 Exam
Reference:
https://octopus.com/blog/octopus-jira-integration
https://www.azuredevopslabs.com/labs/vstsextend/jenkins/

Question 355
Your company has a project in Azure DevOps.
You need to ensure that when there are multiple builds pending deployment, only the most recent build is deployed.
What should you use?
A. deployment conditions
B. deployment queue settings
C. release gates
D. pull request triggers
The options you can choose for a queuing policy are:
- Number of parallel deployments
- If you specify a maximum number of deployments, two more options appear:
- Deploy all in sequence
- Deploy latest and cancel the others: Use this option if you are producing releases faster than builds, and you only want to deploy the latest build.
Incorrect Answers:
C: Release gates allow automatic collection of health signals from external services, and then promote the release when all the signals are successful at the same time or stop the deployment on timeout. Typically, gates are used in connection with incident management, problem management, change management, monitoring, and external approval systems.
Reference:
https://docs.microsoft.com/en-us/azure/devops/pipelines/process/stages?tabs=classic&view=azure-devops#queuing-policies


Question 356
Your company develops a client banking application that processes a large volume of data.
Code quality is an ongoing issue for the company. Recently, the code quality has deteriorated because of an increase in time pressure on the development team.
You need to implement static code analysis.
During which phase should you use static code analysis?
A. integration testing
B. staging
C. production release
D. build
The Secure Development Lifecycle (SDL) Guidelines recommend that teams perform static analysis during the implementation phase of their development cycle.
Note: The company should focus in particular on the implementation of DevOps tests to assess the quality of the software from the planning stage to the implementation phase of the project.
Reference:
https://secdevtools.azurewebsites.net/

Question 357
DRAG DROP -
You have a project in Azure DevOps that uses packages from multiple public feeds. Some of the feeds are unreliable.
You need to consolidate the packages into a single feed.
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_357Q.png related to the Microsoft AZ-400 Exam
Image AZ-400_357R.png related to the Microsoft AZ-400 Exam
Step 1: Create a NuGet package.
NuGet and Maven are public package managers that support multiple feeds.
Step 2: Create an Azure Artifacts feed that uses upstream sources
If you want to use packages from multiple feeds, use upstream sources to bring packages from multiple feeds together into a single feed.
Step 3: Create a Micrtosoft Visual Studio project that includes all the packages
Consume NuGet packages from upstream sources: Now you can open Visual Studio and install packages from the upstream sources you just configured.
Reference:
https://docs.microsoft.com/en-us/azure/devops/artifacts/how-to/set-up-upstream-sources

Question 358
HOTSPOT -
You have the Azure DevOps pipeline shown in the following exhibit.
AZ-400_358Q_1.jpg related to the Microsoft AZ-400 Exam
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Hot Area:
AZ-400_358Q_2.png related to the Microsoft AZ-400 Exam
Image AZ-400_358R.png related to the Microsoft AZ-400 Exam
Box 1: 1 -
The Cloud agent job only.
Box 2: 4 -
The pipeline has the four tasks: NuGet restore, Compile Application, Copy Files, and Publish Artifact.
Reference:
https://azuredevopslabs.com/labs/azuredevops/continuousintegration/

Question 359
SIMULATION -
You have an Azure function hosted in an App Service plan named az400-123456789-func1.
You need to configure az400-123456789-func1 to upgrade the functions automatically whenever new code is committed to the master branch of https:// github.com/Azure-Samples/functions-quickstart.
To complete this task, sign in to the Microsoft Azure portal.
1. Open Microsoft Azure Portal
2. Log into your Azure account, select App Services in the Azure portal left navigation, and then select configure az400-123456789-func1.
3. On the app page, select Deployment Center in the left menu.
4. On the Build provider page, select Azure Pipelines (Preview), and then select Continue.
5. On the Configure page, in the Code section:
For GitHub, drop down and select the Organization, Repository, and Branch you want to deploy continuously.
6. Select Continue.
7. On the Test page, choose whether to enable load tests, and then select Continue.
8. Depending on your App Service plan pricing tier, you may see a Deploy to staging page. Choose whether to enable deployment slots, and then select Continue.
9. After you configure the build provider, review the settings on the Summary page, and then select Finish.
Reference:
https://docs.microsoft.com/en-us/azure/app-service/deploy-continuous-deployment

Question 360
DRAG DROP -
You need to use Azure Automation State Configuration to manage the ongoing consistency of virtual machine configurations.
Which five 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.
Select and Place:
AZ-400_360Q.png related to the Microsoft AZ-400 Exam
Image AZ-400_360R.png related to the Microsoft AZ-400 Exam
Step 1: Assign the node configuration.
You create a simple DSC configuration that ensures either the presence or absence of the Web-Server Windows Feature (IIS), depending on how you assign nodes.
Step 2: Upload a configuration to Azure Automation State Configuration.
You import the configuration into the Automation account.
Step 3: Compiling a configuration into a node configuration
Compiling a configuration in Azure Automation
Before you can apply a desired state to a node, a DSC configuration defining that state must be compiled into one or more node configurations (MOF document), and placed on the Automation DSC Pull Server.
Step 4: Onboard the virtual machines to Azure State Configuration
Onboarding an Azure VM for management with Azure Automation State Configuration
Step 5: Check the compliance status of the node.
Viewing reports for managed nodes. Each time Azure Automation State Configuration performs a consistency check on a managed node, the node sends a status report back to the pull server. You can view these reports on the page for that node.
On the blade for an individual report, you can see the following status information for the corresponding consistency check:
The report status - whether the node is "Compliant", the configuration "Failed", or the node is "Not Compliant" (when the node is in ApplyandMonitor mode and the machine is not in the desired state).
Reference:
https://docs.microsoft.com/en-us/azure/automation/automation-dsc-getting-started