Monitor and maintain azure resources Flashcards
How much of the exam is dedicated to Monitoring and Maintaining Azure Resources?
10% to 15%
What is azure monitor?
It’s an azure service to Monitor the resources using a centralised dashboard across all its associated services.
Can Azure monitor monitor non-azure resources?
Yes, if the appropriate agent application are running on the non azure host.
What is application insights?
Used to extract the metrics and diagnostics from apps and services in order to put it into a workspace where it can be accessed by azure monitor
What services can Azure Monitor monitor?
- Apps
- VMs
- Storage accounts
- Kubernetes containers
- Networks
- Azure Cosmos DB
- Key vaults
- Azure cache for redis
- Azure data explorer clusters
- Log analytics workspaces
- Azure stack HCI
- Service bus
- Insights hub
Where can you view your network topology in Azure monitor?
What are the two main types of data that Azure monitor deals with?
- Performance and health data
- Diagnostic logs
How to add diagnostic logs to Azure monitor?
All supported services have a diagnostic settings link in the blade menu where diagnostic logs can be enabled by clicking Send to Log analytics data.
Then from Azure monitor you can see in the diagnostic settings link in the blade menu all the resources in the account filter and whether they are enabled or not.
How can you update a VM with the Azure monitor agent?
From azure monitor, click on virtual machines in the blade menu and you will see the VMs in your account. If they do not have the necessary agent installed, there will be a note saying ‘Upgrade available’ which you can click to install the agent.
How can you start monitoring a metric of a particular resource in Azure monitor?
Go to azure monitor and click the metrics link in the blade menu. From here you can add a new metric and in doing o you will need to filter the resources by subscription and type until you find the target resource and select it. Then you can choose what type of metric you want to monitor (these may change between resource types). For example request count or CPU count. You also need to choose the method of aggregation like monitoring the max, min, sum or count of events. Once the metric is set up you see the graph which you can then change the time scope of to have the appropriate period of time for its time window.
How can you view tracked metrics as logs?
In Azure monitor go to the logs link in the blade menu find the metrics logs table
What is the simplest kusto query ?
Simply put the name of the table which has been created to hold the log events. Remember that there is some lag between the event and its being available to query is Azure monitor. The lag is in the region of 30m.
How can you use Microsoft prebuilt kusto queries?
In the Kusto query developer interface, there are 3 tabs in the blade menu, Tables, Queries and Functions. The queries tab has a large number of interesting kusto queries for each resource type which may save you a lot of time or speed up development of your own custom query by offering a starting point which you can modify as opposed to writing the whole thing from scratch.
What is the difference between an Azure Application Gateway and an Azure Virtual Network gateway?
Azure Application Gateway and Azure Virtual Network Gateway are two different services in Azure, each serving distinct purposes:
1. Azure Application Gateway: This is a web traffic load balancer that enables you to manage traffic to your web applications. It operates at the application layer (Layer 7 of the OSI model) and provides capabilities like URL-based routing, SSL termination, cookie-based session affinity, and Web Application Firewall (WAF) protection. It’s typically used to optimize and control the delivery of web application traffic.
Azure Virtual Network Gateway: This is a specific type of virtual network gateway that is a VPN (Virtual Private Network) gateway. It operates at the network layer (Layer 3 of the OSI model). A virtual network gateway is used to send encrypted traffic between an Azure virtual network and an on-premises location over the public Internet. It can also send encrypted traffic between Azure virtual networks. It’s typically used for creating secure cross-premises and virtual network-to-virtual network connections.
In summary, Application Gateway is more for managing web application traffic, while Virtual Network Gateway is for establishing secure, encrypted connections