Soru

Zorluk: OrtaAzure Monitor and Log Analytics

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.)

  1. Application InsightsCevap
  2. Log Analytics workspacesCevap
  3. C
    Azure Service Health
  4. D
    Azure Policy
  5. E
    Azure Resource Locks

Cevap

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).

Adım Adım Çözüm

1
Analyze the first requirement: Monitoring application code performance, usage patterns, and exception logs.
This requires an Application Performance Monitoring (APM) tool. In Azure Monitor, this feature is Application Insights.
Application Insights is designed specifically to instrument application code, trace requests, detect anomalies, and log runtime exceptions.
2
Analyze the second requirement: Aggregating operating system event logs from multiple VMs into a central location and performing custom queries.
This requires a centralized log store that supports querying. In Azure Monitor, this is a Log Analytics workspace.
Log Analytics workspaces collect and store log data from various sources (including VM diagnostic agents) and support Kusto Query Language (KQL) for querying and analyzing that data.

Anahtar Kavram

Azure Monitor features and their specific use cases
Bu soruyu puanla