An organization is deploying a custom web application on Azure Virtual Machines. The cloud administration team needs to establish a monitoring solution that accomplishes the following goals:
1. Collect and analyze performance data, usage patterns, and exception logs directly from the web application's code.
2. Aggregate operating system event logs from all virtual machines into a central repository and perform custom search queries across this data.
Which two features of Azure Monitor must be configured to meet these requirements? (Select two.)
- Application InsightsAnswer
- Log Analytics workspacesAnswer
- CAzure Service Health
- DAzure Policy
- EAzure Resource Locks
Answer
Application Insights and Log Analytics workspaces
The correct options are Application Insights and Log Analytics workspaces. Application Insights provides application performance monitoring (APM) to track metrics, usage, and code-level exceptions. Log Analytics workspaces serve as the central repository where logs are aggregated and queried using Kusto Query Language (KQL).
Step-by-Step Solution
Key Concept
Azure Monitor features and their specific use cases