AZ-400 – Question 272

0
525
Introductory Info
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study –
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.

Overview –

General Overview –

Woodgrove Bank is a financial services company that has a main office in the United Kingdom.

Technical Requirements and Planned Changes

Planned Changes –
Woodgrove Bank plans to implement the following project management changes:
  • Implement Azure DevOps for project tracking.
  • Centralize source code control in private GitHub repositories.
  • Implement Azure Pipelines for build pipelines and release pipelines.
Woodgrove Bank plans to implement the following changes to the identity environment:
  • Deploy an Azure AD tenant named woodgrovebank.com.
  • Sync the Active Directory domain to Azure AD.
  • Configure App1 to use a service principal.
  • Integrate GitHub with Azure AD.
Woodgrove Bank plans to implement the following changes to the core apps:
  • Migrate App1 to ASP.NET Core.
  • Integrate Azure Pipelines and the third-party build tool used to develop App2.
Woodgrove Bank plans to implement the following changes to the DevOps environment:
Deploy App1 to Azure App Service.
  • Implement source control for the DB1 schema.
  • Migrate all the source code from TFS1 to GitHub.
  • Deploy App2 to an Azure virtual machine named VM1.
  • Merge the POC branch into the GitHub default branch.
  • Implement an Azure DevOps dashboard for stakeholders to monitor development progress.
Technical Requirements –
Woodgrove Bank identifies the following technical requirements:
  • The initial databases for new environments must contain both schema and reference data.
  • An Azure Monitor alert for VM1 must be configured to meet the following requirements:
    • Be triggered when average CPU usage exceeds 80 percent for 15 minutes.
    • Calculate CPU usage averages once every minute.
  • The commit history of the POC branch must replace the history of the default branch.
  • The Azure DevOps dashboard must display the metrics shown in the following table.
  • Access to Azure DevOps must be restricted to specific IP addresses.
  • Page load times for App1 must be captured and monitored.
  • Administrative effort must be minimized.
Question 1:
HOTSPOT –
You need to configure the alert for VM1. The solution must meet the technical requirements.
Which two settings should you configure? To answer, select the appropriate settings in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Setting 1: Threshold value –
Set to 80 %
Scenario: An Azure Monitor alert for VM1 must be configured to meet the following requirements:
✑ Be triggered when average CPU usage exceeds 80 percent for 15 minutes.
✑ Calculate CPU usage averages once every minute.
Setting 2: Aggregation granularity

Set to 15 minutes.

Question 2:

DRAG DROP –
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.
Select and Place:
Correct Answer:
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.

Referencehttps://docs.microsoft.com/en-us/azure/devops/report/dashboards/widget-catalog?view=azure-devops

Question 3:

You need to meet the technical requirements for controlling access to Azure DevOps.

What should you use?

A. Azure Multi-Factor Authentication (MFA)
B. on-premises firewall rules
C. conditional access policies in Azure AD
D. Azure role-based access control (Azure RBAC)

Correct Answer: C 

Scenario: Access to Azure DevOps must be restricted to specific IP addresses.
Azure DevOps is authenticated through Azure Active Directory. You can use Azure AD’s conditional access to prevent logins from certain geographies and address ranges.

Question 4:

You need to configure Azure Pipelines to control App2 builds.

Which authentication method should you use?

A. Windows NTLM
B. certificate
C. SAML
D. personal access token (PAT)

Correct Answer: D 

Scenario: Deploy App2 to an Azure virtual machine named VM1.
A personal access token (PAT) is used as an alternate password to authenticate into Azure DevOps.

Reference: https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate

Question 5:

DRAG DROP –
You need to configure authentication for App1. The solution must support the planned changes.
Which three actions should you perform in sequence? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:
Correct Answer:
Woodgrove Bank plans to implement the following changes to the identity environment:
✑ Configure App1 to use a service principal.

Referencehttps://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal

Question 6:
DRAG DROP –
You need to replace the existing DevOps tools to support the planned changes.
What should you use? To answer, drag the appropriate tools to the correct targets. Each tool 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.

Select and Place:
Correct Answer:
Box 1: Azure Boards –
Azure Boards can be used to track work with Kanban boards, backlogs, team dashboards, and custom reporting
You can create multiple Trello boards, which are spaces to store tasks (for different work contexts, or even private boards)
You can easily share Trello boards with another person.
Box 2: Azure Pipelines –
You can use Bamboo to implement CI/CD (Continuous Integration and Continuous Delivery) for a simple Azure function app using Atlassian Bamboo. Bamboo does continuous delivery of the project from source code to deployment. It has stages including Build, Test and Deploy.
Software teams in every industry are upgrading their continuous delivery pipeline with Bamboo. Easy build import from popular open source tools, user and group import from JIRA, seamless integration with Bitbucket, and native support for Git, Hg, and SVN means you’ll be building and deploying like a champ.
Box 3: GitHub repositories –
Bitbucket can be used as the Git repository, but you can use any other Git repository (Like TFS Git) for source control of the code.

Reference:
https://www.trustradius.com/compare-products/azure-devops-services-vs-trello
https://marketplace.visualstudio.com/items?itemName=ms-vsts.vss-services-bamboo
https://www.c-sharpcorner.com/article/cicd-implementation-for-an-azure-function-app-using-atlassian-bamboo-server/

Question 7:

You need to perform the GitHub code migration. The solution must support the planned changes for the DevOps environment.

What should you use?

A. git clone
B. GitHub Importer
C. Import repository in Azure Repos
D. git-tfs

Correct Answer: D 

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.