AZ-400 Dumps

AZ-400 Free Practice Test

Microsoft AZ-400: Microsoft Azure DevOps Solutions (beta)

QUESTION 151

- (Exam Topic 4)
You manage build and release pipelines by using Azure DevOps. Your entire managed environment resides in Azure.
You need to configure a service endpoint for accessing Azure Key Vault secrets. The solution must meet the following requirements:
AZ-400 dumps exhibit Ensure that the secrets are retrieved by Azure DevOps.
AZ-400 dumps exhibit Avoid persisting credentials and tokens in Azure DevOps.
How should you configure the service endpoint? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
AZ-400 dumps exhibit
Solution:
Box 1: Azure Pipelines service connection
Box 2: Managed Service Identity Authentication
The managed identities for Azure resources feature in Azure Active Directory (Azure AD) provides Azure services with an automatically managed identity in Azure AD. You can use the identity to authenticate to any service that supports Azure AD authentication, including Key Vault, without any credentials in your code.
Reference:
https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/deploy/azure-key-vault https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview

Does this meet the goal?

Correct Answer: A

QUESTION 152

- (Exam Topic 4)
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 plan to create a release pipeline that will deploy Azure resources by using Azure Resource Manager templates. The release pipeline will create the following resources:
AZ-400 dumps exhibit Two resource groups
AZ-400 dumps exhibit Four Azure virtual machines in one resource group
AZ-400 dumps exhibit Two Azure SQL databases in other resource group
You need to recommend a solution to deploy the resources.
Solution: Create a main template that will deploy the resources in one resource group and a nested template that will deploy the resources in the other resource group.
Does this meet the goal?

Correct Answer: B
Use two linked templates, instead of the nested template.
References: https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-linked-templates

QUESTION 153

- (Exam Topic 4)
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 autoscaling.
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?

Correct Answer: B

QUESTION 154

- (Exam Topic 4)
Your team uses an agile development approach.
You need to recommend a branching strategy for the team’s Git repository. The strategy must meet the following requirements.
Provide the ability to work on multiple independent tasks in parallel. Ensure that checked-in code remains in a releasable state always. Ensure that new features can be abandoned at any time.
Encourage experimentation. What should you recommend?

Correct Answer: D

QUESTION 155

- (Exam Topic 4)
You use Git for source control.
You need to commit a 3-G3 ZIP file that contains virtual machines used for testing. The solution must meet the following requirements:
AZ-400 dumps exhibit The file must be versioned.
AZ-400 dumps exhibit The file must be associated with the corresponding code commits.
Which two actions should you include in the solution? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

Correct Answer: BD