Monitor, troubleshoot, optimize Azure solutions Flashcards

1
Q

What are the Azure Cache for Redis service tiers?

A

Basic, Standard, Premium, Enterprise, Enterprise Flash

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

What are the key scenarious Azure Cache for Redis covers?

A
  1. Data cache
  2. Content cache
  3. Session store
  4. Job and message queuing
  5. Distributes transactions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the key parameters for creating an Azure Cache for Redis instance?

A
  1. Name: globally unique name in Azure.
  2. Location: place your cache instance and app in the same region
  3. Cache type: The tier determines the size, performance and features available for the cache.
  4. Clustering support: Premium, Enterprise and Enterprise Flash tiers can implement clustering to auto split your dataset among multi nodes.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What’s Azure Cache for Redis?

A

It provides an in-memory data store based on the Redis software. Redis improves the performance and scalability of an app that uses backend data stores heavily.
Redis brings a critical low-latency and high-throughput data storage solutions to modern apps.

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

What’s the basic tier for Azure Cache for Redis?

A

An Redis open-source (OSS Redis) cache running on a single VM. Has no service-level agreement (SLA).
Ideal for development/test and noncritical workload.

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

What’s the standard tier for Azure Cache for Redis?

A

an OSS Redis cache running on two VMs in a replicated configuration

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

What’s the Premium tier for Azure Cache for Redis?

A

High-performance OSS Redis caches. Offer higher throughput, lower latency, better availability, and more features.
Deployed on more powerful VMs compared to Basic and Standard caches.

Capable of hosting replica nodes in different availability zones.

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

What’s the Enterprise tier for Azure Cache for Redis?

A

High performance caches powered by Redis Labs’Redis Enterprise software. Support Redis modules including RediSearch, RedisBloom and RedisTimeSeries.
Offer higher availability than Premium tier.

Capable of hosting replica nodes in different availability zones.

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

What’s the Enterprise Flash tier for Azure Cache for Redis?

A

Cost-effective large caches powered by Redis Lab’s Redis Enterprise software.
Extends Redis data storage to nonvolatile memory, which is cheaper than DRAM on a VM. It reduces the overall per GB memory cost.

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

What’s the expire time resolution when applying a time to live (TTL) to a key in Redis?

A

1 millisecond

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

How does the Azure Content Delivery Network works?

A
  1. A user (Alice) requests a file (also called an asset) by using a URL with a special domain name, such as <endpoint>.azureedge.net. This name can be an endpoint hostname or a custom domain. The DNS routes the request to the best performing POP location, which is usually the POP that is geographically closest to the user.</endpoint>
  2. If no edge servers in the POP have the file in their cache, the POP requests the file from the origin server. The origin server can be an Azure Web App, Azure Cloud Service, Azure Storage account, or any publicly accessible web server.
  3. The origin server returns the file to an edge server in the POP.
  4. An edge server in the POP caches the file and returns the file to the original requestor (Alice). The file remains cached on the edge server in the POP until the time-to-live (TTL) specified by its HTTP headers expires. If the origin server didn’t specify a TTL, the default TTL is seven days.
  5. Additional users can then request the same file by using the same URL that Alice used, and can also be directed to the same POP.
  6. If the TTL for the file hasn’t expired, the POP edge server returns the file directly from the cache. This process results in a faster, more responsive user experience.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What’s a content delivery network (CDN)?

A

a distributed network of servers that can efficiently deliver web content to users.

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

What’s the default time-to-live (TTL) for large file optimizations?

A

One day

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

What’s the default time-to-live (TTL) for generalized web delivery optimizations?

A

One week

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

Which resources has subscription limitations that may impact your solution of using Azure Content Delivery Network?

A

the number of CDN profiles that can be created is limited by the type of Azure subscription.

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

What default limitations have each Azure subscription?

A
  1. No. of CDN profiles that can be created
  2. No of endpoints that can be created in a CDN profile
  3. No of custom domains that can be mapped to an endpoint.
17
Q

What are the key features of Azure CDN?

A
  1. Dynamic site acceleration
  2. CDN caching rules
  3. HTTPS custom domain support
  4. Azure diagnostic logs
  5. File compression
  6. Geo filtering
18
Q

What are the default time-to-live (TTL) for Azure CDN?

A
  1. Generalized web delivery optimizations: seven days
  2. Large file optimizations: one day
  3. Media streaming optimizations: one year
19
Q

What does Geo-filtyering allow you to do?

A

allow or block content in specific countries/regions based on the country/region code.

20
Q

What’s Application Insights?

A

an extension of Azure Monitor and provides Application Performance Monitoring (APM) features.

21
Q

What does Appliation Insights monitor?

A
  1. Request rates, response time and failure rates; find out which pages are most popular/perform best
  2. Dependency rates, response time and failure rates; find out whether external services are slowing you down
  3. Exceptions
  4. Page views and load performance
    (and more)
22
Q

What are the ways to start monitoring and analyzing app performance?

A
  1. At run time; ideal for apps already deployed. Avoid update to the code
  2. At development time; add Application Insights to your code. Allow customization of telemetry collection and send more telemetry.
  3. Instrument your web page for page view, AJAX, and other client side telemetry
  4. Analyze mobile app usage by integrating with Visual Studio App Center
  5. Availability tests; ping ur website regularly from our server.
23
Q

What can you do with Application Insights log-based metrics?

A
  1. Analyze the health of your monitored apps
  2. Create powerful dashboards
  3. Configure alerts
24
Q

What are the two kinds of metrics?

A
  1. Log-based metrics
  2. Standard metrics
25
Q

What’s different with standard and log-based metrics?

A

Standard metrics are pre-aggregated (collecting) during collection. Better perfomance at query time. Good for dashboarding and in real-time alerting.

Log-based metrics have more dimensions -> good for data analysis and ad-hoc diagnostics

26
Q

How many availability tests can you create in Application Insights?

A

up to 100 availability tests per Application Insights resource.

27
Q

What are the 3 types of availability tests?

A
  1. URL ping test (classic); validate whether an endpoint is responding and measure performance associated with that response. Can set custom success criteria coupled w/more advanced features (eg. parsing dependent reqs, allow retries)
  2. Standard test (preview); similar to URL ping test. Includes SSL certificate validity, proactive lifetime check, HTTP req verb (eg. GET, HEAD, POST), custom headers, custom data associated with ur HTTP req.
  3. Custom TrackAvailability test; For long term supported solution for multi req or authentication test scenarios.
28
Q

What can you use Application Map for?

A

It helps u spot performance bottlenecks or failure hotspots across all components of ur distributed app.
Each node on the map represents an app component or its dependencies (has health KPI and alert status)

29
Q

What are the API you can use from Application Insights API?

A
  1. TrackPageView: Used for pages, screens, forms
  2. TrackEvent: Used for user actions/other events. To track user behaviour or to monitor performance
  3. GetMetric: Used for zero/multidiminesional metrics, centrally configured aggregation, C# only.
  4. TrackMetric: Used for performance measurements such as queue lengths not related to specific events.
  5. TrackException: Used for logging exceptions for diagnosis. Trace where they occur in relation to other events and examine stack traces.
  6. TrackRequest: Used for logging the frequency and duration of server requests for performance analysis.
  7. TrackTrace: Use for resource diagnostic log messages. Can also capture third-party logs.
  8. TrackDependency: Used for logging the duration and frequency of calls to external cimponents that your app depends on.
30
Q

What does the Application Insights methid GetMetric handle?

A

local pre-aggregation and then only submits an aggregated summary metric at a fixed interval of one minute.

31
Q

What’s Azure Monitor?

A

helps you maximise the availability and performance of applications and services.

32
Q

Which tool can you use to do a multi-step availability test (Application Insights) ?

A

Visual Studio allow you to create multi-step tests.

33
Q

What authorization mechanism can be used for Application Insights?

A

instrumentation key, to upload telemetry from monitored apps to Application Insights