Microsoft certification · Exam AZ-400

AZ-400 Mock Exam Page 5

Microsoft Azure DevOps Solutions (beta)

Free AZ-400 questions on Topic 4: Mix Questions Set, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Topic 4: Mix Questions Set questions

41–50 of 129 free
Question 41 Choose 1
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?
Show answerHide answer

Correct answer: B No

Question 42 Choose 1
You have an Azure Automation account that contains a webbook. The webbook is used to configure the application infrastructure of an Azure subscription. You have a project in Azure DevOps named Project). Project1 contains a repository that stores code for the webbook. You need to ensure that every committed change to the code will update automatically and publish the webbook to Azure Automation. What should you configure?
Show answerHide answer

Correct answer: C the Source control settings for the Automation account

Question 43 Choose 1
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.
The lead developer at your company reports that adding new application features takes longer than expected due to a large accumulated technical debt.
You need to recommend changes to reduce the accumulated technical debt.
Solution: You recommend increasing the test coverage.
Does this meet the goal?
Show answerHide answer

Correct answer: B No

Explanation

Instead reduce the code complexity.
Question 44 Choose 1
Your company uses Azure DevOps.
Only users who have accounts in Azure Active Directory can access the Azure DevOps environment.
You need to ensure that only devices that are connected to the on-premises network can access the Azure DevOps environment.
What should you do?
Show answerHide answer

Correct answer: D In Azure Active Directory, configure conditional access.

Explanation

Conditional Access is a capability of Azure Active Directory. With Conditional Access, you can implement automated access control decisions for accessing your cloud apps that are based on conditions. Conditional Access policies are enforced after the first-factor authentication has been completed.
Question 45 Choose 1
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?
Show answerHide answer

Correct answer: B No

Question 46 Choose 1
You are designing an Azure DevOps strategy for your company’s development team. You suspect that the team’s productivity is low due to accumulate technical debt. You need to recommend a metric to assess the amount of the team’s technical debt. What should you recommend?
Show answerHide answer

Correct answer: D the percentage of overall time spent on rework

Question 47 Choose 1
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 update the Azure DevOps strategy of your company. You need to identify the following issues as they occur during the company’s development process:
  • Licensing violations
  • Prohibited libraries
Solution: You implement continuous integration. Does this meet the goal?
Show answerHide answer

Correct answer: A Yes

Explanation

WhiteSource is the leader in continuous open-source software security and compliance management. WhiteSource integrates into your build process, irrespective of your programming languages, build tools, or development environments. It works automatically, continuously, and silently in the background, checking the security, licensing, and quality of your open source components against WhiteSource constantly-updated denitive database of open-source repositories.
Question 48 Choose 1
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:
  • Two resource groups
  • Four Azure virtual machines in one resource group
  • 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?
Show answerHide answer

Correct answer: B No

Explanation

Use two linked templates, instead of the nested template.
Question 49 Choose 1
You have an existing build pipeline in Azure Pipelines. You need to use incremental builds without purging the environment between pipeline executions. What should you use?
Show answerHide answer

Correct answer: B a self-hosted agent

Explanation

When you run a pipeline on a self-hosted agent, by default, none of the subdirectories are cleaned in between two consecutive runs. As a result, you can do incremental builds and deployments, provided that tasks are implemented to make use of that. You can override this behavior using the workspace setting on the job.
Question 50 Choose 2
You have an Azure subscription that contains a Log Analytics workspace named WS1 and a virtual machine named VM1. You need to install the Microsoft Enterprise Cloud Monitoring extension on VM1. Which two values are required to configure the extension? Each correct answer presents part of the solution. NOTE: Each correct answer is worth one point.
Show answerHide answer

Correct answer: D, E thelDofWS1 the resource ID of VM1

Full mock exam

Sit the AZ-400 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real AZ-400 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full AZ-400 mock exam
  • 65questions per mock
  • 105 mintime limit
  • 488questions in the bank
  • Newmock on every attempt