[go: up one dir, main page]

0% found this document useful (0 votes)
30 views40 pages

Az-400 5

The document provides a series of practice questions and answers for the Microsoft AZ-400 exam, focusing on Azure DevOps Solutions. It includes various scenarios related to Azure DevOps pipelines, project management, and integration with other services. Additionally, it offers links to resources for obtaining exam dumps and preparation materials.

Uploaded by

vinod
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views40 pages

Az-400 5

The document provides a series of practice questions and answers for the Microsoft AZ-400 exam, focusing on Azure DevOps Solutions. It includes various scenarios related to Azure DevOps pipelines, project management, and integration with other services. Additionally, it offers links to resources for obtaining exam dumps and preparation materials.

Uploaded by

vinod
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 40

Recommend!!

Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

Microsoft
Exam Questions AZ-400
Microsoft Azure DevOps Solutions (beta)

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

NEW QUESTION 1
DRAG DROP - (Topic 4)
You have an Azure DevOps pipeline that is used to deploy a Node.js app.
You need to ensure that the dependencies are cached between builds.
How should you configure the deployment YAML? 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.

A. Mastered
B. Not Mastered

Answer: A

Explanation:

NEW QUESTION 2
HOTSPOT - (Topic 4)
You have a project in Azure DevOps that includes two users named User1 and User2. You plan to use Azure Monitor to manage logs.
You need to ensure that the users can perform the actions shown in following the table.

The solution must follow the principle of least privilege.


Which role should you assign to each user? To answer select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

A. Mastered
B. Not Mastered

Answer: A

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

Explanation:

NEW QUESTION 3
- (Topic 4)
You use Azure Pipelines to build and test code projects. You notice an increase in cycle times.
You need to identify whether agent pool exhaustion is causing the issue.
What are two possible ways to achieve this goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

A. View the Pipeline duration report.


B. Query the PipelineRun/PipelineRuns endpoint.
C. View the pool consumption report at the organization level.
D. Query the TaskAgentPoolSizeSnapshots endpoint

Answer: CD

NEW QUESTION 4
- (Topic 4)
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the
stated goals. Some question sets might have more than one correct solution, while 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.
Your company uses Azure DevOps to manage the build and release processes for applications.
You use a Git repository for applications source control.
You need to implement a pull request strategy that reduces the history volume in the master branch.
Solution: You implement a pull request strategy that uses a three-way merge. Does this meet the goal?

A. Yes
B. No

Answer: B

Explanation:
Instead use fast-forward merge.
Note:
No fast-forward merge - This option merges the commit history of the source branch when the pull request closes and creates a merge commit in the target
branch.
Reference:
https://docs.microsoft.com/en-us/azure/devops/repos/git/branch-policies

NEW QUESTION 5
- (Topic 4)
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that m.ght meet the
stated goals. Some question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you win NOT be able to return to it. As a result, these questions win not appear in the review screen.
You integrate a cloud- hosted Jenkins server and a new Azure DevOps deployment You need Azure DevOps to send a notification to Jenkins when a developer
commits
changes to a branch in Azure Repos.
Solution: You create a service hook subscription that uses the code pushed event. Does this meet the goal?

A. Yes
B. NO

Answer: A

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 6
- (Topic 4)
You have a project in Azure DevOps named Project1. Project! contains a pipeline that builds a container image named Image! and pushes Image1 to an Azure
container registry named ACR1. Image! uses a base image stored in Docker Hub.
You need to ensure that Image1 is updated automatically whenever the base image is updated.

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

What should you do?

A. Create and run an Azure Container Registry task.


B. Add a Docker Hub service connection to Azure Pipelines.
C. Enable the Azure Event Grid resource provider and subscribe to registry events.
D. Create a service hook in Project1.

Answer: A

Explanation:
ACR Tasks supports automated container image builds when a container's base image is updated, such as when you patch the OS or application framework in
one of your base images.
Reference:
https://docs.microsoft.com/en-us/azure/container-registry/container-registry-tutorial-base- image-update

NEW QUESTION 7
- (Topic 4)
You have multiple teams that work on multiple projects in Azure DevOps.
You need to plan and manage the consumers and producers for each project. The solution must provide an overview of all the projects.
What should you do?

A. Install the Dependency Tracker extension and create dependencies for each project.
B. Add a Parent or Child link to the feature or user story for the items of each project.
C. Add a Predecessor or Successor link to the feature or user story for the items of each project.
D. Create a custom query to show the consumers and producers and add a widget to a dashboard.

Answer: A

NEW QUESTION 8
DRAG DROP - (Topic 4)
You are using the Dependency Tracker extension in a project in Azure DevOps. You generate a risk graph for the project.
What should you use in the risk graph to identify the number of dependencies and the risk level of the project? To answer, drag the appropriate elements to the
correct data points. Each element 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.

A. Mastered
B. Not Mastered

Answer: A

Explanation:

NEW QUESTION 9
- (Topic 4)
You have an Azure DevOps organization named Contoso and an Azure subscription. The subscription contains an Azure virtual machine scale set named VMSS1
that is configured for auto scaling.
You have a project m Azure DevOps named Project 1. Project! is used to build a web app named App1 and deploy App1 to VMSSt.
You need to ensure that an email alert is generated whenever VMSS1 scales in or out. Solution: From Azure Monitor, configure the auto scale settings.
Does this meet the goal?

A. Yes
B. No

Answer: B

NEW QUESTION 10
- (Topic 4)
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the
stated goals. Some question sets might have more than one correct solution, while 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.
The lead developer at your company reports that adding new application features takes longer than expected due to a large accumulated technical debt.
You need to recommend changes to reduce the accumulated technical debt. Solution: You recommend reducing the code complexity.
Does this meet the goal?

A. Yes
B. No

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

Answer: A

Explanation:
Reference:
https://dzone.com/articles/fight-through-the-pain-how-to-deal-with-technical

NEW QUESTION 10
- (Topic 4)
You need to make a custom package available to all the developers. The package must be managed centrally, and the latest version must be available for
consumption in Visual Studio automatically.
Which three actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

A. Add the package URL to the Environment settings in Visual Studio.


B. Create a Get repository in Azure Repos.
C. Add the package URL to the Get Package Manager settings in Visual Studio.
D. Upload a package to a Get repository.
E. Create a new feed in Azure Artifacts.
F. Publish the package to a feed.

Answer: ABE

NEW QUESTION 12
- (Topic 4)
You have a project in Azure DevOps named Project1 that references an Azure Artifacts feed named Feed1. You have a package named Package1 that has the
versions shown in the following table.

You need to perform a build of Project1. Which version of Package1 will be used?

A. 1.0.3
B. 1.4.0
C. 2.0.0
D. 2.3.1

Answer: D

NEW QUESTION 13
- (Topic 4)
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the
stated goals. Some question sets might have more than one correct solution, while 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 plan to update the Azure DevOps strategy of your company.
You need to identify the following issues as they occur during the company’s development process:
? Licensing violations
? Prohibited libraries
Solution: You implement continuous deployment. Does this meet the goal?

A. Yes
B. No

Answer: B

Explanation:
Instead implement continuous integration.
Note: WhiteSource is the leader in continuous open source software security and compliance management. WhiteSource integrates into your build process,
irrespective of your programming languages, build tools, or development environments. It works automatically, continuously, and silently in the background,
checking the security, licensing, and quality of your open source components against WhiteSource constantly-updated denitive database of open source
repositories.
Reference: https://azuredevopslabs.com/labs/vstsextend/whitesource/

NEW QUESTION 17
DRAG DROP - (Topic 4)
You are creating a NuGet package.
You plan to distribute the package to your development team privately.
You need to share the package and test that the package can be consumed.
Which four 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.

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

A. Mastered
B. Not Mastered

Answer: A

Explanation:
Step 1: Configure a self-hosted agent.
The build will run on a Microsoft hosted agent.
Step 2: Create a new Azure Artifacts feed
Microsoft offers an official extension for publishing and managing your private NuGet feeds.
Step 3: Publish the package.
Publish, pack and push the built project to your NuGet feed.
Step 4: Connect to an Azure Artifacts feed.
With the package now available, you can point Visual Studio to the feed, and download the newly published package
References:
https://medium.com/@dan.cokely/creating-nuget-packages-in-azure-devops-with-azure-pipelines-and-yaml-d6fa30f0f15e

NEW QUESTION 20
- (Topic 4)
You create a Microsoft ASP.NET Core application.
You plan to use Azure Key Vault to provide secrets to the application as configuration data. You need to create a Key Vault access policy to assign secret
permissions to the
application. The solution must use the principle of least privilege. Which secret permissions should you use?

A. List only
B. Get only
C. Get and List

Answer: B

Explanation:
Application data plane permissions:
? Keys: sign
? Secrets: get
Reference:
https://docs.microsoft.com/en-us/azure/key-vault/key-vault-secure-your-key-vault

NEW QUESTION 24
DRAG DROP - (Topic 4)
You have a project in Azure DevOps.
You need to configure a dashboard. The solution must include the following metrics:
• Bottlenecks in the software development process
• A burndown chart for the work in a single iteration
• How long it takes to close a work item after the item was started
Which type of widget should you use for each metric? To answer, drag the appropriate widget types to the correct metrics. Each widget type 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.

A. Mastered
B. Not Mastered

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

Answer: A

Explanation:

NEW QUESTION 28
DRAG DROP - (Topic 4)
You are deploying a new application that uses Azure virtual machines.
You plan to use the Desired State Configuration (DSC) extension on the virtual machines. You need to ensure that the virtual machines always have the same
Windows features
installed.
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.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
Step 1: Create a PowerShell configuration file
You create a simple PowerShell DSC configuration file.
Step 2: Load the file to Azure Blob storage
Package and publish the module to a publically accessible blob container URL
Step 3: Configure the Custom Script Extension on the virtual machines.
The Custom Script Extension downloads and executes scripts on Azure virtual machines.

NEW QUESTION 29
- (Topic 4)
Your company plans to use an agile approach to software development.
You need to recommend an application to provide communication between members of the development team who work in locations around the world. The
applications must meet the following requirements:
? Provide the ability to isolate the members of different project teams into separate communication channels and to keep a history of the chats within those
channels.
? Be available on Windows 10, Mac OS, iOS, and Android operating systems.
? Provide the ability to add external contractors and suppliers to projects.
? Integrate directly with Azure DevOps.
What should you recommend?

A. Microsoft Project
B. Bamboo
C. Microsoft Lync
D. Microsoft Teams

Answer: D

Explanation:
? Within each team, users can create different channels to organize their communications by topic. Each channel can include a couple of users or scale to
thousands of users.
? Microsoft Teams works on Android, iOS, Mac and Windows systems and devices.
It also works in Chrome, Firefox, Internet Explorer 11 and Microsoft Edge web browsers.
? The guest-access feature in Microsoft Teams allows users to invite people outside
their organizations to join internal channels for messaging, meetings and file sharing. This capability helps to facilitate business-to-business project management.
? Teams integrates with Azure DevOps.
References: https://searchunifiedcommunications.techtarget.com/definition/Microsoft- Teams

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

NEW QUESTION 33
DRAG DROP - (Topic 4)
You have an Azure Repos Git repository named repo1.
You need to ensure that you can authenticate to repo1 by using SSH.
Which four 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.

A. Mastered
B. Not Mastered

Answer: A

Explanation:

NEW QUESTION 35
- (Topic 4)
You have an on-premises app named App1 that accesses Azure resources by using credentials stored in a configuration file.
You plan to upgrade App1 to use an Azure service principal.
What is required for App1 to programmatically sign in to Azure Active Directory (Azure AD)?

A. the application ID, a client secret, and the object ID


B. a client secret, the object ID, and the tenant ID
C. the application ID, a client secret, and the tenant ID
D. the application ID, a client secret, and the subscription ID

Answer: C

Explanation:
https://docs.microsoft.com/en-us/azure/active-directory/develop/app-objects-and-service-principals "When you've completed the app registration, you've a globally
unique instance of the app (the application object) which lives within your home tenant or directory. You also have a globally unique ID for your app (the app or
client ID). In the portal, you can then add secrets or certificates and scopes to make your app work, customize the branding of your app in the sign-in dialog, and
more."

NEW QUESTION 40
- (Topic 4)
Your company has a project in Azure DevOps.
You need to ensure that when there are multiple builds pending deployment only the most recent build is deployed.
What should you use?

A. deployment queue settings


B. deployment conditions
C. release gates
D. pull request triggers

Answer: A

Explanation:
References: https://docs.microsoft.com/en-
us/azure/devops/pipelines/process/stages?tabs=classic&view=azure-devops#queuing- policies

NEW QUESTION 42
FILL IN THE BLANK - (Topic 4)
You have a GitHub repository that contains the source code for an app.
You need to identify all the changes made between versions 1.4.16 and 1.6.12 of the source code.
How should you complete the Get command? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

Git | helper-script > changes.txt

A. Mastered
B. Not Mastered

Answer: A

Explanation:
Answer below
get diff v1.4.16 v1.6.12 | helper-script > changes.txt
This command will compare the changes made between versions 1.4.16 and 1.6.12 of the source code in your GitHub repository, pipe the output through the
helper-script and save the result to a file called "changes.txt" Please note that, this command assumes that you have a helper-script that can handle get diff output
as an input and processes it further. It is not a default get command.

NEW QUESTION 45
DRAG DROP - (Topic 4)
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.

A. Mastered
B. Not Mastered

Answer: A

Explanation:

NEW QUESTION 47
- (Topic 4)
You have an Azure DevOps project named Project1 and an Azure subscription named Sub1. Sub1 contains an Azure virtual machine scale set named VMSS1.
VMSS1 hosts a web application named
WebApp1. WebApp1 uses state full sessions.
The WebApp1 installation is managed by using the Custom Script extension. The script resides in an Azure Storage account named sa1.
You plan to make a minor change to a UI element of WebApp1 and to gather user feedback about the change.
You need to implement limited user testing for the new version of WebApp1 on VMSS1. Which three actions should you perform? Each correct answer presents
part of the
solution.
NOTE: Each correct selection is worth one point.

A. Modify the load balancer settings of VMSS1.


B. Redeploy VMSS1.
C. Upload a custom script file to sa1.
D. Modify the Custom Script extension settings of VMSS1.
E. Update the configuration of a virtual machine in VMSS1.

Answer: BCD

NEW QUESTION 51
- (Topic 4)
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

stated goals. Some question sets might have more than one correct solution, while 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 need to recommend an integration strategy for the build process of a Java application. The solution must meet the following requirements:
? The build must access an on-premises dependency management system.
? The build outputs must be stored as Server artifacts in Azure DevOps.
? The source code must be stored in a Git repository in Azure DevOps.
Solution: Configure the build pipeline to use a Microsoft-hosted agent pool running the Windows Server 2019 with Visual Studio 2019 image. Include the Java Tool
Installer task in the build pipeline.
Does this meet the goal?

A. Yes
B. No

Answer: A

Explanation:
To build and deploy Windows, Azure, and other Visual Studio solutions you'll need at least one Windows agent. Windows agents can also build Java and Android
apps.
The Azure Pipelines agent pool offers several virtual machine images to choose from, each including a broad range of tools and software. One such image is
Windows Server 2019 with Visual Studio 2019.
Reference:
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure- devops
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure- devops&tabs=yaml

NEW QUESTION 55
SIMULATION - (Topic 4)
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.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
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

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

* 8. For an advanced, one-minute-based monitoring experience, select the check box for Basic metrics.
* 9. Select Save.

NEW QUESTION 60
SIMULATION - (Topic 4)
You need to create an instance of Azure Application Insights named az400-9940427-main and configure the instance to receive telemetry data from an Azure web
app named az400- 9940427-main.
To complete this task, sign in to the Microsoft Azure portal.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
Step 1: Create an instance of Azure Application Insights
* 1. Open Microsoft Azure Portal
* 2. Log into your Azure account, Select Create a resource > Developer tools > Application Insights.
* 3. Enter the following settings, and then select Review + create. Name: az400-9940427-main

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

Step 2: Configure App Insights SDK


* 1. Open your ASP.NET Core Web App project in Visual Studio > Right-click on the AppName in the Solution Explorer > Select Add > Application Insights
Telemetry.
* 2. Click the Get Started button
* 3. Select your account and subscription > Select the Existing resource you created in the Azure portal > Click Register.

NEW QUESTION 65
- (Topic 4)
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the
stated goals. Some question sets might have more than one correct solution, while 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 need to recommend an integration strategy for the build process of a Java application. The solution must meet the following requirements:
• The builds must access an on-premises dependency management system.
• The build outputs must be stored as Server artifacts in Azure DevOps.
• The source code must be stored in a Git repository in Azure DevOps.
Solution: Configure the build pipeline to use a Hosted Ubuntu agent pool. Include the Java Tool Installer task in the build pipeline. Does this meet the goal?

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

A. Yes
B. No

Answer: A

NEW QUESTION 67
DRAG DROP - (Topic 4)
You are implementing a new project in Azure DevOps.
You need to assess the performance of the protect. The solution must identity the following metrics:
• How long it takes to complete a work item
* The percentage of defects found in production
Which DevOps KPI should you review for each metric? To answer drag the appropriate KPIs to the correct metric. Each KPI may be used once, more than once,
or not at all. You may need to drag the spirt bar between panes or scroll to view content.
NOTE Each correct selection is worth one point.

A. Mastered
B. Not Mastered

Answer: A

Explanation:

NEW QUESTION 70
DRAG DROP - (Topic 4)
You have an Azure Repos repository named repo1.
You need to clone repo1. The solution must clone only a directory named src/web.
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 spirt bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point

A. Mastered
B. Not Mastered

Answer: A

Explanation:

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

NEW QUESTION 71
SIMULATION - (Topic 4)
You need to configure an Azure web app named az400-9940427-main to contain an environmental variable named “MAX_ITEMS”. The environmental variable
must have a value of 50.
To complete this task, sign in to the Microsoft Azure portal.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
* 1. In the Azure portal, navigate to the az400-9940427-main app's management page. In the app's left menu, click Configuration > Application settings.

* 2. Click New Application settings


* 3. Enter the following:
? Name: MAX_ITEMS
? Value: 50
References:
https://docs.microsoft.com/en-us/azure/app-service/configure-common

NEW QUESTION 74
- (Topic 4)
You are developing an open source solution that uses a GitHub repository. You create a new public project in Azure DevOps.
You plan to use Azure Pipelines for continuous build. The solution will use the GitHub
Checks API.
Which authentication type should you use?

A. a personal access token


B. SAML
C. GitHub App
D. OAuth

Answer: C

Explanation:
https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml https://developer.github.com/v3/checks/

NEW QUESTION 75
- (Topic 4)
You have an Azure subscription. The subscription contains virtual machines that run either Windows Server or Linux.
You plan to use Prometheus to monitor performance metrics. You need to integrate Prometheus and Azure Monitor.
Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

A. Install a Prometheus server on a Windows virtual machine in Azure.


B. On each virtual machine, expose the metrics endpoint.
C. On each virtual machine, enable the Azure Diagnostics extension.
D. On each virtual machine, enable the containerized agent for Azure Monitor.
E. Expose a virtual network service endpoint for Azure Storage.
F. Install a Prometheus server on a Linux virtual machine in Azure.

Answer: AB

NEW QUESTION 77

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

HOTSPOT - (Topic 4)
You are configuring a release pipeline in Azure DevOps as shown in the exhibit.

Use the drop-down menus to select the answer choice that answers each question based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
Box 1: 5
There are five stages: Development, QA, Pre-production, Load Test and Production. They all have triggers.
Box 2: The Internal Review stage
References: https://docs.microsoft.com/en-us/azure/devops/pipelines/release/triggers

NEW QUESTION 80
SIMULATION - (Topic 4)
You need to create a virtual machine template in an Azure DevTest Labs environment
named az400-9940427-dtl1. The template must be based on Windows Server 2016 Datacenter. Virtual machines created from the template must include the
selenium tool and the Google Chrome browser.
To complete this task, sign in to the Microsoft Azure portal.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
* 1. Open Microsoft Azure Portal
* 2. Select All Services, and then select DevTest Labs in the DEVOPS section.

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

* 3. From the list of labs, select the az400-9940427-dtl1 lab


* 4. On the home page for your lab, select + Add on the toolbar.
* 5. Select the Windows Server 2016 Datacenter base image for the VM.
* 6. Select automation options at the bottom of the page above the Submit button.
* 7. You see the Azure Resource Manager template for creating the virtual machine.
* 8. The JSON segment in the resources section has the definition for the image type you selected earlier.
References:
https://docs.microsoft.com/bs-cyrl-ba/azure//lab-services/devtest-lab-vm-powershell

NEW QUESTION 81
DRAG DROP - (Topic 4)
You mc configuring Azure DevOps build pipelines. You plan to use hosted build agents.
Which build agent pool should you use to compile each application type? To answer, drag the appropriate built agent pools to the correct application types. Each
butt agent pool 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.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
Box 1: Hosted macOS
Hosted macOS pool (Azure Pipelines only): Enables you to build and release on macOS without having to configure a self-hosted macOS agent. This option
affects where your data is stored.
Box 2: Hosted
Hosted pool (Azure Pipelines only): The Hosted pool is the built-in pool that is a collection of Microsoft-hosted agents.

NEW QUESTION 82
- (Topic 4)
You manage source code control and versioning by using GitHub. A large file it committed to a repository accidentally.
You need to reduce the size of the repository. The solution must remove the file from the repository.
What should you use?

A. bfg
B. 1fs
C. gvfs
D. init

Answer: A

NEW QUESTION 86

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

- (Topic 4)
You are automating the build process for a Java-based application by using Azure DevOps. You need to add code coverage testing and publish the outcomes to
the pipeline.
What should you use?

A. Cobertura
B. Bullseye Coverage
C. MSTest
D. Coverlet

Answer: A

Explanation:
Use Publish Code Coverage Results task in a build pipeline to publish code coverage results to Azure Pipelines or TFS, which were produced by a build in
Cobertura or JaCoCo format.
Reference:
https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/test/publish-code-coverage- results

NEW QUESTION 91
DRAG DROP - (Topic 4)
You need to find and isolate shared code. The shared code will be maintained in a series of packages.
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.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
Step 1: Create a dependency graph for the application
By linking work items and other objects, you can track related work, dependencies, and changes made over time. All links are defined with a specific link type. For
example, you can use Parent/Child links to link work items to support a hierarchical tree structure. Whereas, the Commit and Branch link types support links
between work items and commits and branches, respectively.
Step 2: Group the related components.
Packages enable you to share code across your organization: you can compose a large
product, develop multiple products based on a common shared framework, or create and share reusable components and libraries.
Step 3: Assign ownership to each component graph References:
https://docs.microsoft.com/en-us/azure/devops/boards/queries/link-work-items-support-
traceability?view=azure-devops&tabs=new-web-form https://docs.microsoft.com/en-us/visualstudio/releasenotes/tfs2017-relnotes

NEW QUESTION 95
- (Topic 4)
You use Azure SQL Database Intelligent Insights and Azure Application Insights foe monitoring.
You need to write ad-hoc Queries against the monitoring data. Which Query language should you use?

A. PL/pgSQL
B. Transact-SQL
C. Azure Log Analytics
D. PL/SQL

Answer: C

Explanation:
Data analysis in Azure SQL Analytics is based on Log Analytics language for your custom querying and reporting.
References: https://docs.microsoft.com/en-us/azure/azure-monitor/insights/azure-sql

NEW QUESTION 98
DRAG DROP - (Topic 4)
You need to deploy a new project in Azure DevOps that has the following requirements:
• The lead developer must be able to create repositories, manage permissions, manage policies, and contribute to the repository.
• Developers must be able to contribute to the repository and create branches, but NOT bypass policies when pushing builds.
• Project managers must only be able to view the repository.
• The principle of least privilege must be used.

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

You create a new Azure DevOps project team for each role.
To which Azure DevOps groups should you add each team? To answer, drag the appropriate groups to the correct teams. Each group 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.

A. Mastered
B. Not Mastered

Answer: A

Explanation:

NEW QUESTION 99
- (Topic 4)
You use GitHub for source control
You are evaluating whether to use proxying to add a private upstream MyGet package feed to your MyGet feed. What are two possible advantages of this
approach? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

A. minimizes latency when accessing the package


B. provides automatic authentication
C. minimizes the impact on your storage quota
D. minimizes the impact of upstream source availability issues

Answer: BC

NEW QUESTION 100


- (Topic 4)
You are developing an application. The application source has multiple branches. You make several changes to a branch used for experimentation.
You need to update the main branch to capture the changes made to the experimentation branch and override the history of the Git repository.
Which Git option should you use?

A. Rebase
B. Fetch
C. MergeE1457D5D1DDCBD40AB3BF70D5D
D. Push

Answer: C

Explanation:
https://docs.microsoft.com/en-us/azure/devops/repos/git/pull-requests

NEW QUESTION 103


DRAG DROP - (Topic 4)
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.

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

A. Mastered
B. Not Mastered

Answer: A

Explanation:
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.

NEW QUESTION 105


HOTSPOT - (Topic 4)
Your company has an Azure subscription.
The company requires that all resource group in the subscription have a tag named organization set to a value of Contoso.
You need to implement a policy to meet the tagging requirement.
How should you complete the policy? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

A. Mastered
B. Not Mastered

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

Answer: A

Explanation:
Box 1: " Microsoft.Resources/subscriptions/resourceGroups"
Box 2: "Deny",
Sample - Enforce tag and its value on resource groups
},
"policyRule": { "if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.Resources/subscriptions/resourceGroups"
},
{
"not": {
"field": "[concat('tags[',parameters('tagName'), ']')]", "equals": "[parameters('tagValue')]"
}
}
]
},
"then": {
"effect": "deny"
}
}
}
}
References:
https://docs.microsoft.com/en-us/azure/governance/policy/samples/enforce-tag-on- resource-groups

NEW QUESTION 108


- (Topic 4)
Your company creates a new Azure DevOps team. D18912E1457D5D1DDCBD40AB3BF70D5D
You plan to use Azure DevOps for sprint planning.
You need to visualize the flow of your work by using an agile methodology. Which Azure DevOps component should you use?

A. Kanban boards
B. sprint planning
C. delivery plans
D. portfolio backlogs

Answer: A

Explanation:
Customizing Kanban boards
To maximize a team’s ability to consistently deliver high quality software, Kanban emphasize two main practices. The first, visualize the flow of work, requires you
to map your team’s workflow stages and configure your Kanban board to match. Your Kanban board turns your backlog into an interactive signboard, providing a
visual flow of work.
Reference: https://azuredevopslabs.com/labs/azuredevops/agile/

NEW QUESTION 112


- (Topic 4)
Your company creates a web application.
You need to recommend a solution that automatically sends to Microsoft Teams a dairy summary of the exceptions that occur m the application.
Which two Azure services should you recommend? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

A. Microsoft Visual Studio App Center


B. Azure DevOps Project
C. Azure Logic Apps
D. Azure Pipelines
E. Azure Application Insights

Answer: CE

Explanation:
References:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/asp-net-exceptions https://docs.microsoft.com/en-us/azure/azure-monitor/app/automate-custom-reports

NEW QUESTION 117


- (Topic 4)
You are building a Microsoft ASP.NET application that requires authentication.
You need to authenticate users by using Azure Active Directory (Azure AD). What should you do first?

A. Create a membership database in an Azure SQL database.


B. Assign an enterprise application to users and groups.
C. Create an app registration in Azure AD.
D. Configure the application to use a SAML endpoint.
E. Create a new OAuth token from the application.

Answer: C

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

Explanation:
Register your application to use Azure Active Directory. Registering the application means that your developers can use Azure AD to authenticate users and
request access to user resources such as email, calendar, and documents.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/manage-apps/developer-guidance- for-integrating-applications
https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-v2-aspnet- webapp

NEW QUESTION 121


DRAG DROP - (Topic 4)
You are planning projects for three customers. Each customer’s preferred process for work items is shown in the following table.

The customers all plan to use Azure DevOps for work item management.
Which work item process should you use for each customer? To answer, drag the appropriate work item process to the correct customers. Each work item process
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.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
Box 1: Scrum
Choose Scrum when your team practices Scrum. This process works great if you want to track product backlog items (PBIs) and bugs on the Kanban board, or
break PBIs and bugs down into tasks on the taskboard.
Box 2: Agile
Choose Agile when your team uses Agile planning methods, including Scrum, and tracks development and test activities separately. This process works great if
you want to track user stories and (optionally) bugs on the Kanban board, or track bugs and tasks on the taskboard.
Box 3: CMMI
Choose CMMI when your team follows more formal project methods that require a framework for process improvement and an auditable record of decisions. With
this process, you can track requirements, change requests, risks, and reviews.

NEW QUESTION 125


- (Topic 4)
You are automating the testing process for your company. You need to automate UI testing of a web application. Which framework should you use?

A. JaCoco
B. Playwright
C. Xamarin.UITest
D. Microsoft.CodeAnalysis

Answer: B

Explanation:
Performing user interface (UI) testing as part of the release pipeline is a great way of detecting unexpected changes, and need not be difficult. Selenium can be
used to test your website during a continuous deployment release and test automation.
References:
https://docs.microsoft.com/en-us/azure/devops/pipelines/test/continuous-test-selenium?view=azure-devops

NEW QUESTION 128


HOTSPOT - (Topic 4)
You have an Azure web app named Webapp1.

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

You need to use an Azure Monitor query to create a report that details the top 10 pages of Webapp1 that failed.
How should you complete the query? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
Box 1: requests
Failed requests (requests/failed):
The count of tracked server requests that were marked as failed. Kusto code:
requests
| where success == 'False' Box 2: success == false

NEW QUESTION 131


- (Topic 4)
You are monitoring the health and performance of an Azure web app by using Azure Application Insights. You need to ensure that an alert is sent when the web
app has a sudden rise in performance issues and failures. What should you use?

A. Application Insights Profiler


B. Continuous export
C. Smart Detection
D. custom events
E. usage analysis

Answer: C

Explanation:
Smart Detection automatically warns you of potential performance problems and failure anomalies in your web application. It performs proactive analysis of the
telemetry that your app sends to Application Insights. If there is a sudden rise in failure rates, or abnormal patterns in client or server performance, you get an alert.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/proactive-diagnostics

NEW QUESTION 133


- (Topic 4)
You use GitHub for source control and project-related discussions.
You receive a notification when an entry is made to any team discussion.
You need to ensure that you receive email notifications only for discussions in which you commented or in which you are mentioned.
Which two Notifications settings should you clear? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

A. Participating
B. Automatically watch repositories
C. Automatically watch teams
D. Watching

Answer: BD

NEW QUESTION 135


- (Topic 4)
You are building an ASP.NET Core application.
You plan to create an application utilization baseline by capturing telemetry data.
You need to add code to the application to capture the telemetry data. The solution must minimize the costs of storing the telemetry data.

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

A. Add the <InitialSamplingPercentage>99</InitialSamplingPercentage> parameter to the ApplicationInsights.config file.


B. From the code of the application, enable adaptive sampling.
C. From the code of the application, add Azure Application Insights telemetry.
D. Add the <MaxTelemetryItemsPerSecond>5</MaxTelemetryItemsPerSecond> parameter to the ApplicationInsights.config file.
E. From the code of the application, disable adaptive sampling.

Answer: CE

Explanation:
"Fixed-rate sampling reduces the volume of telemetry sent from both your ASP.NET or ASP.NET Core or Java server and from your users' browsers. You set the
rate. The client and server will synchronize their sampling so that, in Search, you can navigate between related page views and requests."
https://docs.microsoft.com/en- us/azure/azure-monitor/app/sampling
https://docs.microsoft.com/en-us/azure/azure-monitor/app/asp-net-core https://docs.microsoft.com/en-us/azure/azure-monitor/app/sampling#configuring-adaptive-
sampling-for-aspnet-core-applications

NEW QUESTION 139


- (Topic 4)
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the
stated goals. Some question sets might have more than one correct solution, while 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.
Your company uses Azure DevOps to manage the build and release processes for applications.
You use a Git repository for applications source control.
You need to implement a pull request strategy that reduces the history volume in the master branch.
Solution: You implement a pull request strategy that uses fast-forward merges. Does this meet the goal?

A. Yes
B. No

Answer: A

Explanation:
No fast-forward merge - This option merges the commit history of the source branch when the pull request closes and creates a merge commit in the target
branch.
Reference:
https://docs.microsoft.com/en-us/azure/devops/repos/git/branch-policies

NEW QUESTION 140


- (Topic 4)
You have multi-tier application that h« an Azure Web Apps front end and art Azure SQL Datable back end.
You need to recommend a solution to capture and store telemetry data. The solution must meet the following requirements:
• Support using ad-hoc queries to identify baselines.
• Trigger alerts when metrics in the baseline are exceeded.
• Store application and database metrics in a central location. What should you include in the recommendation?

A. Azure Application Insights


B. Azure SQL Database Intelligent Insights
C. Azure Event Hubs
D. Azure Log Analytics

Answer: A

Explanation:
Azure Platform as a Service (PaaS) resources, like Azure SQL and Web Sites (Web Apps), can emit performance metrics data natively to Log Analytics.
The Premium plan will retain up to 12 months of data, giving you an excellent baseline ability.
There are two options available in the Azure portal for analyzing data stored in Log analytics and for creating queries for ad hoc analysis.
References: https://docs.microsoft.com/en-us/azure/azure-monitor/platform/collect- azurepass-posh

NEW QUESTION 141


- (Topic 3)
You need !0 the merge the POC branch into the default branch. The solution must meet the technical requirements. Which command should you run?

A. it push
B. git merge -- allow-unrelated-histories
C. git rebase
D. git merge --squash

Answer: C

NEW QUESTION 142


DRAG DROP - (Topic 3)
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.

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

A. Mastered
B. Not Mastered

Answer: A

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.

NEW QUESTION 147


HOTSPOT - (Topic 3)
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.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
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.

NEW QUESTION 149


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

A. NDF
B. MDF
C. BACPAC
D. DACPAC

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

Answer: D

NEW QUESTION 151


- (Topic 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)

Answer: B

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.
Reference:
https://www.rebeladmin.com/2018/08/step-step-guide-configure-location-based-conditional-access-policies/

NEW QUESTION 154


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

A. Run the Register-AzureRmAutomationDscNode Azure Powershell cmdlet.


B. Modify the ConfigurationMode property of the Local Configuration Manager (LCM).
C. Install PowerShell Core.
D. Modify the RefreshMode property of the Local Configuration Manager (LCM).

Answer: A

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

References: https://docs.microsoft.com/en- us/powershell/module/azurerm.automation/register-azurermautomationdscnode

NEW QUESTION 157


- (Topic 2)
You need to implement Project4. What should you do first?

A. Add the FROM instruction in the Dockerfile file.


B. Add a Copy and Publish Build Artifacts task to the build pipeline.
C. Add a Docker task to the build pipeline.
D. Add the MAINTAINER instruction in the Dockerfile file.

Answer: C

Explanation:
Scenario: Implement Project4 and configure the project to push Docker images to Azure Container Registry.

You use Azure Container Registry Tasks commands to quickly build, push, and run a Docker container image natively within Azure, showing how to offload your
"inner-loop" development cycle to the cloud. ACR Tasks is a suite of features within Azure Container Registry to help you manage and modify container images
across the container lifecycle.
References:
https://docs.microsoft.com/en-us/azure/container-registry/container-registry-quickstart-task- cli

NEW QUESTION 161


- (Topic 2)
In Azure DevOps, you create Project3.
You need to meet the requirements of the project. What should you do first?

A. From Azure DevOps, create a service endpoint.


B. From Sonar Qube, obtain an authentication token.
C. From Azure DevOps, modify the build definition.
D. From Sonar Qube , create a project.

Answer: A

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

Explanation:
The first thing to do is to declare your Sonar Qube server as a service endpoint in your VSTS/DevOps project settings.
References: https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Extension+for+vsts- TFS

NEW QUESTION 163


DRAG DROP - (Topic 2)
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.

A. Mastered
B. Not Mastered

Answer: A

Explanation:

NEW QUESTION 168


HOTSPOT - (Topic 1)
Where should the build and release agents for the investment planning application suite run? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
Box 1: A source control system
A source control system, also called a version control system, allows developers to collaborate on code and track changes. Source control is an essential tool for
multi- developer projects.
Box 2: A hosted service
To build and deploy Xcode apps or Xamarin.iOS projects, you'll need at least one macOS agent. If your pipelines are in Azure Pipelines and a Microsoft-hosted
agent meets your needs, you can skip setting up a self-hosted macOS agent.

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

Scenario: The investment planning applications suite will include one multi-tier web application and two iOS mobile applications. One mobile application will be
used by employees; the other will be used by customers.
References:
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-osx?view=azure- devops

NEW QUESTION 170


HOTSPOT - (Topic 1)
How should you configure the release retention policy for the investment planning applications suite? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
Scenario: By default, all releases must remain available for 30 days, except for production releases, which must be kept for 60 days.
Box 1: Set the default retention policy to 30 days
The Global default retention policy sets the default retention values for all the build pipelines. Authors of build pipelines can override these values.
Box 2: Set the stage retention policy to 60 days
You may want to retain more releases that have been deployed to specific stages. References: https://docs.microsoft.com/en-
us/azure/devops/pipelines/policies/retention

NEW QUESTION 174


- (Topic 4)
You have an Azure web app named webapp1 that uses the .NET Core runtime stack. You have an Azure Application Insights resource named Applnsight1.
Webapp1 sends telemetry data to Applnsights1.
You need to ensure that webapp1 sends the telemetry data at a fixed sampling rate. What should you do?

A. From the code repository of webapp1, modify the Applicationlnsights.config file.


B. From the code repository of webapp1, modify the Startup.cs file.
C. From Applnsights1. modify the Usage and estimated costs settings.
D. From Applnsights1, configure the Continuous export settings.

Answer: B

NEW QUESTION 179


- (Topic 4)
You have an Azure DevOps organization named Contoso that contains a project named Project 1.
You provision an Azure key vault name Keyvault1.
You need to reference Keyvault1 secrets in a build pipeline of Project1. What should you do first?

A. Create an XAML build service.


B. Create a variable group in Project1.
C. Add a secure file to Project1.
D. Configure the security policy of Contoso.

Answer: C

Explanation:
Before this will work, the build needs permission to access the Azure Key Vault. This can be added in the Azure Portal.
Open the Access Policies in the Key Vault and add a new one. Choose the principle used in the DevOps build.
Reference:
https://docs.microsoft.com/en-us/azure/devops/pipelines/release/azure-key-vault

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

NEW QUESTION 181


- (Topic 4)
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 use Azure Pipelines to build and test a React js application. You have a pipeline that has a single job.
You discover thai installing JavaScript packages from npm takes approximately five minutes each time you run the pipeline.
You need to recommend a solution to reduce the pipeline execution time.
Solution: You recommend defining a container job that uses a custom container that has the JavaScript packages preinstalled.
Does this meet the goal?

A. Yes
B. No

Answer: B

Explanation:
Instead enable pipeline caching.
Note:
npm-cache is a command line utility that caches dependencies installed via npm, bower, jspm and composer.
It is useful for build processes that run [npm|bower|composer|jspm] install every time as part of their build process. Since dependencies don't change often, this
often means slower build times. npm-cache helps alleviate this problem by caching previously installed dependencies on the build machine.
Reference: https://www.npmjs.com/package/npm-cache

NEW QUESTION 184


DRAG DROP - (Topic 4)
You have an app named App1. You have a Log Analytics workspace named Workspace 1 that contains two tables named Events and Logs. App1 manages
events in multiple locations and writes togs to Workspace1.
You need to query Workspace1 for all log entries related to Asia that occurred during the last two days.
In which order should you arrange the query statements? To answer, move all statements from the let of statements to the answer area and arrange them in the
correct order.

A. Mastered
B. Not Mastered

Answer: A

Explanation:

NEW QUESTION 188


- (Topic 4)
Your team uses an agile development approach.
You need to recommend a branching strategy for the team’s Git repository. The strategy must meet the
following requirements.
Provide the ability to work on multiple independent tasks in parallel. Ensure that checked-in code remains in a releasable state always. Ensure that new features
can be abandoned at any time. Encourage experimentation.
What should you recommend?

A. a single long-running branch


B. multiple long-running branches
C. a single fork per team member
D. a single-running branch with multiple short-lived topic branches

Answer: D

NEW QUESTION 191


SIMULATION - (Topic 4)
You need to create and configure an Azure Storage account named az400lod11566895stor in a resource group named RG1lod11566895 to store the boot
diagnostics for a virtual machine named VM1.
To complete this task, sign in to the Microsoft Azure portal.

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

A. Mastered
B. Not Mastered

Answer: A

Explanation:
Step 1: To create a general-purpose v2 storage account in the Azure portal, follow these steps:
? On the Azure portal menu, select All services. In the list of resources, type Storage Accounts. As you begin typing, the list filters based on your input. Select
Storage Accounts.
? On the Storage Accounts window that appears, choose Add.
? Select the subscription in which to create the storage account.
? Under the Resource group field, select RG1lod11566895
? Next, enter a name for your storage account named: az400lod11566895stor
? Select Create.
Step 2: Enable boot diagnostics on existing virtual machine
To enable Boot diagnostics on an existing virtual machine, follow these steps:
* 1. Sign in to the Azure portal, and then select the virtual machine VM1.
* 2. In the Support + troubleshooting section, select Boot diagnostics, then select the Settings tab.
* 3. In Boot diagnostics settings, change the status to On, and from the Storage account drop-down list, select the storage account az400lod11566895stor.
* 4. Save the change.

You must restart the virtual machine for the change to take effect.

NEW QUESTION 193


- (Topic 4)
Your company is building a mobile app that targets Android devices and OS devices. Your team uses Azure DevOps to manage all work items and release cycles.
You need to recommend a solution to perform the following tasks:
• Collect crash reports for issue analysis
• Distribute beta releases to your testers.
• Get user feedback on the functionality of new apps. What should you include in the recommendation?

A. Jenkins integration
B. Azure Application Insights widgets
C. the Microsoft Test & Feedback extension
D. Microsoft Visual Studio App Center integration

Answer: D

Explanation:
The "Exploratory Testing" extension is now "Test & Feedback" and is now Generally Available.
Anyone can now test web apps and give feedback, all directly from the browser on any platform: Windows, Mac, or Linux. Available for Google Chrome and
Mozilla Firefox (required version 50.0 or above) currently. Support for Microsoft Edge is in the pipeline and will be enabled once Edge moves to a Chromium-
compatible web platform.
References:
https://marketplace.visualstudio.com/items?itemName=ms.vss-exploratorytesting-web

NEW QUESTION 197


- (Topic 4)
You haw an Azure subscription that contains multiple Azure services. You need to send an SMS alert when scheduled maintenance is planned for the Azure
services. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

A. Create an Azure Service Health alert.


B. Enable Azure Security Center.
C. Create and configure an action group
D. Create and configure an Azure Monitor alert rule

Answer: AD

NEW QUESTION 202


- (Topic 4)

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

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 use Azure Pipelines to build and test a React js application. You have a pipeline that has a single job.
You discover that installing JavaScript packages from npm takes approximately five minutes each time you run the pipeline.
You need to recommend a solution to reduce the pipeline execution time. Solution: You recommend enabling parallel jobs for the pipeline.
Does this meet the goal?

A. Yes
B. No

Answer: B

Explanation:
Instead enable pipeline caching.
Note:
npm-cache is a command line utility that caches dependencies installed via npm, bower, jspm and composer.
It is useful for build processes that run [npm|bower|composer|jspm] install every time as part of their build process. Since dependencies don't change often, this
often means slower build times. npm-cache helps alleviate this problem by caching previously installed dependencies on the build machine.
Reference: https://www.npmjs.com/package/npm-cache

NEW QUESTION 203


- (Topic 4)
You are integrating an Azure Boards project and a GitHub repository. You need to authenticate Azure Boards to GitHub.
Which two authentication methods can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

A. a trusted root certificate


B. a publisher certificate
C. Azure Active Directory (Azure AD)
D. GitHub user credentials
E. a personal access token (PAT)

Answer: CD

NEW QUESTION 207


- (Topic 4)
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 210


- (Topic 4)
Your company has a project in Azure DevOps for a new web application. The company uses Service Now for change management.
You need to ensure that a change request is processed before any components can be deployed to the production environment.
What are two ways to integrate into the Azure DevOps release pipeline? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

A. Define a deployment control that invokes the Service Now SOAP API.
B. Define a post deployment gate after the deployment to the QA stage.
C. Define a deployment control that invokes the ServiceNow REST API.
D. Define a pre deployment gate before the deployment to the Prod stage.

Answer: AB

Explanation:
https://docs.microsoft.com/en-us/azure/devops/pipelines/release/approvals/servicenow?view=azure-devops

NEW QUESTION 214


- (Topic 4)
Your company has 60 developers who are assigned to four teams. Each team has 15 members.
The company uses an agile development methodology.
You need to structure the work of the development teams so that each team owns their respective work while working together to reach a common goal.

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

Which parts of the taxonomy should you enable the team to perform autonomously?

A. Features and Tasks


B. Initiatives and Epics
C. Epics and Features
D. Stories and Tasks

Answer: A

Explanation:
A feature typically represents a shippable component of software. Features, examples:
? Add view options to the new work hub
? Add mobile shopping cart
? Support text alerts
? Refresh the web portal with new look and feel
User Stories and Tasks are used to track work. Teams can choose how they track bugs, either as requirements or as tasks
Reference:
https://docs.microsoft.com/en-us/azure/devops/boards/backlogs/define-features-epics https://docs.microsoft.com/en-us/azure/devops/boards/work-items/about-
work-items

NEW QUESTION 216


DRAG DROP - (Topic 4)
You have a project in Azure DevOps named Project1 that has a release pipeline in Azure Pipeline named ReleaseP1.
you need to ensure that when a new release is generated for ReleaseP1, a new release note document is created. The release notes must contain new features
and bug fixes.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the Most of actions to the answer area and arrange them r
the correct order.
NOTE: More than one order of answer choices is correct You will receive credit for any of the correct orders you select

A. Mastered
B. Not Mastered

Answer: A

Explanation:

NEW QUESTION 217


- (Topic 4)
Your company implements an Agile development methodology. You plan to implement retrospectives at the end of each sprint.
Which three questions should you include? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

A. Who performed well?


B. Who should have performed better?
C. What could have gone better?
D. What went well?
E. What should we try next?

Answer: CDE

Explanation:
https://www.scrum.org/resources/what-is-a-sprint-retrospective

NEW QUESTION 221


- (Topic 4)
You are designing a configuration management solution to support five apps hosted on Azure App Service.
Each app is available in the following three environments: development, test, and production.
You need to recommend a configuration management solution that meets the following requirements:
? Supports feature flags
? Tracks configuration changes from the past 30 days
? Stores hierarchically structured configuration values
? Controls access to the configurations by using role-based access control (RBAC) permission

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

? Stores shared values as key/value pairs that can be used by all the apps
Which Azure service should you recommend as the configuration management solution?

A. Azure Cosmos DB
B. Azure App Service
C. Azure App Configuration
D. Azure Key Vault

Answer: C

Explanation:
The Feature Manager in the Azure portal for App Configuration provides a UI for creating and managing the feature flags that you use in your applications.
App Configuration offers the following benefits:
? A fully managed service that can be set up in minutes
? Flexible key representations and mappings
? Tagging with labels
? Point-in-time replay of settings
? Dedicated UI for feature flag management
? Comparison of two sets of configurations on custom-defined dimensions
? Enhanced security through Azure-managed identities
? Encryption of sensitive information at rest and in transit
? Native integration with popular frameworks
App Configuration complements Azure Key Vault, which is used to store application secrets.
Reference:
https://docs.microsoft.com/en-us/azure/azure-app-configuration/overview

NEW QUESTION 223


DRAG DROP - (Topic 4)
You have an Azure Repos repository named repo1. You delete a branch named features/feature11. You need to recover the deleted branch.
Which three commands should you run in sequence? To answer, move the appropriate commands from the list of commands to the answer area and arrange
them in the correct order.

A. Mastered
B. Not Mastered

Answer: A

Explanation:

NEW QUESTION 225


- (Topic 4)
You have an Azure DevOps organization named Contoso.
You need to receive Microsoft Teams notifications when work items are updated. What should you do?

A. From Azure DevOps, configure a service hook subscription


B. From Microsoft Teams, configure a connector
C. From the Microsoft Teams admin center, configure external access
D. From Microsoft Teams, add a channel
E. From Azure DevOps, install an extension

Answer: A

Explanation:
Service hooks let you run tasks on other services when events happen in your Azure DevOps projects. For example, create a card in Trello when a work item is
created or send a push notification to your team's mobile devices when a build fails. You can also use service hooks in custom apps and services as a more
efficient way to drive activities when events happen in your projects.
Note: Service hook publishers define a set of events. Subscriptions listen for the events and define actions to take based on the event. Subscriptions also target
consumers, which are external services that can run their own actions, when an event occurs.
Reference:
https://docs.microsoft.com/en-us/azure/devops/service-hooks/overview

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

NEW QUESTION 226


DRAG DROP - (Topic 4)
You have an Azure subscription that uses Azure Automation State Configuration to manage the configuration of virtual machines.
You need to identify which nodes are noncompliant.
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.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
https://learn.microsoft.com/fr-fr/azure/automation/automation-dsc-diagnostics

NEW QUESTION 231


- (Topic 4)
You have a build pipeline in Azure Pipelines. You create a Slack App Integration.
You need to send build notifications to a Slack channel named #Development. What should you do first?

A. Configure a service connection.


B. Create a service hook subscription.
C. Create a project-level notification.
D. Create a global notification.

Answer: B

Explanation:
Create a service hook for Azure DevOps with Slack to post messages to Slack in response to events in your Azure DevOps organization, such as completed
builds, code changes, pull requests, releases, work items changes, and more.
Note:
* 1. Go to your project Service Hooks page: https://{orgName}/{project_name}/_settings/serviceHooksSelect Create Subscription.
* 3. Choose the types of events you want to appear in your Slack channel.
* 4. Paste the Web Hook URL from the Slack integration that you created and select Finish.
* 5. Now, when the event you configured occurs in your project, a notification appears in your team's Slack channel.
Reference:
https://docs.microsoft.com/en-us/azure/devops/service-hooks/services/slack

NEW QUESTION 235


- (Topic 4)
You have a containerized solution that runs in Azure Container Instances. The solution contains a frontend container named App1 and a backend container named
DB1. DB1 loads a large amount of data during startup.
You need to verify that DB1 can handle incoming requests before users can submit requests to Appl.
What should you configure?

A. a Iiveness probe
B. an Azure Load Balancer health probe
C. a readiness probe
D. a performance log

Answer: C

Explanation:
For containerized applications that serve traffic, you might want to verify that your container is ready to handle incoming requests. Azure Container Instances
supports readiness probes to include configurations so that your container can't be accessed under certain conditions.
Reference:
https://docs.microsoft.com/en-us/azure/container-instances/container-instances-readiness- probe

NEW QUESTION 240


- (Topic 4)
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.

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

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 245


- (Topic 4)
You manage build pipelines and deployment pipelines by using Azure DevOps.
Your company has a team of 500 developers. New members are added continual lo the team
You need to automate me management of users and licenses whenever possible Which task must you perform manually?

A. modifying group memberships


B. procuring licenses
C. adding users
D. assigning entitlements

Answer: B

Explanation:
References:
https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/migrate-to-group-based-resource-management?view=vsts&tabs=new-nav
https://docs.microsoft.com/en-us/rest/api/azure/devops/memberentitlementmanagement/?view=azure-devops-rest-5.0

NEW QUESTION 246


- (Topic 4)
You have an Azure subscription that contains four Azure virtual machines
You need to configure the virtual machines to use a single identity. The solution must meet the following requirements:
• Ensure that the credentials for the identity are managed automatically.
• Support granting privileges to the identity. Which type of identity should you use?

A. a service principal
B. a user-assigned managed identity
C. a system-assigned managed identity
D. a user account

Answer: C

Explanation:
System-assigned managed identities enable Azure resources to authenticate to cloud services without storing credentials in code. They also support granting
privileges to the identity, making them the ideal choice for this scenario. Source: Microsoft

NEW QUESTION 248


- (Topic 4)
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the
stated goals. Some question sets might have more than one correct solution, while 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.
Your company uses Azure DevOps to manage the build and release processes for applications.
You use a Git repository for applications source control.
You need to implement a pull request strategy that reduces the history volume in the master branch.
Solution: You implement a pull request strategy that uses squash merges. Does this meet the goal?

A. Yes
B. No

Answer: B

NEW QUESTION 250


- (Topic 4)
You have a GitHub Enterprise account.
You need to enable push protection for secret scanning of the account repositories. What should you do first?

A. Purchase Premium Plus support.


B. Enforce multi-factor authentication (MFA).
C. Purchase a GitHub Advanced Security license.
D. Create an access policy for secrets.

Answer: C

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

NEW QUESTION 255


SIMULATION - (Topic 4)
You plan to implement a CI/CD strategy for an Azure Web App named az400-11566895- main.
You need to configure a staging environment for az400-11566895-main. To complete this task, sign in to the Microsoft Azure portal.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
Add a slot
* 1. In the Azure portal, search for and select App Services and select your app az400- 11566895-main.

* 2. In the left pane, select Deployment slots > Add Slot.

* 3. In the Add a slot dialog box, give the slot a name, and select whether to clone an app configuration from another deployment slot. Select Add to continue.

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

* 4. After the slot is added, select Close to close the dialog box. The new slot is now shown on the Deployment slots page.

NEW QUESTION 257


- (Topic 4)
Your company has an Azure DevOps project,
The source code for the project is stored in an on-premises repository and uses on an on- premises build
server.
You plan to use Azure DevOps to control the build process on the build server by using a self-hosted agent.
You need to implement the self-hosted agent.
You download and install the agent on the build server.
Which two actions should you perform next? Each correct answer presents part of the solution.

A. From Azure, create a shared access signature (SAS).


B. From the build server, create a certificate, and then upload the certificate to Azure Storage.
C. From the build server, create a certificate, and then upload the certificate to Azure Key Vault.
D. From DevOps, create a personal access token (PAT).
E. From the build server, run config.cmd.

Answer: DE

Explanation:
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure-devops (Get PAT, run config)

NEW QUESTION 260


- (Topic 4)
Your company « 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?

A. Code Style
B. Microsoft Visual SourceSafe
C. Black Duck
D. Jenkins

Answer: C

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

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. References:
https://marketplace.visualstudio.com/items?itemName=black-duck-software.hub-tfs

NEW QUESTION 263


- (Topic 4)
You plan to create a GitHub workflow that will use GitHub Actions. The actions will require a 256-KB secret.
You need to recommend a solution to store and encrypt the secret. The secret value must be accessible only to the workflow. The solution must minimize
administrative effort
What should you recommend?

A. Store the secret in the organization-level GitHub secrets.


B. Store the secret in the repository-level GitHub secrets.
C. Encrypt the secret value and store the value in the repositor
D. Store the decryption key in the repository-level GitHub secrets.
E. Encrypt the secret value and store the value in the repositor
F. Store the decryption key in the organization-level GitHub secrets.

Answer: C

Explanation:
https://docs.github.com/en/actions/security-guides/encrypted-secrets "To use secrets that are larger than 48 KB, you can use a workaround to store encrypted
secrets in your repository and save the decryption passphrase as a secret on GitHub." Because it requires less administrative privilege it's at repository level

NEW QUESTION 268


- (Topic 4)
You have a private project in Azure DevOps.
You need to ensure that a project manager can create custom work item queries to report on the project's progress. The solution must use the principle of least
privilege.
To which security group should you add the project manager?

A. Project Collection Administrators


B. Reader
C. Project Administrators
D. Contributor

Answer: D

Explanation:
Contributors have permissions to contribute fully to the project code base and work item tracking. The main permissions they don't have or those that manage or
administer resources.
Reference:
https://docs.microsoft.com/en-us/azure/devops/organizations/security/permissions
https://docs.microsoft.com/en-us/azure/devops/organizations/security/permissions-access- work-tracking?view=azure-devops#queries-and-semantic-search

NEW QUESTION 270


DRAG DROP - (Topic 4)
You are configuring Azure Pipelines for three projects in Azure DevOps as shown in the following table.

Which version control system should you recommend for each project? To answer, drag the appropriate version control systems to the correct projects. Each
version control system 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.

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

A. Mastered
B. Not Mastered

Answer: A

Explanation:
Project1:Git in Azure Repos
Project2: Github Enterprise
GitHub Enterprise is the on-premises version of GitHub.com. GitHub Enterprise includes the same great set of features as GitHub.com but packaged for running
on your organization's local network. All repository data is stored on machines that you control, and access is integrated with your organization's authentication
system (LDAP, SAML, or CAS).
Project3: Bitbucket cloud
One downside, however, is that Bitubucket does not include support for SVN but this can be easily amended migrating the SVN repos to Git with tools such as
SVN Mirror for Bitbucket .
Note: SVN is a centralized version control system.

NEW QUESTION 275


- (Topic 4)
You have a project in Azure DevOps. You have an Azure Resource Group deployment project in Microsoft
Visual Studio that is checked in to the Azure DevOps project.
You need to create a release pipeline that will deploy resources by using Azure Resource Manager templates.
The solution must minimize administrative effort. Which task type should you include in the solution?

A. Azure Cloud Service Deployment


B. Azure RM Web App Deployment
C. Azure PowerShell
D. Azure App Service Manage

Answer: C

Explanation:
There are two different ways to deploy templates to Azure DevOps Services. Both methods provide the same results, so choose the one that best fits your
workflow.
* 1. Add a single step to your build pipeline that runs the PowerShell script that’s included in the Azure
Resource Group deployment project (Deploy-AzureResourceGroup.ps1). The script copies artifacts and
then deploys the template.
* 2. Add multiple Azure DevOps Services build steps, each one performing a stage task. The first option has the advantage of using the same script used by
developers in Visual Studio and providing
consistency throughout the lifecycle. References:
https://docs.microsoft.com/en-us/azure/vs-azure-tools-resource-groups-ci-in-vsts

NEW QUESTION 278


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

A. SourceGear Vault
B. Jenkins
C. Microsoft Visual SourceSafe
D. WhiteSource Bolt

Answer: D

Explanation:
WhiteSource provides WhiteSource Bolt, a lightweight open source security and management solution developed specifically for integration with Azure DevOps
and Azure DevOps Server.
Note: WhiteSource is the leader in continuous open source software security and compliance management. WhiteSource integrates into your build process,
irrespective of your programming languages, build tools, or development environments. It works automatically, continuously, and silently in the background,
checking the security, licensing, and quality of your open source components against WhiteSource constantly-updated denitive database of open source
repositories.
Reference: https://www.azuredevopslabs.com/labs/vstsextend/whitesource/

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

NEW QUESTION 279


......

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Recommend!! Get the Full AZ-400 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/AZ-400-exam-dumps.html (418 New Questions)

Thank You for Trying Our Product

We offer two products:

1st - We have Practice Tests Software with Actual Exam Questions

2nd - Questons and Answers in PDF Format

AZ-400 Practice Exam Features:

* AZ-400 Questions and Answers Updated Frequently

* AZ-400 Practice Questions Verified by Expert Senior Certified Staff

* AZ-400 Most Realistic Questions that Guarantee you a Pass on Your FirstTry

* AZ-400 Practice Test Questions in Multiple Choice Formats and Updatesfor 1 Year

100% Actual & Verified — Instant Download, Please Click


Order The AZ-400 Practice Test Here

Passing Certification Exams Made Easy visit - https://www.surepassexam.com


Powered by TCPDF (www.tcpdf.org)

You might also like