Proper study guides for Up to the immediate present Microsoft Microsoft Azure DevOps Solutions (beta) certified begins with Microsoft AZ-400 preparation products which designed to deliver the Highest Quality AZ-400 questions by making you pass the AZ-400 test at your first time. Try the free AZ-400 demo right now.
Check AZ-400 free dumps before getting the full version:
NEW QUESTION 1
DRAG DROP
DRAG DROP
You are developing a full Microsoft .NET Framework solution that includes unit tests. You need to configure SonarQube to perform a code quality validation of the C# code as
part of the build pipelines.
Which four tasks should you perform in sequence? To answer, move the appropriate tasks from the list of tasks to the answer area and arrange them in the correct order.
Solution:
Step 1: Prepare Analysis Configuration
Prepare Analysis Configuration task, to configure all the required settings before executing the build.
This task is mandatory.
In case of .NET solutions or Java projects, it helps to integrate seamlessly with MSBuild, Maven and Gradle tasks.
Step 2: Visual Studio Build
Reorder the tasks to respect the following order:
Prepare Analysis Configuration task before any MSBuild or Visual Studio Build task.
Step 3: Visual Studio Test
Reorder the tasks to respect the following order:
Run Code Analysis task after the Visual Studio Test task.
Step 4: Run Code Analysis
Run Code Analysis task, to actually execute the analysis of the source code.
This task is not required for Maven or Gradle projects, because scanner will be run as part of the Maven/Gradle build.
Note:

References: https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Extension+for+VST S-TFS
Does this meet the goal?
- A. Yes
- B. Not Mastered
Answer: A
NEW QUESTION 2
You create an alert rule in Azure Monitor as shown in the following exhibit.
Which action will trigger an alert?
- A. a failed attempt to delete the ASP-9bb7 resource
- B. a change to a role assignment for the ASP-9bb7 resource
- C. a successful attempt to delete the ASP-9bb7 resource
- D. a failed attempt to scale up the ASP-9bb7 resource
Answer: A
NEW QUESTION 3
Your company uses Azure DevOps for the build pipelines and deployment pipelines of Java-based projects.
You need to recommend a strategy for managing technical debt. Which action should you include in the recommendation?
- A. Configure post-deployment approvals in the deployment pipeline.
- B. Integrate Azure DevOps and Sonar Rube.
- C. Integrate Azure DevOps and Azure Dev Test Labs.
Answer: B
Explanation:
You can manage technical debt with Sonar Rube and Azure DevOps.
Note: Technical debt is the set of problems in a development effort that make forward progress on customer value inefficient. Technical debt saps productivity by making code hard to understand, fragile, time-consuming to change, difficult to validate, and creates unplanned work that blocks progress. Unless they are managed, technical debt can accumulate and hurt the overall quality of the software and the productivity of the development team in the long term
SonarQube an open source platform for continuous inspection of code quality to perform automatic reviews with static analysis of code to:
✑ Detect Bugs
✑ Code Smells
✑ Security Vulnerabilities
✑ Centralize Quality
✑ What’s covered in this lab
Reference: https://azuredevopslabs.com/labs/vstsextend/sonarqube/
NEW QUESTION 4
You have an Azure DevOps project that contains a build pipeline. The build pipeline uses approximately 50 open source libraries.
You need to ensure that all the open source libraries comply with your company’s licensing standards.
Which service should you use?
- A. NuGet
- B. Maven
- C. Black Duck
- D. Helm
Answer: C
Explanation:
Secure and Manage Open Source Software
Black Duck helps organizations identify and mitigate open source security, license compliance and code-quality risks across application and container portfolios. Black Duck Hub and its plugin for Team Foundation Server (TFS) allows you to automatically find and fix open source security vulnerabilities during the build process, so you can proactively manage risk. The integration allows you to receive alerts and fail builds when any Black Duck Hub policy violations are met.
Note: WhiteSource would also be a good answer, but it is not an option here. Reference:
https://marketplace.visualstudio.com/items?itemName=black-duck-software.hub-tfs
NEW QUESTION 5
SIMULATION
You have a web app that connects to an Azure SQL Database named db1.
You need to configure db1 to send Query Store runtime statistics to Azure Log Analytics. To complete this task, sign in to the Microsoft Azure portal.
Solution:
To enable streaming of diagnostic telemetry for a single or a pooled database, follow these steps:
* 1. Go to Azure SQL database resource.
* 2. Select Diagnostics settings.
* 3. Select Turn on diagnostics if no previous settings exist, or select Edit setting to edit a previous setting. You can create up to three parallel connections to stream diagnostic telemetry.
* 4. Select Add diagnostic setting to configure parallel streaming of diagnostics data to multiple resources.

Graphical user
* 5. Enter a setting name for your own reference.
* 6. Select a destination resource for the streaming diagnostics data: Archive to storage account, Stream to an event hub, or Send to Log Analytics.
* 7. For the standard, event-based monitoring experience, select the following check boxes for database diagnostics log telemetry: Query Store Runtime Statistics

* 8. For an advanced, one-minute-based monitoring experience, select the check box for Basic metrics.
* 9. Select Save.
Does this meet the goal?
- A. Yes
- B. Not Mastered
Answer: A
NEW QUESTION 6
During a code review, you discover many quality issues. Many modules contain unused variables and empty catch Modes. You need to recommend a solution to improve the quality o' the code. What should you recommend?
- A. In a Gradle build task, select Run Checkstyle.
- B. In an Xcode build task, select Use xcpretty from Advanced
- C. In a Grunt build task, select Enabled from Control Options.
- D. In a Maven build task, select Run PMD.
Answer: D
Explanation:
PMD is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth.
There is an Apache Maven PMD Plugin which allows you to automatically run the PMD code analysis tool on your project's source code and generate a site report with its results. References: https://pmd.github.io/
NEW QUESTION 7
SIMULATION
You plan to deploy a runbook that will create Azure AD user accounts.
You need to ensure that runbooks can run the Azure PowerShell cmdlets for Azure Active Directory.
To complete this task, sign in to the Microsoft Azure portal.
Solution:
Azure Automation now ships with the Azure PowerShell module of version 0.8.6, which introduced the ability to non-interactively authenticate to Azure using OrgId (Azure Active Directory user) credential-based authentication. Using the steps below, you can set up Azure Automation to talk to Azure using this authentication type.
Step 1: Find the Azure Active Directory associated with the Azure subscription to manage:
* 1. Log in to the Azure portal as the service administrator for the Azure subscription you want to manage using Azure Automation. You can find this user by logging in to the Azure portal as any user with access to this Azure subscription, then clicking Settings, then Administrators.

* 2. Note the name of the directory associated with the Azure subscription you want to manage. You can find this directory by clicking Settings, then Subscriptions.

Step 2: Create an Azure Active Directory user in the directory associated with the Azure subscription to manage:
You can skip this step if you already have an Azure Active Directory user in this directory. and plan to use this OrgId to manage Azure.
* 1. In the Azure portal click on Active Directory service.

* 2. Click the directory name that is associated with this Azure subscription.
* 3. Click on the Users tab and then click the Add User button.
* 4. For type of user, select “New user in your organization.” Enter a username for the user to create.
* 5. Fill out the user’s profile. For role, pick “User.” Don’t enable multi-factor authentication. Multi-factor accounts cannot be used with Azure Automation.
* 6. Click Create.
* 7. Jot down the full username (including part after @ symbol) and temporary password.
Step 3: Allow this Azure Active Directory user to manage this Azure subscription.
* 1. Click on Settings (bottom Azure tab under StorSimple)

* 2. Click Administrators
* 3. Click the Add button. Type the full user name (including part after @ symbol) of the Azure Active Directory user you want to set up to manage Azure. For subscriptions, choose the Azure subscriptions you want this user to be able to manage. Click the check mark.
Step 4: Configure Azure Automation to use this Azure Active Directory user to manage this Azure subscription
Create an Azure Automation credential asset containing the username and password of the Azure Active Directory user that you have just created. You can create a credential asset in Azure Automation by clicking into an Automation Account and then clicking the Assets tab, then the Add Setting button.

Note: Once you have set up the Azure Active Directory credential in Azure and Azure Automation, you can now manage Azure from Azure Automation runbooks using this credential.
References:
https://azure.microsoft.com/sv-se/blog/azure-automation-authenticating-to-azure-using-azure-active-directory/
Does this meet the goal?
- A. Yes
- B. Not Mastered
Answer: A
NEW QUESTION 8
DRAG DROP
You have a web app named App1 that is hosted on multiple servers. App1 uses Application Insights in Azure Monitor.
You need to compare the dairy CPU usage from the last week for all servers.
How should you complete the query? To answer, drag the appropriate values to the correct targets. Each value 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.
Solution:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/performance-counters
Does this meet the goal?
- A. Yes
- B. Not Mastered
Answer: A
NEW QUESTION 9
HOTSPOT
You company uses Azure DevOps to deploy infrastructures to Azure. Pipelines are developed by using YAML.
You execute a pipeline and receive the results in the web portal for Azure Pipelines as shown in the following exhibit.
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Solution:

Does this meet the goal?
- A. Yes
- B. Not Mastered
Answer: A
NEW QUESTION 10
Your company uses GitHub for source control. The company has a team that performs code reviews.
You need to automate the assignment of the code reviews. The solution must meet the following requirements:
Prioritize the assignment of code reviews to team members who have the fewest outstanding assignments.
Ensure that each team member performs an equal number of code reviews in any 30-day period.
Prevent the assignment of code reviews to the team leader.
Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
- A. Clear Never assign certain team members.
- B. Select If assigning team members, don’t notify the entire team.
- C. Select Never assign certain team members.
- D. Set Routing algorithm to Round robin.
- E. Set Routing algorithm to Load balance.
Answer: AE
Explanation:
A: To always skip certain members of the team, select Never assign certain team members. Then, select one or more team members you'd like to always skip. In this case select the team leader.
E: The load balance algorithm chooses reviewers based on each member's total number of recent review requests and considers the number of outstanding reviews for each member. The load balance algorithm tries to ensure that each team member reviews an equal number of pull requests in any 30day period.
Reference:
https://docs.github.com/en/organizations/organizing-members-into-teams/managing-code-review-assignment-for-your-team
NEW QUESTION 11
You have a GitHub repository.
You create a new repository in Azure DevOps.
You need to recommend a procedure to clone the repository from GitHub to Azure DevOps.
What should you recommend?
- A. Create a webhook.
- B. Create a service connection for GitHub.
- C. From Import a Git repository, click Import
- D. Create a pull request.
- E. Create a personal access token in Azure DevOps.
Answer: C
NEW QUESTION 12
DRAG DROP
You use GitHub Enterprise Server as a source code repository. You create an Azure DevOps organization named Contoso.
In the Contoso organization, you create a project named Project 1.
You need to link GitHub commits, pull requests, and issues to the work items of Project 1. The solution must use OAuth-based authentication
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.
Solution:
Step 1: From Developer settings in GitHub Enterprise Server, register a new OAuth app. If you plan to use OAuth to connect Azure DevOps Services or Azure DevOps Server with your GitHub Enterprise Server, you first need to register the application as an OAuth App
Step 2: Organization settings in Azure DevOps, add an OAuth configuration Register your OAuth configuration in Azure DevOps Services.
Note:
✑ Sign into the web portal for Azure DevOps Services.
✑ Add the GitHub Enterprise Oauth configuration to your organization.
✑ Open Organization settings>Oauth configurations, and choose Add Oauth configuration.
✑ Fill in the form that appears, and then choose Create.
Step 3: From Project Settings in Azure DevOps, add a GitHub connection. Connect Azure DevOps Services to GitHub Enterprise Server
Choose the Azure DevOps logo to open Projects, and then choose the Azure Boards project you want to configure to connect to your GitHub Enterprise repositories.
Choose (1) Project Settings, choose (2) GitHub connections and then (3) Click here to connect to your GitHub Enterprise organization.
Does this meet the goal?
- A. Yes
- B. Not Mastered
Answer: A
NEW QUESTION 13
You have a build pipeline in Azure Pipelines that occasionally fails.
You discover that a test measuring the response time of an API endpoint causes the failures.
You need to prevent the build pipeline from failing due to The test.
Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point
- A. Enable Test Impact Analysis (TIA).
- B. Enable test slicing.
- C. Clear Flaky tests included in test pass percentage
- D. Set Flaky test detection to Off
- E. Manually mark the test as flaky.
Answer: CE
Explanation:
Reference:
https://docs.microsoft.com/en-us/azure/devops/pipelines/test/flaky-test-management
NEW QUESTION 14
Your company has an Azure DevOps project that produces Node Package Manager (npm) packages. Multiple projects consume the packages.
You need to minimize the amount of disk space used by older packages in Azure Artifacts. What should you modify?
- A. the retention settings of the project's pipeline
- B. the retention settings of the project's release
- C. the retention settings of the project's tests
- D. the retention settings of the company pipeline
Answer: B
Explanation:
To minimize the amount of disk space used by older packages in Azure Artifacts, you should modify the retention settings of the project's release. This can be done by navigating to the project's release settings and adjusting the retention policy. For more information, please refer to the Microsoft documentation.
NEW QUESTION 15
HOTSPOT
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:
✑ Ensure that the secrets are retrieved by Azure DevOps.
✑ 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.
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.
Does this meet the goal?
- A. Yes
- B. Not Mastered
Answer: A
NEW QUESTION 16
You have a project in Azure DevOps named Project that contains a Kanban board named Board1.
You create a Microsoft Teams channel and add the Azure Boards app to the channel. You need to ensure that users can create work items in Board1 from Microsoft Teams. Which command should you run?
- A. @azure boards sign in
- B. @azure boards link
- C. @azure boards create
- D. @azure boards subscriptions
Answer: B
NEW QUESTION 17
Note: This question part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the staled goals. Some question sets might have more than one correct solution, whale 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 integrate a cloud-hosted Jenkins server and a new Azure DevOps depsoyment. You need Azure DevOps to send a notification to Jenkins when a developer commits
changes to a branch in Azure Repos.
Solution: You add a trigger to the build pipeline. Does this meet the goal?
- A. Yes
- B. NO
Answer: B
Explanation:
You can create a service hook for Azure DevOps Services and TFS with Jenkins.
References:
https://docs.microsoft.com/en-us/azure/devops/service-hooks/services/jenkins
NEW QUESTION 18
HOTSPOT
How should you complete the code to initialize App Center in the mobile application? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection a worth one point.
Solution:
Scenario: Visual Studio App Center must be used to centralize the reporting of mobile application crashes and device types in use.
In order to use App Center, you need to opt in to the service(s) that you want to use, meaning by default no services are started and you will have to explicitly call each of them when starting the SDK.
Insert the following line to start the SDK in your app's App Delete class in the didFinishLaunchingWithOptions method.
MSAppCenter.start("{Your App Secret}", withServices: [MSAnalytics.self, MSCrashes.self]) References: https://docs.microsoft.com/en-us/appcenter/sdk/getting-started/ios
Does this meet the goal?
- A. Yes
- B. Not Mastered
Answer: A
NEW QUESTION 19
DRAG DROP
You have a large repository named Repo1 that contains a directory named directory 1. You plan to modify files in directory1.
You need to create a clone of Repo1. The solution must minimize the amount of transferred data.
How should you complete the script? To answer, drag the appropriate values to the correct targets. Each value 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.
Solution:

Does this meet the goal?
- A. Yes
- B. Not Mastered
Answer: A
NEW QUESTION 20
......
P.S. Allfreedumps.com now are offering 100% pass ensure AZ-400 dumps! All AZ-400 exam questions have been updated with correct answers: https://www.allfreedumps.com/AZ-400-dumps.html (418 New Questions)
