Win IT Exam with Last Dumps 2025


Microsoft AZ-400 Exam

Page 52/54
Viewing Questions 511 520 out of 535 Questions
96.30%

Question 511
You have an Azure web app that is deployed by using Azure Pipelines.
You need to ensure that when a new version of the app is deployed to production, you can roll back to the previous version. The solution must meet the following requirements:
• Minimize downtime during the deployment.
• Minimize the time it takes for the rollback.
What should you use?
A. a single web app and two deployment slots
B. a single web app and two deployment pipelines
C. two web apps and an Azure Standard Load Balancer
D. two web apps and an Azure Traffic Manager instance

Question 512
You have an app named App1 that you release by using Azure Pipelines. App1 has the versions shown in the following table.
AZ-400_512Q.png related to the Microsoft AZ-400 Exam
You complete a code change to fix a bug that was introduced in version 3.4.3.
Which version number should you assign to the release?
A. 3.4.4
B. 3.4.8
C. 3.5.0
D. 4.0.1

Question 513
You are automating the testing process for your company.
You need to automate UI testing of a web application.
Which framework should you use?
A. JaCoco
B. Playwright
C. Xamarin.UITest
D. Microsoft.CodeAnalysis

Question 514
You have a project in Azure DevOps named Project1 that references an Azure Artifacts feed named Feed1.
You have a package named Package1 that has the versions shown in the following table.
AZ-400_514Q.png related to the Microsoft AZ-400 Exam
You need to perform a build of Project1.
Which version of Package1 will be used?
A. 1.0.3
B. 1.4.0
C. 2.0.0
D. 2.3.1

Question 515
HOTSPOT
-
You have an Azure subscription.
You need to create a storage account by using a Bicep file.
How should you complete the file? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
AZ-400_515Q.png related to the Microsoft AZ-400 Exam
Image AZ-400_515R.png related to the Microsoft AZ-400 Exam


Question 516
DRAG DROP
-
You have a GitHub repository named repo1 that stores the code of an app named App1. You need deploy a workflow for repo1 by using GitHub Actions. The solution must meet the following requirements:
• Scan on pushes to the main branch.
• Scan on pull requests to the main branch.
• Scan on pull requests to any branch that has a prefix of releases/.
• Scan all the files in the subdirectories of the src directory.
How should you complete the code? To answer, drag he appropriate values to the correct targets. Each value may be used once, more than once, or not at all.
AZ-400_516Q.png related to the Microsoft AZ-400 Exam
Image AZ-400_516R.png related to the Microsoft AZ-400 Exam

Question 517
You use Azure Pipelines to build and test code projects.
You notice an increase in cycle times.
You need to identify whether agent pool exhaustion is causing the issue.
What are two possible ways to achieve this goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. Query the PipelineRun/PipelineRuns endpoint.
B. Query the TaskAgentPoolSizeSnapshots endpoint.
C. View the Pipeline duration report.
D. View the pool consumption report at the organization level.

Question 518
You have an Azure subscription that contains an Azure pipeline named Pipeline1 and a GitHub repository named Repo1. Repo1 contains Bicep modules. Pipeline1 deploys Azure resources by using the Bicep modules.
You need to ensure that all releases comply with Azure Policy before they are deployed to production.
What should you do?
A. To Pipeline1, add a step that runs a What if deployment before the deployment step.
B. Configure a deployment gate for Pipeline1 that uses Azure Automation to run a What If deployment.
C. Create an Azure DevOps build that runs on the creation of a pull request and assesses the code for compliance.
D. Configure a deployment gate for Pipeline1 and include the Azure DevOps Security and compliance assessment task.

Question 519
DRAG DROP
-
You use Semantic Versioning (SemVer) as a dependency versioning strategy.
You perform changes to code as shown in the following table.
AZ-400_519Q_1.png related to the Microsoft AZ-400 Exam
Which part of the version should you increment for each change? To answer, drag the appropriate parts to the correct changes. Each part may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
AZ-400_519Q_2.png related to the Microsoft AZ-400 Exam
Image AZ-400_519R.png related to the Microsoft AZ-400 Exam

Question 520
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.
You have an Azure pipeline that is used to deploy a web app. The pipeline includes a test suite named TestSuite1. TestSuite1 is used to validate the operations of the web app.
TestSuite1 fails intermittently.
You identify that the failures are unrelated to changes in the source code and execution environment.
You need to minimize troubleshooting effort for the TestSuite1 failures.
Solution: You enable flaky test management.
Does this meet the goal?
A. Yes
B. No