Monitoring and Logging Flashcards

1
Q

What is Azure Monitor?

A

Azure Monitor aggregates and correlates data across multiple Azure subscriptions and tenants, in addition to hosting data for other services. Because this data is stored together, it can be correlated and analyzed using a common set of tools.

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

What is the structure of Azure Monitor in regards to services provided?
Give some examples of each service provided

A
  • Insights (Apps, containers, VM, Monitoring solutions)
  • Visualization (Dashboards, Views, Power BI, Webhooks)
  • Analyze (Metric analysis, log analytics)
  • Response (alerts and autoscale)
  • Integration (Logic Apps, Export APIs)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Two fundelmental types of data used by Azure Monitor

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

Kinds of data collected

A
  • Data from applications (performance and functionality)
  • Data about the OS
  • Data about the operation of an Azure Resourse
  • Operation of Active Directory at the tenant level
  • Azure Monitor can also collection data through an API from resource on-premises
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Application Insights?

A

Application Insights is an extensible application performance management (APM) service for developers and DevOps professionals.

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

What are the capabilities of Application Insights?

A
  • Check performance of server machines like CPU and memory usages
  • Detect thrown exceptions in the application source code
  • Add custom events and metrics in the client or server code, to track business events
  • Collect request rates, response times, and failure rates
  • Collection page views and load performance reported by user’s browser

Also supports Mobile and Desktop Apps Support (App Center Diagnostics)

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

How do I see telemetry from my applications?

A
  • Smart detection (automatically warns yoy of potentional performance problems and failures)
  • Application Map
  • Live Metrics
  • Failures
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are some monitoring availability tools

A
  • Web Test (URL Ping test, Custom Track Availabilty Test, and Multi-step web test)
  • Alerts and Action Groups

An Action Group contains the following properties: Type (notification or action performed), Name (name of group) , Action (email, webhook)

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

Transient Fault Challenges

What are the challenges for transient faults?

A
  • Application must detect the fault
  • Application must retry the operation
  • Application MUST use the approperiate retry policy including the number of retries
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Transiet Fault Challenges

What retry policies are there?

Polly, an open-source library

A

** Retry Policy**
* Send the request again after a specific time
* Wait before sending next request
* Configure retry times and intervals

Circuit Breaker
* Service is unavailable and cannot respond to a request
* Avoid sending request for some time
* When the circuit is opened, no request is end until it is closed again

Timeout
* Set a timeout for waiting for response
* If timeout reached, send a cancellation token and release resources
* Do not use in conjunction with retry policy

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