Monitor and Troubleshoot Azure Solutions Flashcards
What is Azure Monitor?
A comprehensive solution for collecting, analyzing, and acting on telemetry from cloud and on-premises environments.
What data does Azure Monitor Collect?
- 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
What type of data does Azure monitor collect?
Metrics - numerical values that describe a system
Logs - written out logs from applications.
What is Application Insights?
A feature of Azure monitor - is an extensible application performance management (APM)
Monitors the live applications
What does application insight monitor?
- 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 does application insights work with log-based metrics?
It translates it from Kusto queries from stored events.
There are also standard metrics that are stored as pre-aggregated time series.
What is auto-instrumentation?
Auto-instrumentation allows you to enable application monitoring with application insights without changing your code.
What is an availability test? How can you select one?
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
What is Azure cache for Redis?
It is based on the redis software, and offers caching via in-memory. It improves the performance and scalability of an application.
What are some of the scenarios you’ll see with Redis Caching?
- 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.
What are the tiers of Azure Cache for Redis?
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.
What are the sizing differences between Basic, Standard, and Premium tiers for Redis Cache?
- 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 can you access the redis instance?
There is command-line tools with things like ping, set, get, exists, type, etc.
What is the popular client for .NET for redis? What are some common commands in it?
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.
What is Azure Content Delivery Network?
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.