Monitor and Troubleshoot Azure Solutions Flashcards

1
Q

What is Azure Monitor?

A

A comprehensive solution for collecting, analyzing, and acting on telemetry from cloud and on-premises environments.

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

What data does Azure Monitor Collect?

A
  • Application monitoring data - performance and functionality of code
  • Guest OS monitoring data - Data about the operating system that is running
  • Azure resource monitoring data - Operation of the Azure resource you’re running
  • Azure subscription monitoring data - Data about the operation and management of an Azure subscription
  • Azure tenant monitoring data - Information about the tenant-level services such as Azure active directory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What type of data does Azure monitor collect?

A

Metrics - numerical values that describe a system

Logs - written out logs from applications.

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

What is Application Insights?

A

A feature of Azure monitor - is an extensible application performance management (APM)

Monitors the live applications

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

What does application insight monitor?

A
  • Requests rates, response times, and failure rates
  • Dependency rates
  • Exceptions
  • Page views and load performance
  • AJAX calls
  • User and session counts
  • Network usage
  • Custom events and metrics
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How does application insights work with log-based metrics?

A

It translates it from Kusto queries from stored events.

There are also standard metrics that are stored as pre-aggregated time series.

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

What is auto-instrumentation?

A

Auto-instrumentation allows you to enable application monitoring with application insights without changing your code.

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

What is an availability test? How can you select one?

A

An availability test tests how well your application is staying alive.

There are three types:

  • URL ping test
  • Standard test - simple request with SSL certificate validity
  • Custom TrackAvailability Test
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Azure cache for Redis?

A

It is based on the redis software, and offers caching via in-memory. It improves the performance and scalability of an application.

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

What are some of the scenarios you’ll see with Redis Caching?

A
  • Data cache - not loading all of the data from a database into the cache, instead create a cache-aside pattern to load data into the cache as needed.
  • Content cache - If you have static content such as headers, footers, banners, you can cache to provide quick access to them.
  • Session store - Common with things like shopping carts and other user history data that might associate with cookies.
  • Job and message queuing - Applications often add tasks to a queue when the operations associated with the request take time to execute.
  • Distributed transactions - Executing a series of commands against a backend data-store as a single atomic operation.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the tiers of Azure Cache for Redis?

A

Basic - an OSS redis cache running on a single VM with no SLA
Standard - An OSS redis cache running on two VMs in replicated configuration
Premium - High performance OSS. Deploys more VMs
Enterprise - High-performance using Redis Labs’s, high availability
Enterprise Flash - Cost-effective large cache that uses non-volatile memory. Reduces costs a little.

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

What are the sizing differences between Basic, Standard, and Premium tiers for Redis Cache?

A
  • Basic - 53GB - 20,000 Connections - No SLA - Single server
  • Standard - 53GB - 20,000 Connections - SLA - Two Servers
  • Premium - 530GB - 40,000 Connections - SLA - Scale-out cache support
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How can you access the redis instance?

A

There is command-line tools with things like ping, set, get, exists, type, etc.

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

What is the popular client for .NET for redis? What are some common commands in it?

A

StackExchange.Redis

Use a host address, port number, and access key to connect.

Configuring connection string is then done with a ConnectionMultiplexer

CreateBatch
CreateTransaction
KeyDelete
etc.

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

What is Azure Content Delivery Network?

A

A distributed network of servers that can efficiently deliver web content to users. CDNs’ store cached content on edge servers in point-of-presence (POP) locations.

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

What is the default TTL for resources on POPs?

A
  • Generalized web delivery optimizations - 7 days
  • Large file optimizations - 1 day
  • Media streaming optimizations - 1 year
17
Q

How do you configure a CDN?

A

You need a CDN profile, which is a collection of CDN endpoints. Every CDN endpoint represents a specific configuration of content deliver behavior.

18
Q

What are the four products in Azure CDN?

A
  • Azure CDN Standard from Microsoft
  • Azure CDN Standard from Akamai
  • Azure CDN Standard from Verizon
  • Azure CDN Premium from verizon
19
Q

How can you control CDN caching behavior?

A

Through:

  • Caching rules - applied either global or custom
  • Query string caching - Enables you to configure how Azure CDN responds to a query string. Could be ignore, bypass, cache every unique url