DRAG DROP - (Topic 4)
You have web app named App1 that uses Application Insights in Azure Monitor to Store log data. App1 has users in multiple locations.
You need to query App1 requests from London and Paris that return error. The solution must meet the following requirements:
✑ Return the timestamp, url, result Code, and duration fields.
✑ Only requests made the last hour. How shout you complete the query?
Solution:
Does this meet the goal?
Correct Answer:
A
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
Solution:
Does this meet the goal?
Correct Answer:
A
HOTSPOT - (Topic 4)
You have a project in Azure DevOps named Contoso App that contains pipelines in Azure Pipelines for GitHub repositories. You need to ensure that developers receive Microsoft Teams notifications when there are failures in a pipeline of Contoso App. What should you run in Teams? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Solution:
Box 1: subscribe
To start monitoring all pipelines in a project, use the following command inside a channel:
@azure pipelines subscribe [project url]
Box 2: https://dev.azure.com/contoso/contoso-app/
Subscribe to a pipeline or all pipelines in a project to receive notifications:
@azure pipelines subscribe [pipeline url/ project url]
Does this meet the goal?
Correct Answer:
A
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.
Git | helper-script > changes.txt
Solution:
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.
Does this meet the goal?
Correct Answer:
A
- (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?
Correct Answer:
A
https://azuredevopslabs.com/labs/vstsextend/teams/