Question 73

- (Exam Topic 2)
Your company has an on-premises Bitbucket Server that is used for Git-based source control. The server is protected by a firewall that blocks inbound Internet traffic.
You plan to use Azure DevOps to manage the build and release processes Which two components are required to integrate Azure DevOps and Bitbucket? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one port.

Correct Answer:AD
When a pipeline uses a remote, 3rd-party repository host such as Bitbucket Cloud, the repository is configured with webhooks that notify Azure Pipelines Server or TFS when code has changed and a build should be triggered. Since on-premises installations are normally protected behind a firewall, 3rd-party webhooks are unable to reach the on-premises server. As a workaround, you can use the External Git repository type which uses polling instead of webhooks to trigger a build when code has changed.
References: https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/pipeline-options-for

Question 74

- (Exam Topic 2)
Your company uses Git as a source code control system for a complex app named App1. You plan to add a new functionality to App1.
You need to design a branching model for the new functionality.
Which branch lifetime and branch time should you use in the branching model? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
AZ-400 dumps exhibit
Solution:
Branch lifetime: Short-lived Branch type: Feature
Feature branches are used when developing a new feature or enhancement which has the potential of a development lifespan longer than a single deployment. When starting development, the deployment in which this feature will be released may not be known. No matter when the feature branch will be finished, it will always be merged back into the master branch.
References: https://gist.github.com/digitaljhelms/4287848

Does this meet the goal?

Correct Answer:A

Question 75

- (Exam Topic 2)
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?

Correct Answer:C

Question 76

- (Exam Topic 2)
You need to create a notification if the peak average response time of an Azure web app named
az400-9940427-main is more than five seconds when evaluated during a five-minute period. The notification must trigger the “https://contoso.com/notify” webhook.
To complete this task, sign in to the Microsoft Azure portal.
Solution:
* 1. Open Microsoft Azure Portal
* 2. Log into your Azure account and go to App Service and look under Monitoring then you will see Alert.
* 3. Select Add an alert rule
* 4. Configure the alert rule as per below and click Ok. Source: Alert on Metrics
Resource Group: az400-9940427-main Resource: az400-9940427-main Threshold: 5
Period: Over the last 5 minutes Webhook: https://contoso.com/notify
AZ-400 dumps exhibit
References:
https://azure.microsoft.com/es-es/blog/webhooks-for-azure-alerts/

Does this meet the goal?

Correct Answer:A

Question 77

- (Exam Topic 2)
You have a private GitHub repository.
You need to display the commit status of the repository on Azure Boards. What should you do first?

Correct Answer:D
To connect Azure Boards to GitHub.com, connect and configure from Azure Boards. Or, alternatively, install and configure the Azure Boards app from GitHub. Both methods have been streamlined and support authenticating and operating via the app rather than an individual.
Note (see step 4 below): Add a GitHub connection:
AZ-400 dumps exhibit Sign into Azure Boards.
AZ-400 dumps exhibit Choose (1) Project Settings, choose (2) GitHub connections and then (3) Connect your GitHub account.
AZ-400 dumps exhibit If this is your first time connecting to GitHub from Azure Boards, you will be asked to sign in using your GitHub credentials. Choose an account for which you are an administrator for the repositories you want to connect to.
AZ-400 dumps exhibit The Add GitHub Repositories dialog automatically displays and selects all GitHub.com repositories for which you are an administrator. Unselect any repositories that you don't want to participate in the integration.
AZ-400 dumps exhibit
Reference:
https://docs.microsoft.com/en-us/azure/devops/boards/github/connect-to-github

Question 78

- (Exam Topic 2)
You have a project in Azure DevOps named Project1. Project1 contains a build pipeline named Pipe1 that builds an application named Appl.
You have an agent pool named Pool1 that contains a Windows Server 2019-based self-hosted agent. Pipe1 uses Pool1.
You plan to implement another project named Project2. Project2 will have a build pipeline named Pipe2 that builds an application named App2.
App1 and App2 have conflicting dependencies.
You need to minimize the possibility that the two build pipelines will conflict with each other. The solution must minimize infrastructure costs.
What should you do?

Correct Answer:A

START AZ-400 EXAM