Skip to main content

AZ-400 Online Exam

Designing and Implementing Microsoft DevOps Solutions

648 questions available ยท Page 1 of 65

View study plans
Case Study 3

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:

1. Implement Azure DevOps for project tracking.
2. Centralize source code control in private GitHub repositories.
3. Implement Azure Pipelines for build pipelines and release pipelines.

Woodgrove Bank plans to implement the following changes to the identity environment:

1. Deploy an Azure AD tenant named woodgrovebank.com.
2. Sync the Active Directory domain to Azure AD.
3. Configure App1 to use a service principal.
4. Integrate GitHub with Azure AD.

Woodgrove Bank plans to implement the following changes to the core apps:

1. Migrate App1 to ASP.NET Core.
2. 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:

1. Deploy App1 to Azure App Service.
2. Implement source control for the DB1 schema.
3. Migrate all the source code from TFS1 to GitHub.
4. Deploy App2 to an Azure virtual machine named VM1.
5. Merge the POC branch into the GitHub default branch.
6. 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 Drag & drop

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.

Question diagram
Show answer and explanation
Correct answer diagram
Explanation

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.

Question 2 Drag & drop

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.

Question diagram
Show answer and explanation
Correct answer diagram
Explanation

Woodgrove Bank plans to implement the following changes to the identity environment: Configure App1 to use a service principal.

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

Question 3 Drag & drop

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.

Question diagram
Show answer and explanation
Correct answer diagram
Explanation

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 4 Hotspot

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.

stem image

Question diagram
Show answer and explanation
Correct answer diagram
Explanation

Setting 1: Threshold value
Set to 80 % Scenario: An Azure Monitor alert for VM1 must be configured to meet the following requirements:
1. Be triggered when average CPU usage exceeds 80 percent for 15 minutes.
2. Calculate CPU usage averages once every minute.

Setting 2: Aggregation granularity
Set to 15 minutes.

Question 5 Single choice

You plan to deploy a new database environment. The solution must meet the technical requirements. You need to prepare the database for the deployment.

How should you format the export?

  1. A

    NDF

  2. B

    MDF

  3. C

    BACPAC

  4. D

    DACPAC

Show answer and explanation

Correct answer: C

Explanation

The initial databases for new environments must contain both schema and reference data.
When you need to export a database for archiving or for moving to another platform, you can export the database schema and data to a BACPAC file. A BACPAC file is a ZIP file with an extension of BACPAC containing the metadata and data from the database. A BACPAC file can be stored in Azure Blob storage or in local storage in an on-premises location and later imported back into Azure SQL Database, Azure SQL Managed Instance, or a SQL Server instance.
References:
https://docs.microsoft.com/en-us/azure/azure-sql/database/database-export

Question 6 Single choice

You need to meet the technical requirements for monitoring App1.

What should you use?

  1. A

    Splunk

  2. B

    Azure Application Insights

  3. C

    Azure Advisor

  4. D

    App Service logs

Show answer and explanation

Correct answer: B

Question 7 Single choice

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

What should you use?

  1. A

    Azure Multi-Factor Authentication (MFA)

  2. B

    on-premises firewall rules

  3. C

    conditional access policies in Azure AD

  4. D

    Azure role-based access control (Azure RBAC)

Show answer and explanation

Correct answer: C

Explanation

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.

References:
https://www.rebeladmin.com/2018/08/step-step-guide-configure-location-based-conditionalaccess-policies/

Question 8 Single choice

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

What should you use?

  1. A

    git clone

  2. B

    GitHub Importer

  3. C

    Import repository in Azure Repos

  4. D

    git-tfs

Show answer and explanation

Correct answer: B

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.
References:
https://docs.microsoft.com/en-us/devops/develop/git/migrate-from-tfvc-to-git

Question 9 Single choice

You need to configure Azure Pipelines to control App2 builds.

Which authentication method should you use?

  1. A

    Windows NTLM

  2. B

    certificate

  3. C

    SAML

  4. D

    personal access token (PAT)

Show answer and explanation

Correct answer: D

Explanation

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.

References:
https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/use-personalaccess-tokens-to-authenticate

Case Study 2

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

Contoso, Ltd. is a manufacturing company that has a main office in Chicago.

Existing Environment

Contoso plans to improve its IT development and operations processes by implementing Azure DevOps principles. Contoso has an Azure subscription and creates an Azure DevOps organization.

The Azure DevOps organization includes:

1. The Docker extension
2. A deployment pool named Pool7 that contains 10 Azure virtual machines that run Windows Server 2016

The Azure subscription contains an Azure Automation account.

Requirements

Planned changes

Contoso plans to create projects in Azure DevOps as shown in the following table.

Technical requirements

Contoso identifies the following technical requirements:

1. Implement build agents for Project1.
2. Whenever possible, use Azure resources.
3. Avoid using deprecated technologies.
4. Implement a code flow strategy for Project2 that will:
-Enable Team2 to submit pull requests for Project2.
-Enable Team2 to work independently on changes to a copy of Project2.
-Ensure that any intermediary changes performed by Team2 on a copy of Project2 will be subject to the same restrictions as the ones defined in the build policy of Project2
5. Whenever possible implement automation and minimize administrative effort.
6. Implement Project3, Project5, Project6, and Project7 based on the planned changes
7. Implement Project4 and configure the project to push Docker images to Azure Container Registry.

Question 10 Drag & drop

DRAG DROP

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.

Question diagram
Show answer and explanation
Correct answer diagram
Explanation

Step 1: Create a repository
A Git repository, or repo, is a folder that you've told Git to help you track file changes in.You can have any number of repos on your computer, each stored in their own folder.

Step 2: Create a branch Branch policies help teams protect their important branches of development. Policies enforce your team's code quality and change management standards.

Step 3: Add a build validation policy When a build validation policy is enabled, a new build is queued when a new pull request is created or when changes are pushed to an existing pull request targeting this branch. The build policy then evaluates the results of the build to determine whether the pull request can be completed.

Scenario:
Implement a code flow strategy for Project2 that will:
1. Enable Team2 to submit pull requests for Project2.
2. Enable Team2 to work independently on changes to a copy of Project2.
3. Ensure that any intermediary changes performed by Team2 on a copy of Project2 will be subject to the same restrictions as the ones defined in the build policy of Project2.

References:
https://docs.microsoft.com/en-us/azure/devops/repos/git/manage-yourbranches