Question 1easymultiple choice
Read the full network assurance explanation →AZ-400 Implement an instrumentation strategy • Complete Question Bank
Complete AZ-400 Implement an instrumentation strategy question bank — all 0 questions with answers and detailed explanations.
Refer to the exhibit.
```json
{
"properties": {
"name": "test-rule",
"description": "Alert when error rate > 5%",
"severity": 2,
"enabled": true,
"scopes": ["/subscriptions/.../resourceGroups/.../providers/microsoft.insights/components/myapp"],
"criteria": {
"allOf": [
{
"metricName": "requests/count",
"metricNamespace": "microsoft.insights/components",
"operator": "GreaterThan",
"threshold": 100,
"timeAggregation": "Total",
"dimensions": [
{
"name": "request/resultCode",
"operator": "Include",
"values": ["500"]
}
]
}
]
}
}
}
```Refer to the exhibit.
```
Application Insights Snapshot Debugger
Snapshot 1:
Thread: 1234
Exception: NullReferenceException
Stack:
Contoso.Web.Pages.Index.OnGet() line 42
Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeHandlerMethod()
...
Local variables:
_dbContext: null (Contoso.Data.AppDbContext)
```Refer to the exhibit.
```json
{
"apiVersion": "microsoft.insights/v1",
"location": "eastus",
"properties": {
"dataFlows": [
{
"destinations": ["la-workspace"],
"streams": ["Microsoft-InsightsMetrics"]
}
],
"dataSources": {
"performanceCounters": [
{
"name": "cpuCounter",
"counterSpecifiers": [
"\\Processor(_Total)\\% Processor Time"
],
"samplingFrequencyInSeconds": 60
}
]
},
"destinations": {
"logAnalytics": [
{
"workspaceResourceId": "/subscriptions/sub-id/resourceGroups/rg/providers/Microsoft.OperationalInsights/workspaces/myworkspace"
}
]
}
}
}
```Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag a concept onto its matching description — or click a concept then click the description.
Personal access token for API authentication
Securely stores credentials for external services
Shared variables with optional secret protection
Centralized secure files and variable groups
Refer to the exhibit.
```json
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"workspaceName": {
"type": "string"
},
"location": {
"type": "string"
}
},
"resources": [
{
"type": "Microsoft.OperationalInsights/workspaces",
"apiVersion": "2022-10-01",
"name": "[parameters('workspaceName')]",
"location": "[parameters('location')]",
"properties": {}
},
{
"type": "Microsoft.OperationalInsights/workspaces/savedSearches",
"apiVersion": "2020-08-01",
"name": "[concat(parameters('workspaceName'), '/PipelineFailures')]",
"dependsOn": [
"[resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspaceName'))]"
],
"properties": {
"category": "Azure Pipelines",
"displayName": "Pipeline Failures in Last 24 Hours",
"query": "AzureDevOpsPipelineEvents_CL | where TimeGenerated > ago(24h) and Result_s == 'Failed'"
}
}
]
}
```