Azure Monitor Flashcards

1
Q

What types of data do we collect with Azure monitor?

A
  • Audit logs
  • Service health
  • Metrics
  • Duagnostic extensions
  • App insights
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the two main data types collected by Azure Monitor?

A
  • Metrics

- Logs

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

How often is the Metric data collected?

A

Every one min

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

How long is Metric data stored for?

A

93 days

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

When we view metrics in Azure Monitor what are we using?

A

Metric explorer

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

What are the types of diagnostic logs we can have?

A
  • Tennant logs: Logs outside subscription, like AD
  • Resource logs: Logs emitted by the resources
  • OS: Logs from the VM OS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What options do we have to send diagnostic logs to other services?

A

You cna send Azure Logs to,

  • Storage account
  • Log Analytics
  • Event hub
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

I have a VM and i want to get diagnostic information form it, how can I configure this?

A

Diagnostic info is not availablke direct in the portal,

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

What are activity logs?

A

Detail information on PUT, POST, DELETE operations in Azure, but not GET operations on respirces in Azure

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

What are the sources for activity logs?

A
  • Administratoive: Create , update., delete actions through Resource Manager
  • Sservice Health: Incident related to Azure Services
  • Resource Health: Events related to resource health
  • Alert: A record of any azure alert
  • Security: Alerts generated in security center
  • Policy: Reserved
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

I need to take an action in response to a performance metric in Azure Monitor, how can I do this?

A

Use Azure Monitor Alerts.

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

How can I get notified when CPU % is over 80%?

A

Use Azure Monitor Alerts and set up a alert with a action group and use notifications to send alerts.

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

When using Azure Monitor Alerts what are the action you can take?

A
  • Azure Functions
  • ITSM
  • Automation Runbook
  • Logic apps
  • Webhook
  • Push
  • SMS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Is there rate limiting on SMS, Voice and Email?

A

Yes,

  • 1 SMS every 5 min
  • Voice: 1 voice call every 5 min
  • Email: 100 per hour
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

When an el;ert is generated, is there other things I can do with the alert?

A

Yes,

  • Look at th hiostory
  • Change it state to say agknowelledge
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What do I need to be able to use Log analytics?

A

You need a workspece, this is a type of storage for the log data.

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

What dose log analytics give you?

A

It give you the ability to receive log information for many sources and run queries over the data.

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

In what region is log analytics workspce stored?

A

The WS is stored in the region you define, this is where the data is also stored.

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

What reasons would i have to have multipal work spaces used in an subscription?

A
  • Data in the WS is stored in a region, you would have to pay to have this data shipped across Azure regions, paying for data out.
  • You many have data soverennty issues, requiring data to stay ina region.
  • Seperation by department, security, gov reasons.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

When I create a workspace, what do I next need ot eadd to get my data flowing?

A

You have to configure the data soulces,

  • VM
  • Storage accounts
  • Activity logs
  • Azure resources
  • Scoped config
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What are the available destination for Diagnostic settings?

A

Log analytics workspace
Storage
Event hub

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

Can I have multiple diagnostic settings?

A

Yes 100%, you can decide to send to different destinations and you may decide on different data to send.

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

I need to understand who turned off VM at 1pm today, how can I look at these type of audit logs?

A

You can use the activity logs, activity logs capture the resource manger API activity.

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

What is Activity Logs recording?

A

It is recording the PUT, POST, Delete REST API (Write actions)requests.

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

How long is the Activity Logs stored?

A

90 days

26
Q

How do I view activity for the subscription?

A

Go into the subscription and view the activity logs

27
Q

I would like to send my subscription logs to storage, how can I do this?

A

In subscription you can use diagnostic setting and select the storage destination.

28
Q

I would like to send my subscription logs to log analytics, how can I do this?

A

In subscription you can use diagnostic setting and select the log analytics destination.

29
Q

Are activity logs automatically sent to log analytics by default?

A

No, you have to configure them

30
Q

I want to audit the tenant, how can i do this?

A

You can go into azure AD and into activity logs and see the tenant information. You can also send these logs to event hug, storage or azure log analytics.

31
Q

We have a VM the we want to be alerted when CPU goes over 80%, how can we do this?

A

We can set use Monitor and alerts and set an actions group to send notification.

32
Q

What action can i do with an action group?

A
  • Email
  • SMS
  • Voice
  • Logic app
  • Functions
  • HTTP REST (Web hook)
  • ITSM (ITSM connection)
  • Automation runbook
33
Q

What is azure status?

A

This is the global view of the service status

34
Q

I had an issue with Azure service at 1pm today, how can i see what may be wrong?

A

You can look at the service health, locate under Azure monitor, this gives you a view of the health of the azure services.

35
Q

I want to get alerted with there are service health issues, what options do i have?

A

Service health has alerts and can use alert groups

36
Q

What information do we get under service health?

A
  • Service issues (Current service issues)
  • Planned maintance (Upcomming maintance)
  • Health advisories (Is there are things you may need to do)
  • Security advisories
  • Health history (History of services issues)
  • Resource health
  • Health alerts
37
Q

What information do we get under service health?

A
  • Service issues (Current service issues)
  • Planned maintance (Upcoming maintance)
  • Health advisories (Is there are things you may need to do)
  • Security advisories
  • Health history (History of services issues)
  • Resource health
  • Health alerts
38
Q

With is the difference between Azure status and Azure Health?

A

Azure status is public visible and shao the status of the regions with in Azure. Azure health is a personalized view of the services in the regions you use?

39
Q

I want to get the health info for a resource, what options do I have?

A

You can this info from the Azure resource health

40
Q

What is an Azure Log Analytics workspace?

A

Central repository for storing log and metric data

41
Q

What is a Log analytics data source?

A
  • Tenant
  • Subscriptions
  • Resource
  • Operating system
42
Q

Is it possible to to collect logs from VM outside Azure and if possible how?

A

Yes you can use the log analytics agent and it wills end logs to Azure.

43
Q

I want to better understand the dependencies on my VM and create MAP, how can i do this.

A

Install the Microsoft dependency agent on the VM

44
Q

I want deeper metric info from the VM, how can I get this info?

A

Install the diagnostic agent on the VM.

45
Q

I need to quickly see performance data for my storage account, i what it to be a dashboard view and i do not want to build a workbook, what options do i have?

A

You can use Azure insights, it has prebuild dashboard you can use

46
Q

I need to quickly see performance data for my VM’s, i what it to be a dashboard view and i do not want to build a workbook, what options do i have?

A

You can use Azure insights, it has prebuild dashboard you can use

47
Q

I need to quickly see performance data for my Networks, i what it to be a dashboard view and i do not want to build a workbook, what options do i have?

A

You can use Azure insights, it has prebuild dashboard you can use

48
Q

I need to quickly see performance data for my containers, i what it to be a dashboard view and i do not want to build a workbook, what options do i have?

A

You can use Azure insights, it has prebuild dashboard you can use

49
Q

I need to quickly see performance data for my Key Vault, i what it to be a dashboard view and i do not want to build a workbook, what options do i have?

A

You can use Azure insights, it has prebuild dashboard you can use

50
Q

I need to quickly see performance data for my cosmosDB, i what it to be a dashboard view and i do not want to build a workbook, what options do i have?

A

You can use Azure insights, it has prebuild dashboard you can use

51
Q

I have a n application wrote in NodeJS and I would like to get deeper view of the performance data in the application, what options do I have?

A

You can use Application insights

52
Q

What is application insights?

A

It enables you to see telemeter data from your application?

53
Q

How can I get app insights working?

A

You use a package with you application or you can use an agent, telemetry data is collected form your application and sent to Azure.

54
Q

I would like to see abnormal activity in my application from a performance perspective, what options do i have?

A

Smart detection and manual alerts
- Set up automatic alerts that adapt to your app’s normal patterns of telemetry and trigger when there’s something outside the usual pattern. You can also set alerts on particular levels of custom or standard metrics.

55
Q

I would like to be able to see the components in my application, what options do i have?

A

Application map

Explore the components of your app, with key metrics and alerts.

56
Q

I would like to be able to profile my application, what options do i have?

A

Profiler

- Inspect the execution profiles of sampled requests.

57
Q

I would like to be able to analyze my usage, what options do i have?

A

Usage analysis

- Analyze user segmentation and retention.

58
Q

Has app insights got an rest API?

A

Yes, like other azure services.

59
Q

I want to be able to debug a snapshot from live operations, what options do I have?

A

Snapshot debugger

- Debug snapshots sampled from live operations, with parameter values.

60
Q

What is Azure Monitor for VM’s?

A

It app insights and it is the VM capabilities of app insights.

61
Q

I want to do packet capture on my Azure network?

A

You can set up and use Azure network monitor?

62
Q

What are the areas of app insights it covers?

A
  • App insights
  • Network insights
  • VM insights
  • Storage insights
  • Container insights
  • Key vault insights
  • CosmosDB
  • Redis cache