Summer Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70track

Free Microsoft AZ-400 Practice Exam with Questions & Answers | Set: 6

Questions 51

You plan to deploy a template named D:\Deploy.json to a resource group named Deploy-lod9940427.

You need to modify the template to meet the following requirements, and then to deploy the template:

    The address space must be reduced to support only 256 total IP addresses.

    The subnet address space must be reduced to support only 64 total IP addresses.

To complete this task, sign in to the Microsoft Azure portal.

Options:
Microsoft AZ-400 Premium Access
Questions 52

You have an Azure DevOps project that produces Node Package Manager (npm) packages. Multiple projects consume the packages. You need to configure Azure Artifacts to ensure that both thelatest and pre-release versions of the packages are available for consumption. What should you do?

Options:
A.

Create two feed views named @prerelease and @default. Configure a release pipeline that promotes a package to the @default view after successful testing. 

B.

Create two feed views named @prerelease and @release. Set @release as the default view. Configure a release pipeline that tags the packages as release after successful testing.

C.

Create a feed view named @prerelease. Configure a release pipeline that tags the packages as release after successful testing.

D.

Create two feed views named @prerelease and @release. Set @release as the default view. Configure a release pipeline that promotes a package to the @release view after successful testing.

Questions 53

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unit 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 if the review screen.

You use an Azure Pipelines pipeline to build and release web apps.

You need to configure the pipeline to meet the following requirements:

• Only run when there is a change in the/webapp folder.

• Only run when a pr is created.

Solution: You configure the pipeline definition by using the following elements.

AZ-400 Question 53

Does this meet the goal?

Options:
A.

Yes

B.

No

Questions 54

You are evaluating the use of code review assignments in GitHub.

Which two requirements can be met by using code review assignments ' Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point

Options:
A.

Automatically choose and assign reviewers based on a list of available personnel

B.

Automatically choose and assign reviewers based on who has the most completed review requests.

C.

Ensure that each team member reviews an equal number of pull requests during any 30-day period.

D.

Automatically choose and assign reviewers based on who received the least recent review requests.

Questions 55

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 approval process that contains a condition. The condition requires that releases be approved by a team leader before they are deployed.

You haw a pokey stating that approvals must occur within eight hours.

You discover that deployments only if the approvals take longer than two hours.

You need to ensure that the deployments only fail if the approvals take longer than hours.

Solution From Post -deployment conditions, you modify the Timeout setting for post-deployment approvals.

Does this meet the goal?

Options:
A.

Yes

B.

NO

Questions 56

You have an Azure function hosted in an App Service plan named az400-9940427-func1.

You need to configure az400-9940427-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.

Options:
Questions 57

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 Test Impact Analysis (TIA).

Does this meet the goal?

Options:
A.

Yes

B.

No

Questions 58

You manage an Azure web app that supports an e-commerce website.

You need to increase the logging level when the web app exceeds normal usage patterns. The solution must minimize administrative overhead.

Which two resources should you include in the solution? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:
A.

an Azure Monitor alert that has a dynamic threshold

B.

an Azure Automation runbook

C.

an Azure Monitor alert that uses an action group that has an email action

D.

the Azure Monitor autoscale settings

E.

an Azure Monitor alert that has a static threshold

Questions 59

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?

Options:
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

Questions 60

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 DevOps organization named Contoso and an Azure subscription. The subscription contains an Azure virtual machine scale set named VMSS1 that is configured for auto scaling.

You have a project in Azure DevOps named Project1. Project1 is used to build a web app named App1 and deploy App1 to VMSS1.

You need to ensure that an email alert is generated whenever VMSS1 scales in or out.

Solution: From Azure DevOps, configure the Service hooks settings for Project1.

Does this meet the goal?

Options:
A.

Yes

B.

No