Az-400 5
Az-400 5
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)
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.
A. Mastered
B. Not Mastered
Answer: A
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.
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.
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
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.
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.
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
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
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)?
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?
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.
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.
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
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
* 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
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?
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:
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.
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?
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.
Answer: AB
NEW QUESTION 77
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.
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
- (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.
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.
Answer: BC
A. Rebase
B. Fetch
C. MergeE1457D5D1DDCBD40AB3BF70D5D
D. Push
Answer: C
Explanation:
https://docs.microsoft.com/en-us/azure/devops/repos/git/pull-requests
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.
A. Mastered
B. Not Mastered
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
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/
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
Answer: C
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
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.
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
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
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
A. Participating
B. Automatically watch repositories
C. Automatically watch teams
D. Watching
Answer: BD
Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
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
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
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
A. it push
B. git merge -- allow-unrelated-histories
C. git rebase
D. git merge --squash
Answer: C
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.
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.
A. NDF
B. MDF
C. BACPAC
D. DACPAC
Answer: D
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/
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
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
Answer: A
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
A. Mastered
B. Not Mastered
Answer: A
Explanation:
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.
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
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
Answer: B
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
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
A. Mastered
B. Not Mastered
Answer: A
Explanation:
Answer: D
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.
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
Answer: AD
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
Answer: CD
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/
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
Which parts of the taxonomy should you enable the team to perform autonomously?
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
A. Mastered
B. Not Mastered
Answer: A
Explanation:
Answer: CDE
Explanation:
https://www.scrum.org/resources/what-is-a-sprint-retrospective
? 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
A. Mastered
B. Not Mastered
Answer: A
Explanation:
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
A. Mastered
B. Not Mastered
Answer: A
Explanation:
https://learn.microsoft.com/fr-fr/azure/automation/automation-dsc-diagnostics
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
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
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
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
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
A. Yes
B. No
Answer: B
Answer: C
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.
* 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.
* 4. After the slot is added, select Close to close the dialog box. The new slot is now shown on the Deployment slots page.
Answer: DE
Explanation:
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure-devops (Get PAT, run config)
A. Code Style
B. Microsoft Visual SourceSafe
C. Black Duck
D. Jenkins
Answer: C
Explanation:
Secure and Manage Open Source Software
Black Duck helps organizations identify and mitigate open source security, license compliance and code-quality risks across application and container portfolios.
Black Duck Hub and its plugin for Team Foundation Server (TFS) allows you to automatically find and fix open source security vulnerabilities during the build
process, so you can proactively manage risk. The integration allows you to receive alerts and fail builds when any Black Duck Hub policy violations are met.
Note: WhiteSource would also be a good answer, but it is not an option here. References:
https://marketplace.visualstudio.com/items?itemName=black-duck-software.hub-tfs
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
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
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.
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.
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
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/
* 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