Increase Logging Level for Azure Web App | Exam AZ-400 Solution

Increase Logging Level for Azure Web App

Question

You manage an Azure web app that supports an e-commerce website.

You need to increase the logging level when the web app exceeds normal usage patterns. The solution must minimize administrative overhead.

Which two resources should you include in the solution? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

AB

B: Metric Alert with Dynamic Thresholds detection leverages advanced machine learning (ML) to learn metrics' historical behavior, identify patterns and anomalies that indicate possible service issues. It provides support of both a simple UI and operations at scale by allowing users to configure alert rules through the Azure

Resource Manager API, in a fully automated manner.

A: You can use Azure Monitor to monitor base-level metrics and logs for most services in Azure. You can call Azure Automation runbooks by using action groups or by using classic alerts to automate tasks based on alerts.

https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-dynamic-thresholds https://docs.microsoft.com/en-us/azure/automation/automation-create-alert-triggered-runbook

To increase the logging level when the Azure web app exceeds normal usage patterns, you can use Azure Monitor to monitor the performance of the web app and take appropriate action when usage patterns exceed normal levels.

Azure Monitor is a service that allows you to monitor the performance and health of your Azure resources. It can be used to collect and analyze telemetry data from different sources, such as logs, metrics, and traces, and to set up alerts and actions based on that data.

There are several resources that you can include in the solution to increase the logging level when the web app exceeds normal usage patterns:

  1. Azure Monitor alert that has a dynamic threshold (worth one point): A dynamic threshold alert is based on machine learning algorithms that learn the normal behavior of the web app over time and dynamically adjust the threshold for triggering the alert based on that behavior. When the usage patterns exceed the normal level, the alert is triggered, and you can configure it to take an action, such as increasing the logging level. This approach minimizes administrative overhead because it does not require manual threshold adjustment and can adapt to changes in the web app's usage patterns.

  2. Azure Monitor alert that uses an action group that has an email action (worth one point): An Azure Monitor alert can be configured to send an email notification to a designated recipient or group of recipients when it is triggered. You can create an action group that includes the email action and associate it with the alert. When the alert is triggered, an email notification is sent to the designated recipients, informing them of the issue and providing details about the alert. This approach allows you to quickly respond to the issue and increase the logging level manually, if necessary.

Therefore, the correct answers to this question are B and E - an Azure Monitor alert that has a dynamic threshold and an Azure Monitor alert that uses an action group that has an email action.