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

Questions 31

You have a brand policy in a project in Azure DevOps. The policy requires that code always builds successfully.

You need to ensure that a specific user can always merge change to the master branch, even if the code fails to compile. The solution must use the principle of least privilege.

What should you do?

Options:
A.

From the Security setting of the repository, modify the access control tor the user.

B.

From the Security settings of the branch, modify the access control for the user.

C.

Add the user to the Build Administrators group,

D.

Add the user to the Project Administrators group

Microsoft AZ-400 Premium Access
Questions 32

You have an Azure subscription that contains an Azure Container Apps instance named AppServicel. AppServicel is deployed to multiple Azure regions.

You have a containerized application named App1. App1 is a platform as a service (PaaS) solution that will have customers worldwide.

You plan to deploy App1 to AppService1 and will use a blue-green deployment strategy.

You need to recommend a solution that meet the following requirements:

• Automatically routes traffic between each deployment with minimal manual intervention

• Supports dynamic application settings and feature flags

• Minimizes administrative effort

What should you include in the recommendation for each requirement? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

AZ-400 Question 32

Options:
Questions 33

You are monitoring the health and performance of an Azure web app by using Azure Application Insights. You need to ensure that an alert is sent when the web app has a sudden rise in performance issues and failures. What should you use?

Options:
A.

Application Insights Profiler

B.

Continuous export

C.

Smart Detection

D.

custom events

E.

usage analysis

Questions 34

You have an Azure solution that contains a build pipeline in Azure Pipelines. You experience intermittent delays before the build pipeline starts. You need to reduce the time it takes to start the build pipeline. What should you do?

Options:
A.

Split the build pipeline into multiple stages.

B.

Purchase an additional parallel job.

C.

Create a new agent pool.

D.

Enable self-hosted build agents.

Questions 35

You plan to deploy a runbook that will create Azure AD user accounts.

You need to ensure that runbooks can run the AzurePowerShell cmdlets for Azure Active Directory.

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

Options:
Questions 36

You have an Azure DevOps organization named Contoso.

You need to recommend an authentication mechanism that meets the following requirements:

• Supports authentication from Get

• Minimizes the need to provide credentials during authentication

What should you recommend?

Options:
A.

managed identities in Azure Active Directory (Azure AD)

B.

personal access tokens (PATs) in Azure DevOps

C.

user accounts in Azure Active Directory (Azure AD)

D.

Alternate credentials in Azure DevOps

Questions 37

Your company plans to deploy an application to the following endpoints:

• Ten virtual machines hosted in Azure.

• Ten virtual machines hosted in an on-premises data center environment

All the virtual machines have the- Azure Pipelines agent.

You need to implement a release strategy for deploying the application to the endpoints.

What should you recommend using to deploy the application to the endpoints? To answer, drag the appropriate components to the correct endpoint.

Each component may be used once, more than once, or not at all. You may need to drag the split bar between panes or soon to view content

NOTE: Each correct selection n worth one point.

AZ-400 Question 37

Options:
Questions 38

You are designing YAML-based Azure pipelines for the apps shown in the following table

AZ-400 Question 38

You need to configure the YAML strategy value for each app. The solution must minimize app downtime. Which value should you configure for each app? To answer, select the appropriate options in the answer area.

AZ-400 Question 38

Options:
Questions 39

You have an Azure DevOps pipeline that is used to deploy a Node.js app.

You need to ensure that the dependencies are cached between builds.

How should you configure the deployment YAML? To answer, drag the appropriate values to the correct targets. Each value 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 Question 39

Options:
Questions 40

You have an Azure DevOps organization named Contoso, an Azure DevOps project named Project1, an

Azure subscription named Sub1, and an Azure key vault named vault1.

You need to ensure that you can reference the values of the secrets stored in vault1 in all the pipelines of

Project1. The solution must prevent the values from being stored in the pipelines.

What should you do?

Options:
A.

Create a variable group in Project1.

B.

Add a secure file to Project1.

C.

Modify the security settings of the pipelines.

D.

Configure the security policy of Contoso.