Microsoft Designing and Implementing Microsoft DevOps Solutions AZ-400 Exam Questions

Page: 1 / 14
Total 661 questions
Question 1

You use an Azure Pipelines pipeline to build and test an app named App1.

Your company's development department works in the feature branches.

You need to ensure that a pull request will merge into the main branch only when testing covers more than 90 percent of the code,

What should you do?



Answer : C


Question 2

You have an Azure subscription that uses Azure Boards and Azure Repos.

You have GitHub repositories.

You need to ensure that all activity in the repositories is traced by using Azure Boards. The solution must minimize development effort

What should you use?



Answer : A


Question 3

You have a pipeline named Pipeline1 in Azure Pipelines.

You need to create a service connection to enable Pipeline1 to download a public container image.

Which type of service connection should you create?



Answer : D


Question 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 manage a project in Azure DevOps.

You need to prevent the configuration of the project from changing over time.

Solution: Add a code coverage step to the build pipelines.

Does this meet the goal?



Answer : B

Instead implement Continuous Assurance for the project.


https://azsk.azurewebsites.net/04-Continous-Assurance/Readme.html

Question 5

Your company has a release pipeline in an Azure DevOps project.

You plan to deploy to an Azure Kubernetes Services (AKS) cluster by using the Helm package and deploy task.

You need to install a service in the AKS namespace for the planned deployment.

Which service should you install?



Answer : D

Before you can deploy Helm in an RBAC-enabled AKS cluster, you need a service account and role binding for the Tiller service.

Incorrect Answers:

C: Kubectl is a command line interface for running commands against Kubernetes clusters.


https://docs.microsoft.com/en-us/azure/aks/kubernetes-helm

Question 6

SIMULATION

Your company plans to implement a new compliance strategy that will require all Azure web apps to be backed up every five hours.

You need to back up an Azure web app named az400-11566895-main every five hours to an Azure Storage accountin your resource group.

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



Answer : A

With the storage account ready, you can configure backs up in the web app or App Service.

Open the App Serviceaz400-11566895-main, which you want to protect, in the Azure Portal and browse to Settings > Backups. Click Configure and a Backup Configuration blade should appear.

Select the storage account.

Click + to create a private container. You could name this container after the web app or App Service.

Select the container.

If you want to schedule backups, then set Scheduled Backup to On and configure a schedule: every five hours

Select your retention. Note that 0 means never delete backups.

Decide if at least onebackup should always be retained.

Choose if any connected databases should be included in the web app backup.

Click Save to finalize the backup configuration.


https://petri.com/backing-azure-app-service

Question 7

You use Azure Pipelines to build and test code.

You need to analyze the agent pool usage.

What are two ways to achieve the goal? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.



Answer : A, D


Page:    1 / 14   
Total 661 questions