Instrument Solutions to support monitoring and logging Flashcards

1
Q

Where would an exception logged with the following end up?

var client = new TelemetryClient();
client.TrackException(ex);
A

Application Insights

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Where should the instrumation key be store in the app be?

A

APPINSIGHTS_INSTRUMENTATIONKEY

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What should you use to capture performance from multiple geographies?

A

URL ping test in Application Insights

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What command would you run to get all requests for /Home/Index that succeeded?

A

AppRequests
| where ResultCode ==

200

| where Name ==
GET Home/Index
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What command would you use to get the latest 10 events from records call SecurityEvent?

A

SecurityEvent

| top 10 by TimeGenerated

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How would you find SecurityEvents that are Level 10 or greater and happened within the last 30 minutes?

A

SecurityEvent
| where TimeGenerated > ago(30m)
| where toint(Level) >= 10

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How would find the average of the CounterValue for results Perf that were generated within the last hour, for each computer?

A

Perf
| where TimeGenerated > ago(1h)
| summarize avg(CounterValue) by Computer, CounterName

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How would you find the average memory (Available MBytes) of the Computer ContosoAzADDS2 by hour over the last 7 days?

A

Perf
| where TimeGenerated > ago(7d)
| where Computer == “ContosoAzADDS2”
| where CounterName == “Available MBytes”
| summarize avg(CounterValue) by bin(TimeGenerated, 1h)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What method call do you need to make to the services to enable Application Insights?

A

services.AddApplicationInsightsTelemetry();

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What would you use to figure out how many users came back after some changes were implemented?

A

Retention

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a session in App Insights?

A

A session is a period of activity by a user, terminated by a period of inactivity of more than half an hour

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the use for funnel?

A

Finding how many users follow a path. E.g. Looking at ticket info, and then closing the ticket

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What use does impact have in analytics?

A

Determine how load times and other properties affect product sales. E.g. what property effects clicking which button

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What should you use rentention for?

A

Which events influnce users to return to your website

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How should you send telemetry from a WebApp?

A

Add the app insights javascript to your webpage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly