Azure 70-533: Monitoring Web Apps Resources
Web apps can cause many errors and consume resources. Sometimes, users might request web pages that don’t exist. In these cases, an error might be displayed.
Your business can be affected by performance issues in your cloud application. Degradations can occur at any time due to multiple interconnected components and frequent release. When you develop an app, users often discover problems that you didn’t notice in testing. These issues should be known immediately and you should have tools to diagnose and fix them.
This article will discuss the topic of “Configure Diagnostics, Monitoring, and Analytics” knowledge as it is highlighted in the Microsoft Azure Infrastructure exam.
Candidates who are eligible for this exam must:
Who has experience in implementing infrastructure solutions in Microsoft Azure?
Candidates have worked with hybrid and cloud solutions.
Supporting the management of the application lifecycle
The Azure certification exam 70-533 covers topics such as designing and implementing Azure App Service apps, creating and managing Azure Resource Manager Virtual Machines, designing and implementing a storage policy; implementing an Azure Active Directory; implementing virtual network; and designing and deploying ARM template designs. You will benefit from hands-on experience.
Section Knowledge MeasuredDesign, implement and maintain Azure App Service apps (15-20%). Deploy web apps
Configure web apps
Configure monitoring, diagnostics, and analytics
Configure web apps for scale and resilience
Create and manage Azure Resource Manager Virtual Machines (20-25%). Deploy workloads using Azure Resource Manager (ARM), virtual machines (VMs).
Configuration management
Implement VM storage design and implementation
Monitor ARM Virtual Machines
Monitor ARM VM availability
Scale ARM VMs
Implement Azure storage blobs or Azure files.
Manage access
Configure monitoring, diagnostics, and analytics
Implement Azure SQL Databases
Recover your data
Implement an Azure Active Directory (15-20%)
Configure Application Access
Integrate an App with Azure AD
Implement Azure AD B2C and Azure B2B
Implement virtual networks (10-15%) Configure virtual networks
Modify the network configuration
Construct and implement a multi-site network or hybrid network
Design and deploy ARM templates (10-15%)
Control access
Role-based access control (RBAC), can be designed
Table 1 Domains covered by the 70-533 Azure Infrastructure Solutions Examination
Microsoft Azure provides a variety of tools to help you identify these issues. It also allows you to take full control over your Web App’s behavior with several diagnostic logs and tools. You will need to learn how to set up logging for your web application and how to view and analyse the log data.
For performance profiling purposes, you should monitor your WebApps. You need information about the behavior of your web app to diagnose and improve its performance.
Enabling Diagnostics Logs
Azure offers built-in diagnostics that can be used to help you debug an App Service web application.
App Service web apps allow you to log information from the web server as well as the web application. These can be separated logically into web server diagnostics or application diagnostics.
Type Log Class DescriptionWeb server diagnosticsDetailed error loggingDetailed information about HTTP status codes that indicate failure (status code 400 and greater). This may include information that can be used to determine why the server returned an error code. Failed Request TracingDetailed information about failed requests. This includes information that can help you determine the root cause of the error code. Application diagnosticsApplication logApplication diagnostics allows you to capture information produced by a web application.ASP.NET applications can use the System.Diagnostics.Trace class to log information to the application diagnostics log. This allows you to retrieve logs for troubleshooting at runtime. Table 1. Table 1.
App Service web apps log deployment information when you publish content on a Web App. It happens automatically and there is no need to configure deployment logging.
You can use deployment logging to find out why a deployment failed, and why the script or program is failing.
To enable diagnostics in Azure Portal, click Settings > Diagnostics logs on the blade for your web application. Diagnostics can