Task 2
You need to create an instance of AzureApplication Insights named az400-38443478-main and configure the instance to receive telemetry data from an Azure web app named az400-38443478-main
You must create a Log Analytics workspace before this task.
Task 11
You need to create a new artifact feed named artifact_feed.
Only 10 versions of the packages must be retained, and downloaded packages must be retained for 90 days.
Task 1
You need to ensure that an Azure Web App named az400-38443478-main can retrieve secrets from an Azure key vault named az400-3844J478-kv1 byusing a system managed identity The solution must use the principle of least privilege.
You need to prepare a network security group (NSG) named az400-9940427-nsg1 to host an Azure DevOps pipeline agent. The solution must allow only the required outbound port for Azure DevOps and deny all other inbound and outbound access to the Internet.
To complete this task, sign in to the Microsoft Azure portal.
You have a 1-TB Azure Repos repository named repol.
You need to clone repol. The solution must meet the following requirements;
• You must be able to search the commit history of the /src directory.
• The amount of time it takes to clone the repository must be minimized
Which command should you run?
You plan to deploy a runbook that will create Azure AD user accounts.
You need to ensure that runbooks can run the AzurePowerShell cmdlets for Azure Active Directory.
To complete this task, sign in to the Microsoft Azure portal.
You are using Agile process methodologies and Azure Boards in Azure DevOps. You import the work items shown in the following table.

You need to categorize the items.
Which state should you assign to each item? To answer, drag the appropriate states to the correct isms. Each state 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.

You have an Azure DevOps organization.
You need to recommend a solution for managing packages. The solution must meet the following requirements:
• Host private packages.
• Publish packages to a feed.
• Support the creation and publishing of new packages.
• Ensure that the package feed can be consumed by Azure DevOps pipelines.
What should you include in the recommendation?
You have an Azure subscription that contains an Azure Kubernetes Service (AKS) instance named AKS1. You collect and analyze metrics for AKS1 by using the Azure Monitor managed service for Prometheus. You need to analyze the performance of AKS1.
Which query language should you use?
You need to ensure that an Azure web app named az400-9940427-main can retrieve secrets from an Azure key vault named az400-9940427-kv1 by using a system managed identity.
Thesolution must use the principle of least privilege.
To complete this task, sign in to the Microsoft Azure portal.
You have an Azure DevOps release pipeline named Pipeline1. You plan to use Pipelinel to deploy infrastructure as code (laC) resources to Azure. You need to create templates to define which resources to deploy. Which template formats should you use?
You are designing a build and release pipeline.
You need to implement a shift-left testing strategy for the pipeline.
Which types of tests should you include?
Task 9
In Project1, you need to create a variable group named varGroup1 that will contain the following variables:
serverNane: server1 dbName: db1
You need to ensure that an Azure web app named az400-9940427-main supports rolling upgrades. The solution must ensure that only 10 percent of users who connect to az400-9940427-main use update versions of the app.
The solution must minimize administrative effort.
To complete this task, sign in to the Microsoft Azure portal.
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, signin to the Microsoft Azure portal.
You manage a website that uses an Azure SQL Database named db1 in a resource group named RG1lod11566895.
You need tomodify the SQL database to protect against SQL injection.
To complete this task, sign in to the Microsoft Azure portal.
Task 6
You have an Azure function hosted in an App Service plan named az400-38443478-funct
You need to configure az400 38443478-funcl lo update the functions automatically whenever new code is committedto the main branch of https://githubcom/Azure-Samples/functions-quickstart.
NOTE: Access to GitHub is blocked in the exam environment. Access to GitHub is NOT required to complete the task successfully.
You have multiple automated workflows that interact with Azure DevOps and use the following services:
• Azure Command-Line Interface (CLI)
• Azure PowerShell
• Azure Functions
You need to recommend which authentication method to use for each service. The solution must minimize the risk of compromising credentials.
What should you recommend for each service? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Task 11
You need to write a KQL query that will count the number of inbound requests for each source IP address, for any connection made during the last three months of 2021.
Open Azure Data Explorer by using the following link:
https//dataexploter azure.com/clusters/help/databases/Securiitylogs
The requests are contained in a table named InboundBrowsing in the Securitylogs connection.
The query must return two columns named NumberOfRequests and SourcelP.
Export the query result to C:\Samples
Task 12
In Project 1. you need to ensure that you can add the following iterations to items added tc Az-fe Ecards:
• Sprint 1
• Sprint 2
• Sprint 3
Sprint 3 must have a start date of January 1 of next year and an end date of Januan / 31 of next year.
You have an Azure Pipelines pipeline named Pipeline1 that has the following YAML definition.

For each of the following statements, select Yes if True. Otherwise select No.
NOTE: Each correct selection is worth one point.

Task 6
Initialize the default main branch, if it does not exist already.
For Project 1, you need to implement branch merging restrictions to enable squash merge for all changes merged into the main branch.
Task 1
Navigate to aex.dev.azure.com and specify the following credentials:
• UserUser1-48901628@cxamUsers.com
• Password: aFpJ2j-6M!
Use the default setting to sign up for Azure DevOps and create an Azure DevOps organization. Once the organization is created. create a private project named Project1.
You need to ensure that the maximum file size for all the Azure DevOps repositories of Project1 is 2 MB.
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.
Task 8
You need to ensure that the https://contoso.com/statushook webhookis called every time a repository named az40038443478acr 1 receives a new version of an image named dotnetapp
You have a GitHub Actions workflow named workflow! that is used to deploy an app name Appl. You need to ensure that App1 is deployed only when the following conditions are met:
• A pull request is merged to the main branch.
• The change includes a JavaScript file.
Solution. You configure the YAML file of workflowl to include the following.

Does this meet the goal?
You have a GitHub repository.
You need to ensure that all the code in the repository is scanned for vulnerabilities. What should you use?
You need to create a notification if the peak averageresponse time of an Azure web app named az400-9940427-main is more than five seconds when evaluated during a five-minute period. The notification must trigger the “https://contoso.com/notify” webhook.
To complete this task, sign in to the Microsoft Azureportal.
Task 4
For Project1, you need to create a self-hosted agent pod named Pool1.
All the pipelines in Project1 must have access to Pool1.
Task 10
You need to create a variable group named varGroup1 that will contain the following variables and default values:
• username: Userl-48901628
• password: aFpJ2j+6M!
The PASSWORD variable must be secret.
You have several apps that use an Azure SQLDatabase named db1.
You need to ensure that queries to db1 are tuned by Azure over time. The solution must only apply to db1.
To complete this task, sign in to the Microsoft Azure portal.
You have a GitHub repository named repol.
You commit a change to repol.
You need to update the commit message. The solution must ensure that the version number remains the same.
Which command should you run?
You have an Azure subscription.
You create two Bicep templates named Template1 and Template2 that will be used to create a virtual machine and a website.
You need to create a template named Template3 that will reuse logic from Template1 and Template2.
What should you define first?
Task 9
Initialize the default main branch, if it does not exist already.
You need to create a pipeline that will execute a .NET Core build task for the src directory.
The pipeline code must be stored in a new branch named azure-pipelinesT.
The pipeline must run automatically when a pull request against the mam branch is created or updated.
You have an Azure subscription that contains a resource group named RG1.
You have a template artifact named template1.
You plan to use Azure Pipelines to deploy an app named App1 to RG1. App1 requires template1.
You need to deploy template1 to RG1.
How should you configure the pipeline task? 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.

You have an Azure functionhosted in an App Service plan named az400-9940427-func1.
You need to configure az400-9940427-func1 to upgrade the functions automatically whenever new code is committed to the master branch of https://github.com/Azure-Samples/functions-quickstart.
To complete this task, sign in to the Microsoft Azure portal.
You have a GitHub organization.
You configure the personal access token (PAT) policy shown in the following exhibit.

Use the dropdown menus to select the answer choice that completes each statement based on the information presented in the graphic. NOTE: Each correct selection is worth one point.

What should you use to implement the code quality restriction on the release pipeline for the investment planning applications suite?
HOTSPOT
You are using PowerShell to administer Azure Log Analytics workspaces.
You need to list the available workspaces and their properties.
How should you complete the command? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Which branching strategy should you recommend for the investment planning applications suite?
You have a project in Azure DevOps.
You plan to deploy a self-hosted agent by using an unattended configuration script.
Which two values should you define in the configuration script? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
Which package feed access levels should be assigned to the Developers and Team Leaders groups for the investment planning applications suite? To answer, drag the appropriate access levels to the correct groups. Each access level 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.

How should you confrere the release retention policy for the investment planning depletions suite? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

HOTSPOT
You have an Azure virtual machine named VM1 that runs Linux.
You plan to deploy the Desired State Configuration (DSC) extension to VM1.
You need to grant the Log Analytics agent the appropriate directory permissions.
How should you complete the command? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

How should you complete the code to initialize App Center in the mobile application? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection a worth one point.

You need to configure a cloud service to store the secrets required by the mobile applications to call the share.
What should you include in the solution? To answer, select the appropriate options m the answer area, NOTE: Each correct selection is worth one point.

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.

You are using GitHub as a source code repository.
You create a client-side Git hook on the commit-msg event. The hook requires that each commit message contain a custom work item tag.
You need to make a commit that does not have a work item tag.
Which git commit parameter should you use?
You have Azure Pipelines and GitHub integrated as a source code repository.
The build pipeline has continuous integration enabled.
You plan to trigger an automated build whenever code changes are committed to the repository.
You need to ensure that the system will wait until a build completes before queuing another build.
What should you implement?
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.

To resolve the current technical issue, what should you do to the Register-AzureRmAutomationDscNode command?
You need to replace the existing DevOps tools to support the planned changes.
What should you use? To answer, drag the appropriate tools to the correct targets. Each tool may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.

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?
You need !0 the merge the POC branch into the default branch. The solution must meet the technical requirements. Which command should you run?
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.

You need to perform the GitHub code migration. The solution must support the planned changes for the DevOps environment.
What should you use?
You need to configure authentication for App1. The solution must support the planned changes.
Which three actions should you perform in sequence? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.

You need to meet the technical requirements for controlling access to Azure DevOps.
What should you use?
You need to configure Azure Pipelines to control App2 builds.
Which authentication method should you use?
You need to meet the technical requirements for monitoring App1.
What should you use?
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.

You need to the merge the POC branch into the main branch. The solution must meet the technical requirements.
Which command should you run?
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.

You need to implement Project4.
What should you do first?
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?
You need to recommend a procedure to implement the build agent for Project1.
Which three actions should you recommend be performed in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

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 in the correct order.

You need to implement Project6.
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 m the correct order.

In Azure DevOps, you create Project3.
You need to meet the requirements of the project.
What should you do first?
How should you configure the filters for the Project5 trigger? To answer, select the appropriate option in the answer area.
NOTE: Each correct selection is worth one point.

You need to configure Azure Automation for the computers in Pool7.
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 m the correct order.

You need to configure Azure Automation for the computer in Group7.
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.

You have an Azure subscription that contains 50 virtual machines.
You manage the configuration of the virtual machines by using Azure Automation State Configuration.
You need to ensure that Windows Defender is installed on each virtual machine and the Windows Defender service is running.
How should you complete the Desired State Configuration (DSC) code? 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 thesplit bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.

You configure an Azure Application Insights availability test.
You need to notify the customer services department at your company by email when availability is degraded.
You create an Azure logic app that will handle the email and follow up actions.
Which type of trigger should you use to invoke the logic app?