Microsoft Designing and Implementing Microsoft DevOps Solutions - AZ-400 FREE EXAM DUMPS QUESTIONS & ANSWERS
You have a project in Azure DevOps that uses an Azure Boards board and stores code in a GitHub repository.
The repository contains a file named README.md.
You need to ensure thatREADME.md includes the status of the work items on the board. The solution must minimize administrative effort.
What should you do first?
The repository contains a file named README.md.
You need to ensure thatREADME.md includes the status of the work items on the board. The solution must minimize administrative effort.
What should you do first?
Correct Answer: B
Vote an answer
You have an Azure web app named webapp1 that uses the .NET Core runtime stack. You have an Azure Application Insights resource named Applnsight1. Webapp1 sends telemetry data to Applnsights1.
You need to ensure that webapp1 sends the telemetry data at a fixed sampling rate.
What should you do?
You need to ensure that webapp1 sends the telemetry data at a fixed sampling rate.
What should you do?
Correct Answer: B
Vote an answer
You have a project in Azure DevOps.
You plan to deploy a self-hosted agent by using an unattended configuration script.
Which two values should you define in the configuration script? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
You plan to deploy a self-hosted agent by using an unattended configuration script.
Which two values should you define in the configuration script? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
Correct Answer: A,C
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
You have an Azure subscription that contains four Azure virtual machines You need to configure the virtual machines to use a single identity. The solution must meet the following requirements:
* Ensure that the credentials for the identity are managed automatically.
* Support granting privileges to the identity.
Which type of identity should you use?
* Ensure that the credentials for the identity are managed automatically.
* Support granting privileges to the identity.
Which type of identity should you use?
Correct Answer: C
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
You have a .NET app named App1.
You need to upload App1 to GitHubPackages.
How should you complete the command? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

You need to upload App1 to GitHubPackages.
How should you complete the command? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Correct Answer:

Explanation:

Your company uses Azure DevOps to manage the build and release processes for applications.
You use a Git repository for applications source control.
You plan to create a new branch from an existing pull request. Later, you plan to merge the new branch and the target branch of the pull request.
You need to use a pull request action to create the new branch. The solution must ensure that the branch uses only a portion of the code in the pull request.
Which pull request action should you use?
You use a Git repository for applications source control.
You plan to create a new branch from an existing pull request. Later, you plan to merge the new branch and the target branch of the pull request.
You need to use a pull request action to create the new branch. The solution must ensure that the branch uses only a portion of the code in the pull request.
Which pull request action should you use?
Correct Answer: C
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
Your company is concerned that when developers introduce open source libraries, it creates licensing compliance issues.
You need to add an automated process to the build pipeline to detect when common open source libraries are added to the code base.
What should you use?
You need to add an automated process to the build pipeline to detect when common open source libraries are added to the code base.
What should you use?
Correct Answer: D
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
Task 10
For Project1, you need to ensure that artifacts, symbols, and attachments are retained for 60 days.
For Project1, you need to ensure that artifacts, symbols, and attachments are retained for 60 days.
Correct Answer:
See the solution below in explanation.
Explanation:
Step 1: Navigate to Project Settings
Navigate to Azure DevOps:
Go to Azure DevOps and sign in with your credentials.
Select Your Project:
Choose Project1 from your list of projects.
Access Project Settings:
In the left-hand menu, scroll down and select Project settings.
Step 2: Configure Retention Policies
Navigate to Pipelines Settings:
Under Pipelines, select Settings.
Set Retention Policies:
In the Retention section, set the number of days to keep artifacts, symbols, and attachments to 60 days.
Ensurethat the retention policy is applied to all relevant pipelines and branches.
Save Changes:
Click on Save to apply the retention policy1.
By following these steps, you will have successfully configured theretention policy to retain artifacts, symbols, and attachments for 60 days in Project1
Explanation:
Step 1: Navigate to Project Settings
Navigate to Azure DevOps:
Go to Azure DevOps and sign in with your credentials.
Select Your Project:
Choose Project1 from your list of projects.
Access Project Settings:
In the left-hand menu, scroll down and select Project settings.
Step 2: Configure Retention Policies
Navigate to Pipelines Settings:
Under Pipelines, select Settings.
Set Retention Policies:
In the Retention section, set the number of days to keep artifacts, symbols, and attachments to 60 days.
Ensurethat the retention policy is applied to all relevant pipelines and branches.
Save Changes:
Click on Save to apply the retention policy1.
By following these steps, you will have successfully configured theretention policy to retain artifacts, symbols, and attachments for 60 days in Project1
You manage a project by using Azure Boards, and you manage the project code by using Azure Repos. You have a bug work item that has an ID of 123. You need to set the work item state to Resolved. What should you add to the commit message?
Correct Answer: D
Vote an answer
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.
Your company has a prefect in Azure DevOps for a new web application.
You need to ensure that when code is checked in, a build runs automatically.
Solution: from the Triggers tab of the build pipeline, you select Enable continuous integration Does the meet the goal?
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.
Your company has a prefect in Azure DevOps for a new web application.
You need to ensure that when code is checked in, a build runs automatically.
Solution: from the Triggers tab of the build pipeline, you select Enable continuous integration Does the meet the goal?
Correct Answer: B
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. You must determine whether the solution meets the stated goals.
More than one solution in the set might solve the problem. It is also possible that none of the solutions in the set solve the problem.
After you answer a question in this section, you will NOT be able to return. As a result, these questions do not appear on the Review Screen.
You have an on-premises web server named Server1.
You need to ensure that you can build .NET apps and deploy the apps to Server1 by using Azure Pipelines.
Solution; You deploy Managed DevOps Pools and select the Azure Pipelines - Windows Server 2022 image.
Does this meet the goal?
More than one solution in the set might solve the problem. It is also possible that none of the solutions in the set solve the problem.
After you answer a question in this section, you will NOT be able to return. As a result, these questions do not appear on the Review Screen.
You have an on-premises web server named Server1.
You need to ensure that you can build .NET apps and deploy the apps to Server1 by using Azure Pipelines.
Solution; You deploy Managed DevOps Pools and select the Azure Pipelines - Windows Server 2022 image.
Does this meet the goal?
Correct Answer: A
Vote an answer
Your company is concerned that when developers introduce open source Libraries, it creates licensing compliance issues.
You need to add an automated process to the build pipeline to detect when common open source libraries are added to the code base.
What should you use?
You need to add an automated process to the build pipeline to detect when common open source libraries are added to the code base.
What should you use?
Correct Answer: B
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).