Microsoft certification · Exam AZ-400

AZ-400 Mock Exam Page 14

Microsoft Azure DevOps Solutions (beta)

Free AZ-400 mock exam questions 131–140, each with the answer and an explanation.

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

Free AZ-400 questions

131–140 of 145 free
Question 131 Choose 1
Which branching strategy should you recommend for the investment planning applications suite?
Show answerHide answer

Correct answer: D feature isolation

Explanation

Explanation:
This question requires selecting a branching strategy for an application suite based on typical development practices. Without full context from the series, I must make a reasonable assumption. For enterprise applications requiring parallel development of features with isolation and integration control, a strategy that organizes work around features is common. This allows teams to develop independently while maintaining code quality through integration practices.

Correct Option:

D. feature isolation
Feature isolation (or feature branching) involves creating a separate branch for each new feature or user story.

This strategy allows developers to work in isolation without disrupting the main codebase, enabling parallel development of multiple features.

Features are integrated back to the main branch via pull requests, maintaining code quality through reviews and automated builds.

This approach balances isolation for development with controlled integration, which is suitable for application suites where different teams may work on different features simultaneously.

Incorrect Option:

A. release isolation:
This typically refers to release branching, where a branch is created to stabilize a release while development continues on the main branch. This is more about managing releases than organizing ongoing feature development.

B. main only:
Also known as trunk-based development, where all developers commit directly to the main branch. While this promotes continuous integration, it doesn't provide the isolation needed for feature development without potentially disrupting the main branch.

C. development isolation:
This isn't a standard branching strategy term. It might refer to having a dedicated development branch separate from main, but this doesn't specify how individual features are managed.

Reference:
Microsoft Learn - "Adopt a Git branching strategy" documentation discusses common strategies including feature branching for isolating work on specific features until they're ready for integration, which aligns with typical enterprise application development needs.
Question 132 Choose 1
You are using GitHub as a source code repository. You create a client-side Git hook on the commit-msg event. The hook requires that each commit message contain a custom work item tag. You need to make a commit that does not have a work item tag. Which git commit parameter should you use?
Show answerHide answer

Correct answer: B --no-verify

Explanation

Explanation: The commit-msg hook is invoked by git-commit and git-merge, and can be bypassed with the --no-verify option.
Question 133
How should you confrere the release retention policy for the investment planning depletions suite? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Show answerHide answer

Explanation



Every request made against a storage service must be authorized, unless the request is for a blob or container resource that has been made available for public or signed access. One option for authorizing a request is by using Shared Key.
Scenario: The mobile applications must be able to call the share pricing service of the existing retirement fund management system. Until the system is upgraded, the service will only support basic authentication over HTTPS.
The investment planning applications suite will include one multi-tier web application and two iOS mobile application. One mobile application will be used by employees; the other will be used by customers.
Question 134
How should you configure the filters for the Project5 trigger? To answer, select the appropriate option in the answer area.
NOTE: Each correct selection is worth one point.

Show answerHide answer

Explanation

Question 135 Choose 1
You add the virtual machines as managed nodes in Azure Automation State Configuration. You need to configure the computer in Group7.
What should you do?
Show answerHide answer

Correct answer: A Run the Register-AzureRmAutomationDscNode Azure Powershell cmdlet.

Explanation

Explanation: The Register-AzureRmAutomationDscNode cmdlet registers an Azure virtual machine as an APS Desired State Configuration (DSC) node in an Azure Automation account.

Scenario: The Azure DevOps organization includes: The Docker extension
A deployment pool named Pool7 that contains 10 Azure virtual machines that run Windows Server 2016

Question 136
You need to implement the code flow strategy for Project2 in Azure DevOps.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Show answerHide answer

Explanation

Question 137
You are configuring the Azure DevOps dashboard. The solution must meet the technical requirements.
Which widget should you use for each metric? To answer, drag the appropriate widgets to the correct metrics. Each widget 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.

Show answerHide answer

Explanation



Woodgrove Bank identifies the following technical requirements:
The Azure DevOps dashboard must display the metrics shown in the following table:
Box 1: Velocity
Velocity displays your team velocity. It shows what your team delivered as compared to plan.
Box 2: Release pipeline overview
Release pipeline overview shows the status of environments in a release definition.
Box 3: Query tile
Query tile displays the total number of results from a query.
Question 138 Choose 1
You need to perform the GitHub code migration. The solution must support the planned changes for the DevOps environment.
What should you use?
Show answerHide answer

Correct answer: A git clone

Explanation

Explanation: Woodgrove Bank plans to implement the following changes to the DevOps environment: Migrate all the source code from TFS1 to GitHub.
The Git-TFS tool is a two-way bridge between Team Foundation Version Control and Git, and can be used to perform a migration.
Question 139 Choose 1
You need to meet the technical requirements for monitoring App1. What should you use?
Show answerHide answer

Correct answer: B Azure Application Insights

Question 140
Task 4
Initialize the default main branch, if it does not exist already.
In the Userl-42147509 Azure DevOps project, you need to implement an approval process for the default main branch.
The process must use the four-eyes principle and have at least one approval on every iteration.
Show answerHide answer

Explanation

Answer: See the solution below in explanation.

Explanation: Step 1: Initialize the Default Main Branch
Navigate to Azure DevOps: Select Your Project: Initialize the Main Branch:

Step 2: Implement an Approval Process for the Main Branch
Navigate to Branch Policies:
Enable Required Reviewers:
Add Required Reviewers:
Enable Reset Code Reviewer Votes:
Save Changes:
Step 3: Verify the Approval Process
Create a Pull Request:
Review and Approve:
By following these steps, you will have successfully initialized the main branch and implemented an approval process that adheres to the four-eyes principle, ensuring that every iteration has at least one approval
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